Menu

SAP Function Module CY01_GET_DISTRIBUTION_KEY

Gets the distribution key for the given capacity requirements record

The Function Module CY01_GET_DISTRIBUTION_KEY (Gets the distribution key for the given capacity requirements record) is a standard Function Module in SAP ERP and is part of the function group CY14 within the package CY01.

Technical Information

Function Module CY01_GET_DISTRIBUTION_KEY
Short Text Gets the distribution key for the given capacity requirements record
Function Group CY14
Package CY01
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
AKT_KBED LIKE KBEDD Capacity requirements record
IARBID LIKE KBEDD-ARBID SPACE Workcenter ID (same as AKT_KBED-ARBID)
IAUTYP LIKE AUFK-AUTYP SPACE Type of order
IDAVAP LIKE CYCRPANPRO-DAVAP Distribution key for work center?
IKAPAR LIKE KAKO-KAPAR SPACE Capacity category (same as AKT_KBED-KAPAR)
IKAPID LIKE KBEDD-KAPID SPACE Capacity ID (same as AKT_KBED-KAPID)
IN_RC65B_VERTL1 LIKE KBEDD-KPVER
IN_RC65B_VERTLN LIKE KBEDD-KPVER
IVERTL LIKE KBEDD-KPVER SPACE Distribution key for an activity

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EVERTL LIKE KBED-KPVER Distribution key

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_DISTRIBUTION_KEY_MAINTAINED No distribution key for capacity category