Hi All,
While using Attachment Service API_CV_ATTACHMENT_SRV, we can upload the pdf file from our local system and the documents are getting posted successfully.
I am trying to implement the same in BTP ABAP Environment using Side by Side Extension.
The communication arrangements are done between S4HANA On-Premise and BTP ABAP Environment.
But how do we pass the pdf file as raw content of binary format instead of uploading the file locally?
I have the data in Base64String format. How do we pass this data to this api?
Related blogs which is not answered yet.
https://answers.sap.com/questions/13884111/how-do-i-pass-the-raw-data-as-content-for-attachme-1.html
https://answers.sap.com/questions/13777704/how-do-i-pass-the-raw-data-as-content-for-attachme.html
I have created a service consumption model. The business data has a structure of ZATTACHMENTCONTENTSET and there is a field called Content. Passing the data in this field gives an error which is explained in this blog.
https://answers.sap.com/questions/13924106/attachment-service-api-cv-attachment-srv-does-not.html
Could anyone please suggest solution here?
Thanks,
Ahamed