Skip to Content
0
Former Member
Sep 27, 2013 at 02:53 AM

AS2 sender File Archiving

89 Views

Hi SDNers

I am working on AS2(Seeburger)->SAP PI 7.31->File Scenario. This is a scenario where vendor is sending text files via AS2 to us. No EDI, No Mapping at all. We need to archive all the files sent to us in archive folders. As you might know AS2 sender adapter does not have inbuilt archive options.

After reading through PI forums, I came to that we can archive with CreateFiles or FileStore modules. But we dont have these modules installed. Seeburger also gives another module named PayloadDump Module. I am using module as below.

When I give targetFile = /usr/sap/data/Inbound/archive/BackupFile.txt then a file with name "BackupFile.txt" is being created in the archive folder

But in my scenario, vendor sends multiple files and I want to create corresponding back up file. To achieve this I am doing the following

targetFile = /usr/sap/data/Inbound/archive/@http://sap.com/xi/XI/System/File/FileName

But its creating multiple folders inside archive folder for each '/' and creating a file with name "FileName"

I did try many version of passing dynamic file name but no luck

Has any one come across this situation. If so, please provide some insight.

Attachments

pastedImage_3.png (27.8 kB)