This website is not affiliated with, sponsored by, or approved by SAP AG.

Add Time Stamp behined xml file name

All postings related to SAP XI

Moderators: Snowy, thx4allthefish

Add Time Stamp behined xml file name

Postby KAFFUNMAN » Mon Nov 15, 2010 3:08 am

Hi Experts,

My scenario is FTP -> RFC,
for some reason, I need to add time stamp behind the original file name to "Archive" file
while receiving xml.
Below are sender FTP adapter setting:
Under processing tab:
Processing mode chose ARCHIVE / Tick Add Time Stamp / Tick Archive File On File Server.
However, based on the setting, I always got file name like "20101115-100508-121-abc.xml"
instead of abc-20101115-100508-121.xml (abc.xml is incoming original file name)

Is there any way to solve this problem?
Thanks in advance~

KF
KAFFUNMAN
 
Posts: 7
Joined: Mon Nov 15, 2010 2:52 am

Re: Add Time Stamp behined xml file name

Postby Baz » Mon Nov 15, 2010 8:18 am

you will have to write an os command/script to run after processing.
Baz

AsPiRiNg tUlY iDiOt Image

http://www.catb.org/~esr/faqs/smart-questions.html

Image

check out my Podcasts http://dj-baz.podomatic.com
Baz
 
Posts: 4736
Joined: Fri Nov 08, 2002 5:54 am
Location: He's out there! somewhere!!!!


Return to SAP Process Integration (SAP PI/XI)

Who is online

Users browsing this forum: No registered users and 2 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.