on ‎2016 Nov 08 4:16 PM
Hi,
We have developed and ABAP client proxy that sends payload and a pdf document as attachment to the PI system. The pdf attachment is base64 encoded using the "cl_http_utility" class method. However, when the message end up in PI system, the HTTP header of the PDF attachment Content-Transfer-Encoding is coming as "binary" instead of "base64". Did anybody able to change this to base64 before sending to PI?
Thanks,
Vijay K
Request clarification before answering.
Vijay!
I've already seen similar questions before but I couldn't find the way to set "Content-Transfer-Encoding" HTTP header in PI.
I can just suggest to send attachment in binary format (without encoding to Base64) or extend your source message structure and put Base64 encoded string in payload instead of using attachment.
Maybe other respective members will assist.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The requirement from the partner is base64.
I understand this solution Evgeniy. However, this would require me to develop something in Java, may be an adapter module, which I do not want to add to the design due to the maintenance and support issues. Ultimately, if SAP could not help then that is my only fall back option.
If ABAP could set that for us, it would be seem-less all the way.
VJ
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.