cancel
Showing results for 
Search instead for 
Did you mean: 

File name with time stamp at the end..!

Former Member
0 Kudos

Hi Guys,

               I have the requirement to add time stamp at the end of the file name on the target directory.

But receiver adapter adding at the start. is there any way I can change it to add at the end.

Also what those 3 numbers after the date and time stamp..? is it a microseconds or something..?!

Thanks

Sam

Accepted Solutions (0)

Answers (4)

Answers (4)

zameerf
Contributor
0 Kudos

Hello,

->But receiver adapter adding at the start

The standard FTP adapter(Receiver) adds the time stamp at the end, when the Add Time Stamp option is set for File Construction Mode under Processing Parameters.

SAP help has the below point,

Add Time Stamp

A new file is created for each document. Each file is extended with a time stamp with the format yyyyMMdd-HHmmss-SSS. The time stamp is added as the last part of the name before the extension.

This mode guarantees that no file is overwritten. In this way, files that originate from the same adapter configuration can be sorted.

Please check if the file name is set dynamically in your case, so that time stamp is added at the start of file name.

-Zameer

santosh_k3
Active Participant
0 Kudos

Hi Sam,

I hope this link should solve your problem.

http://www.saptechnical.com/Tips/XI/ASMA/Index.htm

>>Also what those 3 numbers after the date and time stamp..?is it a microseconds or something..?!

It represents Milliseconds

yyyMMdd-hhMMss-SSS

SSS- Represents Milliseconds

Thanks

Sai

iaki_vila
Active Contributor
0 Kudos

Hi Sam,

Check this wiki http://wiki.sdn.sap.com/wiki/display/XI/XI+Date+Stamp+in+File+Name, it puts a date in the final of the file with variable substitution.

Regards.

Former Member
0 Kudos

Hi,

Please see http://help.sap.com/saphelp_nwpi71/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/content.htm

The point number 11 should give you the solution.

Thanks and Regards,

Atul.