SAP ABAP Function Module CY_LOAD_DISTRIBUTION (Distribution of capacity loads)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       CY (Package) R/3 Application development: Capacity Planning
Basic Data
Function Module CY_LOAD_DISTRIBUTION Distribution of capacity loads  
Function Group CYCP   Capacity planning - general functions  
Program Name SAPLCYCP   Include LCYIBFI1 
INCLUDE Name LCYCPU01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting KZ_EZO TYPE RC65A-PEINHEIT Indicator operating time column put in period table
Exporting KZ_FKO TYPE RC65A-PEINHEIT Indicator factory calendar column put in period table
Exporting KZ_GKO TYPE RC65A-PEINHEIT Indicator Gregorian column put in period table
Exporting REST_RUNDUNGSWERT1 TYPE RC65K-BELAS Remaining reqmts-1 after dispatching with rounding-off value
Exporting REST_RUNDUNGSWERT2 TYPE RC65K-BELAS Remaining reqmts-2 after dispatching with rounding-off value
Exporting REST_RUNDUNGSWERT3 TYPE RC65K-BELAS Remaining reqmts-3 after dispatching with rounding-off value
Exporting REST_RUNDUNGSWERT4 TYPE RC65K-BELAS Remaining reqmts-4 after dispatching with rounding-off value
Importing ANVER TYPE RC65A-ANVER ' '
Importing BEDARF1 TYPE RC65K-BELAS 0 To distribute requirement (fill for KAPA, also disposition)
Importing BEDARF2 TYPE RC65K-BELAS 0 To distribute requirement (for disposition)
Importing BEDARF3 TYPE RC65K-BELAS 0 To distribute requirement (for disposition)
Importing BEDARF4 TYPE RC65K-BELAS 0 To distribute requirement (for disposition)
Importing EINSATZ_KZ TYPE ' '
Importing FERTIG_GRAD TYPE V_TC29F-DAUER 0 Degree of completion (for KAPA, REST requirement)
Importing FRUH_ENDE TYPE RC65K-DATUV SY-DATUM Earliest finish date
Importing FRUH_START TYPE RC65K-DATUV SY-DATUM Earliest start date
Importing FRUH_ZEITB TYPE RC65K-ZEITB '000000'
Importing FRUH_ZEITV TYPE RC65K-ZEITV '000000'
Importing HIEVER TYPE RC65A-HIEVER ' '
Importing KAP_EINH TYPE RC65A-LIEINH 01 Unit of capacity requirements
Importing KZ_EZ TYPE RC65A-PEINHEIT SPACE Indicator operating times put in period table
Importing KZ_FK TYPE RC65A-PEINHEIT SPACE Indicator factory calendar days put in period table
Importing KZ_GK TYPE RC65A-PEINHEIT SPACE Indicator Gregorian days put in period table
Importing LIEINH TYPE RC65A-LIEINH ' '
Importing RUNDUNGSWERT TYPE RC65K-BELAS 0 Dispatching with a multiple of rounding-off value
Importing SPAET_ENDE TYPE RC65K-DATUV SY-DATUM Latest finish date
Importing SPAET_START TYPE RC65K-DATUV SY-DATUM Latest start date
Importing SPAET_ZEITB TYPE RC65K-ZEITB '000000'
Importing SPAET_ZEITV TYPE RC65K-ZEITV '000000'
Importing VERTL TYPE TC29-VERTL SPACE Distribution key for capacity planning
Importing VERTLB TYPE T437V-VERTL SPACE Distribution key for disposition
Importing WERKS TYPE T437V-WERKS SPACE Task list for disposition
Importing BEDPLAN_UHRZEIT TYPE ' '
Importing AVAICAPVER TYPE RC65A-AVAICAPVER SPACE
Importing ANGEB_VERD TYPE RC65B-INDCUMCAP SPACE
Importing I_PERNR TYPE KBED-PERNR 0
Importing I_PER_EX TYPE KBEDD-PER_EX
Importing I_BEDID TYPE KBED-BEDID
Importing I_BEDZL TYPE KBED-BEDZL
Importing I_CANUM TYPE KBED-CANUM
Importing EXACT_BREAKS TYPE C
Importing HNAME TYPE RC65A-HNAME
Importing I_KBED TYPE KBED Capacity Requirements Records
Tables INDTAB TYPE CYVERPER Indices of the dispatched period table records
Tables PERTAB TYPE RC65K Period table
Exception DATE_INVALID TYPE If From-date is greater that To-date
Exception GRAD_INVALID TYPE if degree of completion is higher than 100 (in %)
Exception VERTL_NOT_FOUND TYPE Distribution key does not exist in TC29/T437V
Exception VERTL_ONLY_ONE TYPE If both distribution keys are entered
               
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  19931201 
SAP Release Created in