Skip to Content
0

VA01 create sales order with variant configuration

Mar 11, 2017 at 01:41 PM

87

avatar image

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

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

1 Answer

Jelena Perfiljeva
Mar 13, 2017 at 05:07 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you sincerely!

0

Thank you sincerely!

0