Skip to Content

VA01 create sales order with variant configuration

Hi all,

I have a requirement to change the characteristic in VA01. I know that it can manitain the characteristic of parents material Z3-056 (See the picture ) by the BAPI BAPI_SALESORDER_CREATEFROMDAT2.But how to maintain the characteristic of component material MB06? MB06 is one characteristic value of parents material Z3-056.

Thanks

Kical

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 13, 2017 at 05:07 PM

    Yikes. I suspect you can't do this with the BAPI. It seems that VC data tables only refer to the item number, which would be VBAP, not components. In the transaction, I'm guessing some functionality runs to explode the components first and then they can be configured. With BAPI, you have to give all the info upfront but the components don't exist at that point yet. That's just my guess.

    Here is a similar old question, you can find many more in Google on usage of this BAPI with VC. There is already a note somewhere saying that BAPIs don't work the same way as transaction, so you might be out of luck.

    Add comment
    10|10000 characters needed characters exceeded