Menu

SAP Function Module MM_PROMOTION_CONDITION_READ

Lesen zur Handelsaktion alle Konditionssätze und Time-Sätze

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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.

Technical Information

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

Importing Parameters

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

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table 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

Exceptions

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