SAP ABAP Function Module WLK1_CHECK (Check, ob für einen Artikel (ggf. und VRKME) Listungs-Kondition existiert)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       WSOR (Package) IS-R: Assortments
Basic Data
Function Module WLK1_CHECK Check, ob für einen Artikel (ggf. und VRKME) Listungs-Kondition existiert  
Function Group WSOD   WLK1 Checks  
Program Name SAPLWSOD    
INCLUDE Name LWSODU02    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting NO_UNIT_BUT_ITEM_LISTING TYPE WTDY-TYP01 Listing for material, but not for the unit of measure
Exporting WRF1_KZLIK_NOT_IN_USE TYPE WTDY-TYP01 See long text to WRF1_KZLIK_CHECK
Exporting INFO_CODE TYPE WTDY-TYP01
Exporting OPEN_DATE TYPE WRF1-EROED Plant opening date (only set for PUR_BEF..=X)
Exporting P_ATTYP TYPE MARA-ATTYP Materialtyp
Exporting P_BFLME TYPE MARA-BFLME
Importing DATE TYPE WSOH-DATAB SPACE Date of check
Importing ITEM TYPE MARA-MATNR Material number
Importing SHOP_LOCNR TYPE T001W-KUNNR SPACE Plant (entry takes the form of the plant number) - old
Importing SHOP_WERKS TYPE T001W-WERKS SPACE Plant (entry takes the form of the plant number) - old
Importing ASORT TYPE WRS1-ASORT SPACE Sortiment
Importing DATE_BEGIN TYPE WLK1-DATAB SPACE Date of check - "from" (if period)
Importing DATE_END TYPE WLK1-DATBI SPACE Ditto - "from"
Importing SALES_UNIT TYPE MVKE-VRKME SPACE Entry only if checking specifically for a unit of measure
Importing CHECK_PLANT_TIME TYPE WTDY-TYP01 'X' Check for extra plant closed times/blocked times
Importing PROMOTION TYPE WSOH-AKTIO SPACE Additional check: does listing exist for promotion?
Importing PROMOTION_THEME TYPE WSOH-THEMA SPACE Ditto "and theme for the promotion"
Importing SHOP_MUST_BE_LOCATION TYPE WTDY-TYP01 SPACE See comments under "checks" in the source code
Importing WRF1_KZLIK_CHECK TYPE WTDY-TYP01 SPACE See long text
Importing GET_WHOLE_TIME TYPE WTDY-TYP01 SPACE If X: whole time-span is in O_WLK1
Importing ALL_WLK1_INFO TYPE WTDY-TYP01 SPACE If X: Pass all WLK1 records to the search key
Importing ISSUING_PLANT TYPE RM06E-WERKS SPACE Sup. plant
Importing BUFFERS_READ TYPE WTDY-TYP01 SPACE Also check in update buffers
Importing PUR_BEFORE_OPEN_TIME_POSSIBLE TYPE WTDY-TYP01 SPACE Planned delivery date possible before plant opens
Importing LIFNR TYPE LFA1-LIFNR SPACE Vendor number of the rack jobber
Importing DISPOFL TYPE WTDY-TYP01 SPACE Aufruf von der Dispo ?
Importing COMPONENT_CHECK TYPE WTDY-TYP01 SPACE Überprüfung: Listung nur als Komponente
Importing COMPONENT TYPE WTDY-TYP01 SPACE Angabe, ob Komponente
Tables O_WLK1 TYPE WLK1 WLK1 record, if one exists (with RAISE too)
Tables ALL_WLK1 TYPE WLK1 All WLK1 records for the search key (only if O_WLK1 !)
Exception NO_LISTING TYPE No listing in plant
Exception NO_LISTING_IN_TIME TYPE No listing in the plant conforms to this period
Exception EXISTING_EXCLUSION_LISTING TYPE There is a "blanket" exclusion -> long text
Exception WRONG_PARAMETERS TYPE Incorrect parameter combination (-> source code)
Exception NO_OPEN_TIME_SHOP_IN_TIME TYPE Plant closed times span the date
Exception NO_LISTING_FOR_PROMOTION TYPE No listing for this promotion
Exception WRONG_LOCATION TYPE Plant is not allowed
Exception NO_COMPLETE_LISTING_IN_TIME TYPE Only inclusions, but not full period
Exception WRONG_RACKJOBBER TYPE Predefined vendor is <> rack jobber entered
Exception LISTING_ONLY_AS_COMPONENT TYPE Listung nur als Komponente - nicht bestellbar
Exception NO_ASSIGNMENT TYPE Keine Zurodnung Betrieb zu Sortiment
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19980220 
SAP Release Created in