on 03-18-2019 9:01 AM
Hi all;
i have one question, abap proxy (binary file) to ftp server scenario.
i know how to upload binary file(pdf) by using abap proxy coding,
but i don't know how to extract binary file(pdf) data in order to put binary file to remote ftp server.
do you know how to mapping or ico configuration ?
thank you in advance
Benjamin
I think this another thread by you on same topic - please check the code I provided.
https://answers.sap.com/questions/12638162/base64-string-to-put-binary-file-into-ftp-server-u.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin,
Maybe the adapter module will lower the help, it does the encoding / decoding of files...https://blogs.sap.com/2015/03/25/formatconversionbean-one-bean-to-rule-them-all/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin!
You could use simple DT/MT for outbound message, containing, for example, target file name and any simple DT/MT for inbound message (since PayloadSwapBean is used). In message mapping you set Dynamic Configuration attribute for file name and use PayloadSwapBean in receiver adapter:
In receiver adapter's settings you should also enable using ASMA attributes.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin Kim,
Read the incoming attachment in SAP PI Java mapping into InputStream and at the same time use setAttachment() with the same binary payload to send it to the target.
Regards
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ! suru Fernando
please tell me how to configure in target DT , MT for using Base64 conversion to transfer binary file in receiver FTP adapter
Do you know how to make base64 in abap function and how to configure Target DT to transfer binary file in receiver FTP adapter?
Thanks
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Evgeniy Kolmakov
please tell me how to configure in target DT , MT for using PayloadSwapBean in receiver FTP adapter.
is there no mapping skill for using PayloadSwapBean?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
How many pdf files you are planning to send to the target FTP/SFTP in one message? please check this link -
https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=240189709
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
And I would use attachment in proxy outbound interface and PayloadSwapBean in receiver FTP/SFTP adapter.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
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.