on 01-08-2014 6:45 PM
Hello All,
My scenario is ABAP proxy to file and I need to archive the target file (post file content conversion). I'm trying with the custom adapter module to avoid extra receiver channel just for archival purpose. But the custom module is archiving only the xml payload not the actual fiat file sent to vendor FTP server. Any suggestions how to acheive this? Wondering how SAP is handling this in SAP PI SFTP adapter.
Payload pl = msg.getMainPayload();
byte[] inpbyt = pl.getContent();
FileOutputStream fos = new FileOutputStream(/usr/sap/..);
fos.write(inpbyt);
Thanks
Hello,
I guess u r using FCC? so instead of that use MTB module and after that use ur AM to archive that transformed file?
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
Also try using the Archive module. I think it works for any adapter not just B2B.
Regards,
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.