Ansicht
Dokumentation

UA_RFC_PDCE_TREE_COPY_AS_NODE - Copy node as a target in tree

UA_RFC_PDCE_TREE_COPY_AS_NODE - Copy node as a target in tree

General Material Data   Fill RESBD Structure from EBP Component Structure  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

Funktionalität

This funcition module allows the copy of a hierarchy into a new one with changes of the main object keyfields. The root object of the hierarchy to be copied will be provided in is_object, and the new keyfields for this object will be provided in is_target_object.

A new hierarchy will then be created based on the values of the new keyfieds. The new hierarchy will have the same object and edge values as the initial one except for the new defined keyfields.

The new hierarchy can be inserted or not in the calculation structure depending on the value of ID_EDGE_ID parameter.

If id_edge_id is provided, then the edge receiver object will be considered as the parent object, and a check will be carried on the provided new keyfields to ensure that none of the inherited parent keyfields are changed. The new hierarchy will then be inserted under the parent object and the new link will carry the same information.

If id_edge_id is not provided, then the hierarchy will be created with the new keyfields.

Only the ones which are not inherited from the parent object can be changed

The function module returns the objects added to the costing tree and the visible part of the tree.

Beispiel

Hinweise

Weiterführende Informationen





Parameter

BAPIRET2
ED_CODE
ET_EDGE
ET_HIER
ET_NODE
ET_OBJECT
ET_TNODE
ID_DATABASIS
ID_EDGE_ID
IS_OBJECT
IS_TARGET_OBJECT

Ausnahmen

Funktionsgruppe

UA_RFC_PDCE

BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 1739 Date: 20240523 Time: 053617     sap01-206 ( 38 ms )