Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

position of timestamp in the filename

Hello All,

I have an IDoc to multiple files scenario, for which I am using 1:n mapping, and the files are getting generated correctly.

My requirement is to create a dynamic filename which has the timestamp at a specific position in the filename.

i.e.

X_Y_ID_<b>TIMESTAMP</b>_ID1.txt

The default behaviour when generating dynamic filename using the standard functionality is it writes / appends the timestamp at the end.

Is it possible to:

1. Put the timestamp at the position as mentioned in above example?

2. Change the format of the timestamp as per specific format requirements?

Appreciate your replies.

Thanks in advance.

-- amol

Former Member
Not what you were looking for? View more on this topic or Ask a question