cancel
Showing results for 
Search instead for 
Did you mean: 

Posting attachment to Item Level via API

Damian06
Newcomer
0 Kudos
92

Good day,

We are looking to post .pdf attachments to the item level of a Purchase Requisition, currently we are using the "odata/SAP/API_CV_ATTACHMENT_SRV/AttachmentContentSet" API to perform the posting.

The issue we are experiencing, is that attachments are being posted to the header level.

Is there a method to post attachments to the item level?

 

Accepted Solutions (0)

Answers (1)

Answers (1)

IvyYu
Associate
Associate
0 Kudos

Hi customer,

 

Using API_CV_ATTACHMENT_SRV

• For attachment at Header Level:

Inthis case BusinessObjectTypeName is BUS2105

• For attachment at item level:

In this case BusinessObjectTypeName is EBAN , the purchase requisition number has to be concatenated with the item number, for example 123456780900010 (item number is 10 including 3 leading zeros).

Kindly refer this KBA 3278412 - Attachments API for Purchase Requisition Items