Skip to Content
-1

How to update a customer material number in a sales order using bapi

Feb 17, 2017 at 03:59 PM

262

avatar image
Former Member

How to update a customer material number(vbap-kdmat) in a sales order using bapi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Jun 23, 2017 at 05:35 PM
0

What is the scenario?

There is a sales order with a customer-material number.

User has changed this piece of master data in VD52

Now you want this new customer-material number to overwrite the old one in the order. And this you want to do with a BAPI

Is this the scenario?

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Jun 29, 2017 at 06:40 AM
0

What do you want to know, the BAPI to change a sales order (BAPI_SALESORDER_CHANGE) the parameter to pass (ORDER_ITEM_IN[X], ITM_NUMBER and MATERIAL_CUSTOMER, you can itdentify it from data element attributes)

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 24, 2017 at 08:30 AM
0

Try to pass the customer material to ORDER_ITEM_IN-CUST_MAT35 and ABAP_TRUE to ORDER_ITEM_INX-CUST_MAT35.

Share
10 |10000 characters needed characters left characters exceeded