cancel
Showing results for 
Search instead for 
Did you mean: 

Changing receiving file name timestamp format to DDMM

Former Member
0 Kudos

Dear All,

We are having requirement in which we are receiving encrypted file from 3rd party system with naming convention as ABC201305.001, now we have to transfer this file to our customer with naming convention as CUST2705.001 i.e. CUST<DDMM>. As we are not using any message mapping and not reading any contents of file, then how we can change the receiving file name with changed timestamp.

Also, after changing the filename, we want to save both filenames i.e. file name which we have received from 3rd party system and file name which we have sent to customer in a z-table in SAP.

Please guide as how we can do this.

NJ

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Refer below link for changing the file name in a file to file pass through scenario

Java mapping:

http://wiki.sdn.sap.com/wiki/display/XI/Dynamic+file+name+for+pass-through+scenario

Adapter module (one more alternative):

http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+file+name+in+a+File+to+File+pass+through+scena...

>>Also, after changing the file name, we want to save both file names i.e. file name which we have received from 3rd party system and file name which we have sent to customer in a z-table in SAP.

In order to achieve ur second requirement, add one more mapping (in ur first flow and check maintain order at runtime) which will determine source and target file name (java mapping will help u) then send the same to ur SAP system.

Thanks

Amit Srivastava