I have a FILE to FILE scenario WITHOUT repository objects.
What I need to do is to add a time stamp at the end of the target file.
By default, the "Add timestamp" option in the file receiver communication channel makes the filename as *YYYYMMDD-HHMMSS-xxx
What I need to have is the date&time format as MMDDYY_HHMISS.
Are there any modules by default in SAP PI in which I can manipulate this stuff? Or is there other way to do this?
Thanks in advice!
AFAIK no module is available to handle the same..
only possible way is to use Dynamic configuration..which requires mapping object for execution..
if dont want to use mapping then need to look for custom module development..which requires lot of effort than mapping..
There is one posibility is that you add the time stamp in the message mapping in the parent level, with the function current Date and with one UDF with the function http://sap.com/xi/XI/System/File.
You need too that the FCC have activate in the Advanced adapter File Name.
And one FCC Dinamical apointing at your ERP with the flag take Sender form Payload.
Writing a OS level script would help in this case.
Write a script to move the files to the archive folder in the required format. Place the script in the OS file system.
For this, change the processing mode to Test and execute the script from the "Run Operating System Command After Message Processing" giving the absolute path of the script and the command line arguements.