The Function Module MM_PROMOTION_CONDITION_READ (Lesen zur Handelsaktion alle Konditionssätze und Time-Sätze) 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_READ |
Short Text | Lesen zur Handelsaktion alle Konditionssätze und Time-Sätze |
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 |
---|---|---|---|---|
APPLICATION | LIKE | T180-KAPPL | 'M ' | Application |
CONDITION_READ | TYPE | C | 'X' | Read conditions 'X' will be read |
COND_GROUP_ANALYSE | TYPE | C | 'X' | Determine condition records for condition type group only |
COND_GROUP_NUMBER | LIKE | T6B2-KOBOG | Condition type groups: key | |
INDEX_READ | TYPE | C | 'X' | Read promotion index 'X' otherwise ' ' |
I_ABTYP_GENERAL | TYPE | C | SPACE | Arrangement category for treatment of arrangement |
I_AKTION | TYPE | C | 'X' | Retail promotions active |
I_ALL_VARIABLE_KEYS | TYPE | C | 'X' | Read all time records for condition records 'X' |
I_NO_DOUBLE_KEYS | TYPE | C | 'X' | Do not output any duplicated VAKEYs 'X' |
ONLY_INDEX_READ | TYPE | C | SPACE | Read promotion index 'X' otherwise ' ' |
PRICE_ONLY | TYPE | C | SPACE | Return prices only 'X' |
PROMOTION_CHECK | TYPE | C | 'X' | Check existence of retail promotion number |
PROMOTION_NUMBER | LIKE | KONA-AKTNR | Retail promotion number | |
SCALE_READ | TYPE | C | 'X' | Read scales 'X' will be read |
This function module does not define any EXPORTING parameters.
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 keys with all validities |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
FATAL_ERROR | Error assigning conditions |
INDEX_NOT_EXIST | |
INTERNAL_ERROR | Duplicated module call |
INVALID_COND_CLASS | Condition class for condition type group invalid |
INVALID_KOBOG | Invalid condition type group |
KOBOG_NOT_EXIST | Condition type group does not exist |
NO_PROMOTION_NUMBER | Retail promotion number missing |
PROMOTION_NOT_FOUND | Retail promotion not found |
TABLE_NOT_VALID | Condition table for condition type not found |