cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GetOutputBinaryData from ABAP for Cloud class?

apederiva
Explorer
0 Likes
579

Hello,

is there a way to call PurchaseOrder GetOutputBinaryData API, https://api.sap.com/api/CE_PURCHASEORDER_0001/path/get_PurchaseOrder__PurchaseOrder__SAP__self_GetOu...  from ABAP for Cloud class?

The purpose of the class is to retrieve the purchase order PDF from an ABAP for cloud class, used in a application job.

It seems it is not possible using EML and it seems strange to me to call an "external" API to retrieve "internal" data. I also found a blog to call a custom Adobe Form but I have to pass the purchase order data to the form interface as well as already done by the API, so I don't like this solution.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

MioYasutake
SAP Champion
SAP Champion
0 Likes

@apederiva 

I've seen an example of calling an "external" API to retrieve "internal" data in the blog post below. 

https://community.sap.com/t5/technology-blogs-by-members/how-to-attach-documents-to-a-journal-entry-...

Calling an external API can be a viable option, if there is no comparable internal API .

apederiva
Explorer
0 Likes
Thank you for your answer. For sure I prefer this solution instead of call the ADOBE Form internally recalculating the input data, but I don't like too much neither this option. Because EML is capable to READ and WRITE data, I would suppose it should be able to call also a function like GetOutputBinaryData. Let's wait for other options else I will accept your solution

Answers (0)