Hi Experts
- Currently we are facing a peculiar issue with file name generation in IDoc to file interface. IDoc is processing to PI and generating a file name with time stamp(processing mode is time stamp) and processing to the FTP server.
- Recently we have come across a peculiar issue with the file name. That is one of the file has been overwritten in the FTP server.
- After the analysis we found that, one more message id also generated the same file name(same time stamp) due to which the first file got over written.
- Now we understood that in PI if we have more than one cluster node, there is a possibility to generate the same time stamps for different executions.
- As time stamp is mandatory in target server point of view we can not change the processing mode from time stamp to message id.
- To achieve the same we have suggested the customer with dynamic file generation with a non repeatable counter(using global container).
We have gone through few existing posts and implemented the code(copied from below post). But counter is not repeating the value for the next execution based on the cache value.
Currently we are in PI 7.0 ehp2. We have some questions to get clarify....
- Will PI 7.0 supports global container concept? If yes why the code is not executing as expected?
- Our question is do we have any other ways to achieve this requirement by keeping time stamp as mandatory?
Note: Also we have suggested customer on concatenation of time stamp and message id. But customer is not agreeing such a big file name at all.
Url which contains the code(taken from correct answer): http://scn.sap.com/thread/1996355
Regards,
Anusha Penneru