The Function Module WLK1_CHECK (Check, ob für einen Artikel (ggf. und VRKME) Listungs-Kondition existiert) is a standard Function Module in SAP ERP and is part of the function group WSOD within the package WSOR.
Function Module | WLK1_CHECK |
Short Text | Check, ob für einen Artikel (ggf. und VRKME) Listungs-Kondition existiert |
Function Group | WSOD |
Package | WSOR |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ALL_WLK1_INFO | LIKE | WTDY-TYP01 | SPACE | If X: Pass all WLK1 records to the search key |
ASORT | LIKE | WRS1-ASORT | SPACE | Sortiment |
BUFFERS_READ | LIKE | WTDY-TYP01 | SPACE | Also check in update buffers |
CHECK_PLANT_TIME | LIKE | WTDY-TYP01 | 'X' | Check for extra plant closed times/blocked times |
COMPONENT | TYPE | WTDY-TYP01 | SPACE | Angabe, ob Komponente |
COMPONENT_CHECK | TYPE | WTDY-TYP01 | SPACE | Überprüfung: Listung nur als Komponente |
DATE | LIKE | WSOH-DATAB | SPACE | Date of check |
DATE_BEGIN | LIKE | WLK1-DATAB | SPACE | Date of check - 'from' (if period) |
DATE_END | LIKE | WLK1-DATBI | SPACE | Ditto - 'from' |
DISPOFL | LIKE | WTDY-TYP01 | SPACE | Aufruf von der Dispo ? |
GET_WHOLE_TIME | LIKE | WTDY-TYP01 | SPACE | If X: whole time-span is in O_WLK1 |
ISSUING_PLANT | LIKE | RM06E-WERKS | SPACE | Sup. plant |
ITEM | LIKE | MARA-MATNR | Material number | |
LIFNR | LIKE | LFA1-LIFNR | SPACE | Vendor number of the rack jobber |
PROMOTION | LIKE | WSOH-AKTIO | SPACE | Additional check: does listing exist for promotion? |
PROMOTION_THEME | LIKE | WSOH-THEMA | SPACE | Ditto 'and theme for the promotion' |
PUR_BEFORE_OPEN_TIME_POSSIBLE | LIKE | WTDY-TYP01 | SPACE | Planned delivery date possible before plant opens |
SALES_UNIT | LIKE | MVKE-VRKME | SPACE | Entry only if checking specifically for a unit of measure |
SHOP_LOCNR | LIKE | T001W-KUNNR | SPACE | Plant (entry takes the form of the plant number) - old |
SHOP_MUST_BE_LOCATION | LIKE | WTDY-TYP01 | SPACE | See comments under 'checks' in the source code |
SHOP_WERKS | LIKE | T001W-WERKS | SPACE | Plant (entry takes the form of the plant number) - old |
WRF1_KZLIK_CHECK | LIKE | WTDY-TYP01 | SPACE | See long text |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
NO_UNIT_BUT_ITEM_LISTING | LIKE | WTDY-TYP01 | Listing for material, but not for the unit of measure | |
OPEN_DATE | LIKE | WRF1-EROED | Plant opening date (only set for PUR_BEF..-X) | |
P_ATTYP | LIKE | MARA-ATTYP | Materialtyp | |
WRF1_KZLIK_NOT_IN_USE | LIKE | WTDY-TYP01 | See long text to WRF1_KZLIK_CHECK |
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 |
---|---|---|---|---|
ALL_WLK1 | LIKE | WLK1 | All WLK1 records for the search key (only if O_WLK1 !) | |
O_WLK1 | LIKE | WLK1 | WLK1 record, if one exists (with RAISE too) |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
EXISTING_EXCLUSION_LISTING | There is a -blanket- exclusion -> long text |
LISTING_ONLY_AS_COMPONENT | Listung nur als Komponente - nicht bestellbar |
NO_ASSIGNMENT | Keine Zurodnung Betrieb zu Sortiment |
NO_COMPLETE_LISTING_IN_TIME | Only inclusions, but not full period |
NO_LISTING | No listing in plant |
NO_LISTING_FOR_PROMOTION | No listing for this promotion |
NO_LISTING_IN_TIME | No listing in the plant conforms to this period |
NO_OPEN_TIME_SHOP_IN_TIME | Plant closed times span the date |
WRONG_LOCATION | Plant is not allowed |
WRONG_PARAMETERS | Incorrect parameter combination (-> source code) |
WRONG_RACKJOBBER | Predefined vendor is <> rack jobber entered |