Menu

SAP Function Module CY01_PLANNED_ORDER_CHECK

Determines if a planned order exists to an order number or index

The Function Module CY01_PLANNED_ORDER_CHECK (Determines if a planned order exists to an order number or index) is a standard Function Module in SAP ERP and is part of the function group CY04 within the package CY01.

Technical Information

Function Module CY01_PLANNED_ORDER_CHECK
Short Text Determines if a planned order exists to an order number or index
Function Group CY04
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
AFKO_INDEX_IMP LIKE CYAFKO_TAB-INDEX Index of (virtual) production order
AUFNR_IMP LIKE CAUFVD-AUFNR Order number of (virtual) production order
CHECK_ONLY_IMP LIKE CYREFS-FLAG SPACE Only checking

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
KBKO_EXP LIKE KBKO Capacity requirements record header
PAUF_EXP LIKE CYREFS-FLAG Flag: planned order
PINDEX_EXP LIKE CYSEL_OBJ-INDEXAKT Index of planned order
PLAF_EXP LIKE PLAF Planned order structure
PLNUM_EXP LIKE PLAF-PLNUM Planned order number

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_ORDER_IDENTIFICATION Neither order index nor number given