The Function Module MM_PROMOTION_CONDITION (Konditionsbehandlung aus der Handelsaktionspflege) is a standard Function Module in SAP ERP and is part of the function group WNA1 within the package WBON.
Function Module | MM_PROMOTION_CONDITION |
Short Text | Konditionsbehandlung aus der Handelsaktionspflege |
Function Group | WNA1 |
Package | WBON |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_AKTION | TYPE | C | 'X' | Promotion processing active |
I_AKTNR | LIKE | KONA-AKTNR | Retail promotion number | |
I_AKTYP | LIKE | T180-AKTYP | Activity category (create/change/display) | |
I_ALL_VARIABLE_KEYS | TYPE | C | 'X' | Read all time records for condition records |
I_DATAB | LIKE | KONA-DATBI | From date, as of which the conditions are valid | |
I_DATBI | LIKE | KONA-DATAB | To date, until which the conditions are valid | |
I_KAPPL | LIKE | T180-KAPPL | Application | |
I_KNUMH | LIKE | KONH-KNUMH | Internal condition record number | |
I_KOBOG | LIKE | T6B2-KOBOG | Condition type group | |
I_KOMG | LIKE | KOMG | Communication structure | |
I_KOMK | LIKE | KOMK | Communication structure | |
I_KOMP | LIKE | KOMP | Communication structure | |
I_KOTABNR | LIKE | VAKE-KOTABNR | Condition table with key combination | |
I_KSCHL | LIKE | KONP-KSCHL | Condition type | |
I_NO_DOUBLE_KEYS | TYPE | C | 'X' | Do not output any duplicated VAKEYs 'X' |
I_PROMOTION_READ | TYPE | C | ' ' | Read retail promotion |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_SAVE_REQUESTED | TYPE | C | Saving at condition level requested |
This function module does not define any CHANGING parameters.
These are the TABLE parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
CONDITION | LIKE | KONP | Condition items | |
CONDITION_HEADER | LIKE | KONH | Condition headers | |
CONDITION_SCALE | LIKE | CONDSCALE | Scales for conditions | |
PROMOTION_INDEX | LIKE | WAKHIND | Promotion condition index | |
VARIABLE_KEY | LIKE | VAKE | Variable key with unique VAKEY | |
VARIABLE_KEY_COMPLET | LIKE | VAKE | Variable key with all validities |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
ENQUEUE_ON_RECORD | Record is blocked |
INVALID_APPLICATION | Invalid application for condition |
INVALID_CONDITION_TABLE | Invalid condition table/key combination |
INVALID_CONDITION_TYPE | Invalid condition type/category |
INVALID_KOBOG | Invalid condition type group |
KOBOG_NOT_COMPLET | Condition type group incompletely maintained |
NO_AKTYP | No activity category |
NO_AUTHORITY_EKORG | No authorization for the purchasing organization |
NO_AUTHORITY_KSCHL | No authorization for condition type |