Skip to Content
0

Create Sales Quotation for Sales BOM of configurable materials via BAPI

Nov 08, 2017 at 02:17 AM

63

avatar image
Former Member

Hi,

I have been trying to create a Quotation for Sales Order via BAPI_QUOTATION_CREATEFROMDATA. The materials I need to work with is configurable materials so user will need choose characteristic values as configuration. I already get this working with ORDER_CFGS_* tables.

However we also have Sales BOM of which consists of multiple configurable materials, mostly 2 configurable materials, as its child items. When I submit just the Sales BOM material (SET material) via the BAPI, the result is that the system automatically expand the child items for me, so I ended up with 3 materials, which is good but I cannot pass the configuration in since the SET material is not configurable.

Could anyone please suggest how I should approach this ?

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

2 Answers

Phanikumar Valiveti Nov 08, 2017 at 05:08 AM
0

What is happening when you are creating quotation manually in testing -is the same is happening.

Have you tried the option Structure scope in VOV7 for your Item category...

Phanikumar

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 08, 2017 at 07:22 AM
0

Hi Phanikumar,

I don't quite understand what you meant, please kindly elaborate.

If I create the quotation in VA21, when I key the SET material in, it will populate the child items automatically and from there I can set the configurations of child items, before saving the document. But in BAPI the explosion happen as the return of BAPI call and thus document is already created with child items having no configuration.

Share
10 |10000 characters needed characters left characters exceeded