Show TOC
New Fields For
Free Goods Determination
Basic
Information for Modifications to Free Goods Determination
- The following communication structures are
relevant for free goods determination:
- KOMK (Free goods determination - Communication
header)
- KOMP (Free goods determination - Communication
item)
- KOMG (Free goods determination - Permitted
fields)
For technical
reasons, communications structure KOMG is used to display the totals from KOMK
and KOMP. It contains all the fields that can be used for the material
determination. If new fields are added to KOMK or KOMP, they are automatically
added to KOMG.
- New fields for free goods determination are
added in the following INCLUDES:
- Header data in KOMKZ (INCLUDE in KOMK,
KOMG)
- Item data in KOMPZ (INCLUDE in KOMP, KOMG)
- The routines for adding new fields in sales
order processing can be found in Member MV45AFZ4. Use the following user
exits:
- USEREXIT_MOVE_FIELD_TO_KOMK (header
fields)
- USEREXIT_MOVE_FIELD_TO_KOMP (item
fields)
An example of a
statement for adding new header fields to free goods determination could
be:
FORM
USEREXIT_MOVE_FIELD_TO_KOMK.
MOVE
VBAK-FFELDXY TO KOMK-ZZFELDXY.
ENDFORM.