Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

VA01 create sales order with variant configuration

former_member397166
Participant
0 Kudos

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

3 REPLIES 3

Jelena
Active Contributor
0 Kudos

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.

0 Kudos

Thank you sincerely!

0 Kudos

Thank you sincerely!