cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Article Master

ramesh1985
Explorer
0 Kudos

Dear All ,

I want to create Salesset Article using a BAPI . In the Standard BAPI " BAPI_MATERIAL_MAINTAINDATA_RT " there is no importing parameters to pass components of sales set Article .

I would like to know how these kind of scenarios are handled in retail if any third part system want to create a sales set article in SAP using BAPI / function module .

Accepted Solutions (1)

Accepted Solutions (1)

paul_gendreau
Contributor
0 Kudos

That is because you create the sales set article using that BAPI, but you assign the components in a follow-on step using IDoc BOMMAT.

Retail Sales Sets are created by first creating an Article of the appropriate Article Category, followed by BOMMAT to assign component Articles to the Sales Set. When creating the Sales Set Article, set [[E1BPE1MATHEAD-MATL_CAT]] to 10 - Sales Set.

Component: LO-MD-BOM

See SAP Note 545676 - FAQ BOM data transfer

BOMMAT07 uses inbound process code BOMM, which is processed by function module IDOC_INPUT_BOMMAT. Function module IDOC_INPUT_BOMMAT in turn calls function modules CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_DELETE.

IDoc BOMMAT07 > Process Code BOMM > FM idoc_input_bommat

Use of BOMMAT07 (e.g. processing by function module IDOC_INPUT_BOMMAT) is the only available option that includes complete Retail functionality. For example, a check for Logistical Product (BAdI: Logistical Product Enhancements) before permitting deletion: CALL BADI gr_logistical_product->check_consistency_bommat

ramesh1985
Explorer
0 Kudos

Dear Paul ,

Thank you very much for your reply . In my requirement I cannot use IDOC so if I understood correctly Although we have CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_DELETE they does it take care of all Retail functionality and we have to use IDOC_INPUT_BOMMAT to cover retail ?

Answers (0)