Ansicht
Dokumentation

CUPR_GET_PARENT - NOTRANSL: Zerlegungsvater einer Instanz lesen

CUPR_GET_PARENT - NOTRANSL: Zerlegungsvater einer Instanz lesen

TXBHW - Original Tax Base Amount in Local Currency   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function reads the parent object of an instance.
The instance number of the parent object and the item number of the current instance in the structure of the parent object are returned.

Example

***********************************************************************
* Read parent object of PARENT object *
***********************************************************************
TYPE-POOLS: CUDBT.
DATA: GRAND_PARENT TYPE CUDBT_INSTANCE,
POSNR TYPE CUDBT_POS.
...

CALL FUNCTION 'CUPR_GET_PARENT'
EXPORTING
INSTANCE = GLOBALS-PARENT
IMPORTING
PARENT = GRAND_PARENT
POSNR = POSNR
EXCEPTIONS
NOT_FOUND = 01
OTHERS = 02.

...





Parameters

INSTANCE
PARENT
POSNR

Exceptions

INTERNAL_ERROR
NOT_FOUND
UNKNOWN_INSTANCE
WRONG_CONTEXT

Function Group

CUPR

TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1149 Date: 20240523 Time: 112438     sap01-206 ( 18 ms )