Skip to Content
avatar image
-1
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jun 23, 2017 at 05:35 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 29, 2017 at 06:40 AM

    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)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 24, 2017 at 08:30 AM

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

    Add comment
    10|10000 characters needed characters exceeded