Application Development and Automation 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: 
Read only

Variant Configurator / BAPI Create

Former Member
0 Likes
351

We’re building a web interface to our R/3 Variant Configurator. Our product is complex and requires us to create Inquiries with nested configurable materials. We’re having a couple of issues and I’m hoping someone might be able to point us in the right direction. A couple of questions …

1) As mentioned we have nested configurable materials. We satisfy the first level characteristics by passing cfg_ref_in with the POSEX of the first level item (00010). Based on these characteristic/values further configurable materials maybe exploded on the order and we won’t know their position. We also have characteristics for those nested materials however we don’t know their POSEX in the document – so it doesn’t appear we’re able to pass their characteristics during the create process. In the case of nested configurable materials where you’re uncertain of their POSEX is it a two pass operation? Meaning configure the first material (00010) , let it explode, then save, then update the document and pass the nested material characteristics?

Please tell me I’m missing something and there is an easier way.

2) We’re using SD_SALESDOCUMENT_CREATE we also see BAPI_INQUIRY_CREATEFROMDATA2. What is the difference? BAPI_INQUIRY_CREATEFROMDATA2 appears to call SD_SALESDOCUMENT_CREATE.

Thanks in advance.

/Greg

1 REPLY 1
Read only

Former Member
0 Likes
308

This message was moderated.