cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

raymond_giuseppi
Active Contributor
0 Kudos

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)

former_member182378
Active Contributor
0 Kudos

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?