Menu

SAP Function Module AIPK_ORDERS_READ

Read order master data

The Function Module AIPK_ORDERS_READ (Read order master data) is a standard Function Module in SAP ERP and is part of the function group AIPK within the package AIP.

Technical Information

Function Module AIPK_ORDERS_READ
Short Text Read order master data
Function Group AIPK
Package AIP
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_FLG_FROM_INVPROG TYPE C SPACE Indicator: Orders for an inv. program
I_FLG_FROM_SELECT TYPE C SPACE Indicator: Orders from additional selections
I_GNJHR LIKE IMPR-GJAHR Approval year of inv. program
I_KOKRS LIKE TKA01-KOKRS Controlling area
I_PRNAM LIKE IMPR-PRNAM Investment program name

Exporting Parameters

This function module does not define any EXPORTING parameters.

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
T_AUART_RANGE LIKE RANGE_C4 Range table for order type
T_AUFNR_RANGE LIKE AUFNR_RANG Range table for orders
T_BUKRS_RANGE LIKE RANGE_C4 Range table for company code
T_INVST_OR LIKE V_INVST_OR Orders: Relevant master data
T_OBJNR LIKE JSTO_PRE Object numbers for orders

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FLAGS_INCORRECT Incorrect import indicator
INVPROG_MISSING Inv. program / approval year missing