SAP ABAP IMG Activity SIMG_CFMENUOLSDMODA6 (New Fields for Batch Determination)
Hierarchy
☛SAP_APPL (Software Component) Logistics and Accounting ⤷SD-MD (Application Component) Master Data ⤷VIO (Package) Introductory Guide to R/3 Organization and Environment
KOMKH (batch determination - communication header)
KOMPH (batch determination - communication item)
KOMGH (batch determination - allowed fields)
For technical reasons communication structure KOMGH is used. This represents the total of KOMKH and KOMPH and contains all the fields that can be used mainly for batch determination. When new fields are included in KOMKH or KOMPH, they are automatically included in KOMGH as well.
New fields for material determination are used in the following INCLUDES:
Header data in KOMKDZ (INCLUDE in KOMKH, KOMGH)
Item data in KOMPDZ (INCLUDE in KOMPH, KOMGH)
The routines for provision of new fields in order processing can be found in Include MV45AFZB. Use the following user exits:
USEREXIT_MOVE_FIELD_TO_KOMKH (header fields)
USEREXIT_MOVE_FIELD_TO_KOMPH (item fields)
The following is an example of an ABAP/4 statement for the provision of a new header field for batch determination: