SAP ABAP Function Module OII_OTWS_CHECK_TIME_CUST (BDRP-OTWS: Check incoming time and data against time windows for customer)
Hierarchy
IS-OIL (Software Component) IS-OIL
   IS-OIL-DS-BDR (Application Component) Bulk Distribution Requirements Planning
     OII (Package) BDRP Bulk Distribution Requirement Planning
Basic Data
Function Module OII_OTWS_CHECK_TIME_CUST BDRP-OTWS: Check incoming time and data against time windows for customer  
Function Group OII6   BDRP: Operations time window maintenance  
Program Name SAPLOII6    
INCLUDE Name LOII6U13    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_TIME_VALID TYPE BOOLE-BOOLE Time is valid flag ('X' = valid)
Exporting E_TW_MATCHING TYPE ROIIOTWSPD Validating time window (blank when not valid)
Exporting E_TW_NEXT_LO TYPE ROIIOTWSPD Next lowest time window
Exporting E_TW_NEXT_HI TYPE ROIIOTWSPD Next highest time window
Importing I_KUNNR TYPE KNA1-KUNNR Customer number
Importing I_TWSTYP TYPE OIIOTWST-TWSTYP Time window type
Importing I_DATE_LO TYPE SYST-DATUM SPACE Requested start date
Importing I_TIME_LO TYPE SYST-UZEIT SPACE Requested start time
Importing I_DATE_HI TYPE SYST-DATUM SPACE Requested end date
Importing I_TIME_HI TYPE SYST-UZEIT SPACE Requested end time
Importing I_EXCLUSIVE TYPE BOOLE-BOOLE SPACE Time search excludes start/end co-incidence
Importing I_PBLNR TYPE OIFSPBL-PBLNR SPACE IS-Oil MRN/SSR business location
Tables T_ROIIOTWSPD TYPE ROIIOTWSPD Found operations time windows + dates
Exception CUSTOMER_NOT_FOUND TYPE Specified customer not found
Exception TIME_WINDOW_TYPE_NOT_FOUND TYPE Specified time window type not found
Exception NO_TIME_WINDOWS_FOUND TYPE No time windows found for input specifications
Exception INVALID_FACTORY_CALENDAR TYPE Non-valid factory calendar ref. for customer
Exception INVALID_HOLIDAY_CALENDAR TYPE Holiday calendar cannot be accessed / loaded
Exception DATE_TIME_INVALID TYPE Non-valid date and time combination specified
Exception NO_SCP_DATA_FOUND TYPE No SCP reference data to support inheritance
               
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  20050224 
SAP Release Created in