Skip to Content

Create Sales Quotation for Sales BOM of configurable materials via BAPI


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 ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 08, 2017 at 05:08 AM

    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...


    Add comment
    10|10000 characters needed characters exceeded

  • Nov 08, 2017 at 07:22 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded