SAP UA_RFC_PDCE_TREE_COPY_NODE Function Module for









UA_RFC_PDCE_TREE_COPY_NODE is a standard ua rfc pdce tree copy node SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for ua rfc pdce tree copy node FM, simply by entering the name UA_RFC_PDCE_TREE_COPY_NODE into the relevant SAP transaction such as SE37 or SE38.

Function Group: UA_RFC_PDCE
Program Name: SAPLUA_RFC_PDCE
Main Program: SAPLUA_RFC_PDCE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function UA_RFC_PDCE_TREE_COPY_NODE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'UA_RFC_PDCE_TREE_COPY_NODE'"
EXPORTING
ID_DATABASIS = "Data Basis
* ID_EDGE_ID = "Extraction Itemization Breakdown Data Basis 1PDCE
IS_OBJECT = "
IS_PARENT_TARGET_OBJECT = "

IMPORTING
ED_CODE = "

TABLES
ET_OBJECT = "
ET_NODE = "
ET_EDGE = "
ET_TNODE = "
ET_HIER = "
BAPIRET2 = "Return Parameters
.



IMPORTING Parameters details for UA_RFC_PDCE_TREE_COPY_NODE

ID_DATABASIS - Data Basis

Data type: ACC_DATABASIS
Optional: No
Call by Reference: No ( called with pass by value option)

ID_EDGE_ID - Extraction Itemization Breakdown Data Basis 1PDCE

Data type: ACC_EDGE_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_OBJECT -

Data type: UAB_S_RFC_OBJECT_PDCE
Optional: No
Call by Reference: No ( called with pass by value option)

IS_PARENT_TARGET_OBJECT -

Data type: UAB_S_RFC_OBJECT_PDCE
Optional: No
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for UA_RFC_PDCE_TREE_COPY_NODE

ED_CODE -

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for UA_RFC_PDCE_TREE_COPY_NODE

ET_OBJECT -

Data type: UAB_T_RFC_OBJECT_PDCE
Optional: No
Call by Reference: Yes

ET_NODE -

Data type: UAB_T_RFC_NODE_PDCE
Optional: No
Call by Reference: Yes

ET_EDGE -

Data type: UAB_T_RFC_EDGE_PDCE
Optional: No
Call by Reference: Yes

ET_TNODE -

Data type: UAB_T_RFC_TNODE_PDCE
Optional: No
Call by Reference: Yes

ET_HIER -

Data type: UAB_T_RFC_TREE_PDCE
Optional: No
Call by Reference: Yes

BAPIRET2 - Return Parameters

Data type: BAPIRET2
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for UA_RFC_PDCE_TREE_COPY_NODE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_ed_code  TYPE SYSUBRC, "   
lt_et_object  TYPE STANDARD TABLE OF UAB_T_RFC_OBJECT_PDCE, "   
lv_id_databasis  TYPE ACC_DATABASIS, "   
lt_et_node  TYPE STANDARD TABLE OF UAB_T_RFC_NODE_PDCE, "   
lv_id_edge_id  TYPE ACC_EDGE_ID, "   
lt_et_edge  TYPE STANDARD TABLE OF UAB_T_RFC_EDGE_PDCE, "   
lv_is_object  TYPE UAB_S_RFC_OBJECT_PDCE, "   
lt_et_tnode  TYPE STANDARD TABLE OF UAB_T_RFC_TNODE_PDCE, "   
lv_is_parent_target_object  TYPE UAB_S_RFC_OBJECT_PDCE, "   
lt_et_hier  TYPE STANDARD TABLE OF UAB_T_RFC_TREE_PDCE, "   
lt_bapiret2  TYPE STANDARD TABLE OF BAPIRET2. "   

  CALL FUNCTION 'UA_RFC_PDCE_TREE_COPY_NODE'  "
    EXPORTING
         ID_DATABASIS = lv_id_databasis
         ID_EDGE_ID = lv_id_edge_id
         IS_OBJECT = lv_is_object
         IS_PARENT_TARGET_OBJECT = lv_is_parent_target_object
    IMPORTING
         ED_CODE = lv_ed_code
    TABLES
         ET_OBJECT = lt_et_object
         ET_NODE = lt_et_node
         ET_EDGE = lt_et_edge
         ET_TNODE = lt_et_tnode
         ET_HIER = lt_et_hier
         BAPIRET2 = lt_bapiret2
. " UA_RFC_PDCE_TREE_COPY_NODE




ABAP code using 7.40 inline data declarations to call FM UA_RFC_PDCE_TREE_COPY_NODE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!