cancel
Showing results for 
Search instead for 
Did you mean: 

Save source xml file in PI folder

Former Member
0 Kudos

Hi experts,

I have the following scenario:

A CC with File System Protocol picks a xml file from a PI folder. Then, the xml file is converted into an IDOC.

It works, but I would like to save the input xml file in a different PI folder. Can I do it with a batch file? Any idea?

Regards,

Javier

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you check the Processing tab of the sender file channel, choose the processing type as "Archive", specify the archive directory. You can add timestamp too to the file getting created in the specified folder.

regards

Unni

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

If you are using File adapter then you can use processing mode archive. Give the path where you want to archive the file with or without timestamp

Thanks

Gaurav

Former Member
0 Kudos

use the scripts that will copy before it is picked up...

check the Run Operating System Command Before/After Message Processing

http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm