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

Possibility to check if there is an attachment in a PO using I_PurchaseOrderAPI01 CDS

AIT-LAHCEN
Explorer

Accepted Solutions (1)

Accepted Solutions (1)

Eric_Yu1
Product and Topic Expert
Product and Topic Expert
Dear @AIT-LAHCEN, for now there is no standard delivered field can be used to get the status of a attachment. As a workaround you may added a custom field like 'File attached' to memo if an attached has been added, and the end-user need to set the value to ture maunully when uploading an attachment.
AIT-LAHCEN
Explorer
0 Likes
Thanks Eric !!

Answers (1)

Answers (1)

MariusSiegel
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear @AIT-LAHCEN,

you could also use API API_CV_ATTACHMENT_SRV for retrieving this information.

https://help.sap.com/docs/SAP_S4HANA_CLOUD/7489fa08cede494cbdf08fa3651598af/952ed96feb2a48d6b69a7658...

 

best regards,

Marius