cancel
Showing results for 
Search instead for 
Did you mean: 

Create Sales Quotation for Sales BOM of configurable materials via BAPI

pawadee_k
Participant
0 Kudos

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 ?

Accepted Solutions (0)

Answers (2)

Answers (2)

pawadee_k
Participant
0 Kudos

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.

phanikumar_v3
Active Contributor
0 Kudos

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