Professional Documents
Culture Documents
with Empties
Jörg Haupenthal
Internal
March, 2017
Introduction and Overview
Structured Articles & Full Products with Empties
Article Data Master - Definition & Article Categories
“The article master contains information on all the articles that a company procures or
produces, stores, and sells. It is the company's central source for retrieving article-specific
data. This information is stored in individual article master records.”
Article
Sales Set
Generic Article
Prepack
Variants Display
Full Product in
different UoMs
(e.g. beverages,
yogurt, …) Coca Cola (Bottle)
Coca Cola (Crate = 12 Bottles)
Needed empties
dependent on
the given UoM
(e.g. bottle, bin,
box, crate made
of plastic, glass)
MARA-ATTYP = “02”
Variants Variants
© 2015 SAP SE or an SAP affiliate company. All rights reserved. Internal 6
UI Perspective
Integration of BOM maintenance of structured articles/empties BOMs into MM41 / MM42 / MM43
MM4x – Article Master Data of Sales Set
The maintenance of structured articles (especially the BOM maintenance) happens within the
following boundaries:
There were separate transactions available for each category of structured article (obsolete since years)
Only 1 level BOMs allowed (neither the maintenance nor the processes are prepared to work with multi-level
BOM structures related to structured articles)
=> in S/4HANA a 2 level BOM structure shall be enabled
Usage of standard BOM structures and DB tables with one exception for empties BOMs (own wrapper APIs)
Special customizing to control the BOM explosion in individual standard processes (purchase order, goods
receipt)
Currently this kinds of BOMs can only be maintained for articles, not for materials (here only CS0x transactions
can be used to build similar BOMs)
Full Product
with Empties
Display Article
Sales Set
Prepack
Full Product
with Empties
Display Article
Sales Set
Prepack
Full Product
with Empties
Display Article
Sales Set
Prepack
1 2 3
Function Group WST1 (Structured Articles: Assign Components) with main Function Modules
WST1_BOM_ASSIGN Provide BOM maintenance capability within MM4x
WST1_BOM_MAINTAIN Dialog module to assign BOM components to an article
WST1_COMPONENT_CHECK Consistency check for article components
Function Group WST0 (Buffer and Update BOM Data) with main Function Modules
WST0_BOM_TO_BUFFER Write BOM data into internal buffer
WST0_BOM_FROM_BUFFER Read BOM data from internal buffer
WST0_CHANGE_CHECK Check for BOM changes
WST0_START_POSTING Trigger posting of BOM data
WST0_POST Call corresponding BOM API to post the BOM data to the database
Function Group CSDI (BOMs: dialog control) with main Function Module
CS_DI_BOM_VB Consolidation of Bill Of Material and Posting
Function Group CSBT (Document tables for BOM processing) with main Function Module
CS_BT_BOM_POST Call update task function module
Function Group CSVB (BOMs: update routines) with main Function Module
BOM_POST Post Bill Of Material Completely
Function Group CSMT (BOMs: maintain control tables) with main Function Modules
CSMT_T415B_MAINTAIN Maintain table T415B
CSMT_T415B_POST Table T415B: save changes
© 2015 SAP SE or an SAP affiliate company. All rights reserved. Internal 32
Simplified Callstacks for the integrated BOM maintenance
Posting the BOM data in MM4x – Details about ON COMMIT and IN UPDATE TASK process flow
FM MATERIAL_ARRAY_UPDATE_RETAIL
FM MATERIAL_POST_OTHER_DATA
FM WST0_START_POSTING
FM WST0_POST
FORM BOM_CREATE
FM CSMT_T415B_MAINTAIN
FORM T415B_UPDATE ON COMMIT
FM CSMT_T415B_POST IN UPDATE TASK
FM CSAI_BOM_CREATE
FM CS_DI_BOM_VB
FORM BUCHEN ON COMMIT
FM CS_BT_BOM_POST
FM BOM_POST IN UPDATE TASK