SAP Function Module GET_PS_OBJECTNUMBER

Lesen aller CO-relevanten Objekte zu einem Projekt

The Function Module GET_PS_OBJECTNUMBER (Lesen aller CO-relevanten Objekte zu einem Projekt) is a standard Function Module in SAP ERP and is part of the function group CJPN within the package CN_PSP_OPR.

Technical Information

Function Module GET_PS_OBJECTNUMBER
Short Text Lesen aller CO-relevanten Objekte zu einem Projekt
Function Group CJPN
Package CN_PSP_OPR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FLG_RECHINFO LIKE RCWBS-SEL01 SPACE
FLG_REFRESH LIKE RCWBS-SEL01 'X'
FLG_TMPOBJS LIKE RCWBS-SEL01 SPACE
FLG_VRG_TMP LIKE RCWBS-SEL01 SPACE
I_AUFNR LIKE AUFK-AUFNR SPACE
I_NPLNR LIKE AUFK-AUFNR SPACE
I_ONLY_DEF_OBJECTS LIKE RCWBS-SEL01 SPACE Read only networks for project definition
I_PRONR LIKE PROJ-PSPNR
I_PSPNR LIKE PRPS-PSPNR
I_SHOW_PLANTYPE LIKE RCWBS-SEL01 SPACE Read object indicators (orders for project)
I_WITH_HIERARCHY LIKE RCWBS-SEL01 SPACE WBS element incl. subordinate elements
I_WITH_NETWORK LIKE RCWBS-SEL01 SPACE WBS element or definition incl. assigned networks
I_WITH_ORDERS LIKE RCWBS-SEL01 SPACE WBS element incl. orders for project
NO_BUFFER LIKE RCWBS-SEL01 SPACE Read directly from database

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_PRPS LIKE PRPS

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
PRPS_TAB LIKE RCJ_PSPNR2
RECH_TAB LIKE IONRE
T_OBJECTS LIKE OBJLIST_PS Table of all selected CO object numbers

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
PSP_HIERARCHY_ERROR Error when reading WBS hierarchy
PSP_NOT_FOUND WBS element does not exist
WRONG_INPUT Neither definition, WBS, network nor order
WRONG_ORDER_CATEGORY No CO, PP or PM order