The Function Module CY_LOAD_DISTRIBUTION (Distribution of capacity loads) is a standard Function Module in SAP ERP and is part of the function group CYCP within the package CY.
Function Module | CY_LOAD_DISTRIBUTION |
Short Text | Distribution of capacity loads |
Function Group | CYCP |
Package | CY |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
ANGEB_VERD | LIKE | RC65B-INDCUMCAP | SPACE | |
ANVER | LIKE | RC65A-ANVER | ' ' | |
AVAICAPVER | LIKE | RC65A-AVAICAPVER | SPACE | |
BEDARF1 | LIKE | RC65K-BELAS | 0 | |
BEDARF2 | LIKE | RC65K-BELAS | 0 | |
BEDARF3 | LIKE | RC65K-BELAS | 0 | |
BEDARF4 | LIKE | RC65K-BELAS | 0 | |
BEDPLAN_UHRZEIT | LIKE | ' ' | ||
EINSATZ_KZ | LIKE | ' ' | ||
FERTIG_GRAD | LIKE | V_TC29F-DAUER | 0 | Degree of completion (for KAPA, REST requirement) |
FRUH_ENDE | LIKE | RC65K-DATUV | SY-DATUM | Earliest finish date |
FRUH_START | LIKE | RC65K-DATUV | SY-DATUM | Earliest start date |
FRUH_ZEITB | LIKE | RC65K-ZEITB | '000000' | |
FRUH_ZEITV | LIKE | RC65K-ZEITV | '000000' | |
HIEVER | LIKE | RC65A-HIEVER | ' ' | |
HNAME | LIKE | RC65A-HNAME | ||
I_KBED | LIKE | KBED | Capacity Requirements Records | |
KAP_EINH | LIKE | RC65A-LIEINH | 1 | Unit of capacity requirements |
KZ_EZ | LIKE | RC65A-PEINHEIT | SPACE | |
KZ_FK | LIKE | RC65A-PEINHEIT | SPACE | |
KZ_GK | LIKE | RC65A-PEINHEIT | SPACE | |
LIEINH | LIKE | RC65A-LIEINH | ' ' | |
RUNDUNGSWERT | LIKE | RC65K-BELAS | 0 | Dispatching with a multiple of rounding-off value |
SPAET_ENDE | LIKE | RC65K-DATUV | SY-DATUM | Latest finish date |
SPAET_START | LIKE | RC65K-DATUV | SY-DATUM | Latest start date |
SPAET_ZEITB | LIKE | RC65K-ZEITB | '000000' | |
SPAET_ZEITV | LIKE | RC65K-ZEITV | '000000' | |
VERTL | LIKE | TC29-VERTL | SPACE | |
VERTLB | LIKE | T437V-VERTL | SPACE | |
WERKS | LIKE | T437V-WERKS | SPACE |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
KZ_EZO | LIKE | RC65A-PEINHEIT | Indicator operating time column put in period table | |
KZ_FKO | LIKE | RC65A-PEINHEIT | ||
KZ_GKO | LIKE | RC65A-PEINHEIT | ||
REST_RUNDUNGSWERT1 | LIKE | RC65K-BELAS | Remaining reqmts-1 after dispatching with rounding-off value | |
REST_RUNDUNGSWERT2 | LIKE | RC65K-BELAS | Remaining reqmts-2 after dispatching with rounding-off value | |
REST_RUNDUNGSWERT3 | LIKE | RC65K-BELAS | Remaining reqmts-3 after dispatching with rounding-off value | |
REST_RUNDUNGSWERT4 | LIKE | RC65K-BELAS | Remaining reqmts-4 after dispatching with rounding-off value |
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 |
---|---|---|---|---|
INDTAB | LIKE | CYVERPER | ||
PERTAB | LIKE | RC65K |
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DATE_INVALID | If From-date is greater that To-date |
GRAD_INVALID | if degree of completion is higher than 100 (in %) |
VERTL_NOT_FOUND | Distribution key does not exist in TC29/T437V |
VERTL_ONLY_ONE | If both distribution keys are entered |