Ansicht
Dokumentation

AIP1_GET_PRPOS_SINGLE - Determine position/measure for index or object number

AIP1_GET_PRPOS_SINGLE - Determine position/measure for index or object number

CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module determines the element that belongs to index I_INDEX or to the CO object number I_OBJNR. It makes this determination from the "naturally ordered" internal table of buffered elements. The system returns the hierarchy level/short text of the element in E_STUFE/E_IDENT. The system returns the index/object number/object type of the element in E_INDEX/E_OBJNR/E_OBART. If you are working with a point of entry element, this point of entry element defines level '1'.

For external processing, the system returns the investment program position in E_IMPR.

The indicator I_INDEX/I_OBJNR can indicate
1.) an investment program position or
2.) an operative object
In the first instance, the system returns the investment program position in E_IMPR. E_OBART is set to 'IP'.
In the second instance, the system returns the program position that is directly above the object in the hierarchy, in E_IMPR. E_OBART contains the object type of the operative object. The system also returns the structure AUFKV/PRPS that corresponds to the obect type, for the operative object.

For external processing, all operative objects are buffered, but they are not displayed. If I_INDEX/I_OBJNR indicates such an object during external processing, E_IGNORE is set to 'X'.

During internal processing, all operative objects are also buffered. However, the system only displays the operative objects of the indicated object type. If, during internal processing, I_INDEX/I_OBJNR indicates an operative object that does not belong to the indicated object type, E_IGNORE is set to 'X'.





Parameters

ET_IMAKPGES
ET_IMZO
ET_IMZO_ALL
ET_ROPA
E_AUFKV
E_FLG_LEAF
E_FLG_MEASURES
E_FLG_REALMEAS
E_IDENT
E_IGNORE
E_IMAK
E_IMAKT
E_IMPR
E_IMPU
E_INDEX
E_INDEX_POS
E_OBART
E_OBJNR
E_POSIT
E_PROJ
E_PRPS
E_RAIPATTR
E_STREENODE
E_STUFE
E_STUFE_POS
I_INDEX
I_OBJNR

Exceptions

NOT_FOUND

Function Group

AIP1

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2251 Date: 20240523 Time: 113743     sap01-206 ( 58 ms )