SAP ABAP Function Module WLB_CALCULATE_SERVICE_LEVEL (Function to calculate the service level)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-PO (Application Component) Purchase Orders
     WVLB (Package) Retail Load Building
Basic Data
Function Module WLB_CALCULATE_SERVICE_LEVEL Function to calculate the service level  
Function Group WLB2   Load Building/Investment Buying  
Program Name SAPLWLB2   Retail load building / investment buying 
INCLUDE Name LWLB2U11    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_SERVICE_LEVEL_TODAY TYPE WBO1-CSERLEV1 Service Level calculation for today
Exporting E_SERVICE_LEVEL_TODAY_1 TYPE WBO1-CSERLEV2 Service Level calculation for today + 1
Exporting E_SERVICE_LEVEL_TODAY_2 TYPE WBO1-CSERLEV3 Service Level calculation for today + 2
Importing I_VENDOR TYPE LFA1-LIFNR Vendor Input
Importing I_SITE TYPE LFA1-WERKS Site Input
Importing I_FORECAST_DATE TYPE SYST-DATLO Basis date for calculations
Importing I_RELIF TYPE EINA-RELIF If X then take only regular vendor
Tables T_SERV_LEVEL TYPE WVLBT_SERV_LVL_ITAB_TYPE Export table of articles used in calculation
Exception NO_ARTICLES_FOUND TYPE Check for any division by 0
Exception INVALID_VENDOR TYPE Vendor not found
Exception INVALID_SITE TYPE Site not found
               
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  19970813 
SAP Release Created in