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

Which BAPI can update POD relevance on sales order creation

YJJ
Discoverer
0 Likes
1,021

Hello guys,I have a requirement about update POD relevance field when create sales order.

Which BAPI can be applied for this purpose?

Accepted Solutions (1)

Accepted Solutions (1)

CE6
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi YJJ,
Is there any reason why you want to use a BAPI and not one of the more modern APIs?
You could for example use the OData V2 API for Sales Orders to update the POD relevance field (SlsDocIsRlvtForProofOfDeliv).

best regards,
Christian

YJJ
Discoverer
0 Likes
Hi Christian, thanks for the reply. Seems feasible according to the document. But since I don’t have experience of using Odata, is that possible to invoke this API from ABAP code?
CE6
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi YJJ,
What S/4HANA Version do you have? We have different APIs for different channels.
The A2X service I mentioned in the first reply should be used, if you want to change the sales order from an external system.

You can find further information on when to use what API here. For internal purpose you should use the Business Object Interface I_SalesOrderTP to change Sales Orders. But as far as I can see, the field SlsDocIsRlvtForProofOfDeliv is only available on header level, but not on item level. This needs to be requested via feature request here for SAP S/4HANA Cloud Public Edition.

YJJ
Discoverer
0 Likes
Thank you so much for the solution!

Answers (0)