SAP Function Modules

UA_RFC_PDCE_NODE_ASSIGN SAP Function module







UA_RFC_PDCE_NODE_ASSIGN is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name UA_RFC_PDCE_NODE_ASSIGN into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: UA_RFC_PDCE
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM UA_RFC_PDCE_NODE_ASSIGN - UA RFC PDCE NODE ASSIGN





CALL FUNCTION 'UA_RFC_PDCE_NODE_ASSIGN' "
  EXPORTING
    id_databasis =              " acc_databasis  Data Basis
    is_object =                 " uab_s_rfc_object_pdce
    id_resp_pers =              " char20
*   id_not_publish = ABAP_TRUE  " boole_d       Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
*   id_use_cost_for_price = ABAP_TRUE  " boole_d  Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
  IMPORTING
    ed_code =                   " sysubrc
  TABLES
    et_object =                 " uab_t_rfc_object_pdce
    bapiret2 =                  " bapiret2      Return Parameters
    .  "  UA_RFC_PDCE_NODE_ASSIGN

ABAP code example for Function Module UA_RFC_PDCE_NODE_ASSIGN





The ABAP code below is a full code listing to execute function module UA_RFC_PDCE_NODE_ASSIGN including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_ed_code  TYPE SYSUBRC ,
it_et_object  TYPE STANDARD TABLE OF UAB_T_RFC_OBJECT_PDCE,"TABLES PARAM
wa_et_object  LIKE LINE OF it_et_object ,
it_bapiret2  TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM
wa_bapiret2  LIKE LINE OF it_bapiret2 .

DATA(ld_id_databasis) = 'Check type of data required'.
DATA(ld_is_object) = 'Check type of data required'.
DATA(ld_id_resp_pers) = 'Check type of data required'.
DATA(ld_id_not_publish) = 'Check type of data required'.
DATA(ld_id_use_cost_for_price) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_object to it_et_object.

"populate fields of struture and append to itab
append wa_bapiret2 to it_bapiret2. . CALL FUNCTION 'UA_RFC_PDCE_NODE_ASSIGN' EXPORTING id_databasis = ld_id_databasis is_object = ld_is_object id_resp_pers = ld_id_resp_pers * id_not_publish = ld_id_not_publish * id_use_cost_for_price = ld_id_use_cost_for_price IMPORTING ed_code = ld_ed_code TABLES et_object = it_et_object bapiret2 = it_bapiret2 . " UA_RFC_PDCE_NODE_ASSIGN
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_ed_code  TYPE SYSUBRC ,
ld_id_databasis  TYPE ACC_DATABASIS ,
it_et_object  TYPE STANDARD TABLE OF UAB_T_RFC_OBJECT_PDCE ,
wa_et_object  LIKE LINE OF it_et_object,
ld_is_object  TYPE UAB_S_RFC_OBJECT_PDCE ,
it_bapiret2  TYPE STANDARD TABLE OF BAPIRET2 ,
wa_bapiret2  LIKE LINE OF it_bapiret2,
ld_id_resp_pers  TYPE CHAR20 ,
ld_id_not_publish  TYPE BOOLE_D ,
ld_id_use_cost_for_price  TYPE BOOLE_D .

ld_id_databasis = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_et_object to it_et_object.
ld_is_object = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_bapiret2 to it_bapiret2.
ld_id_resp_pers = 'Check type of data required'.
ld_id_not_publish = 'Check type of data required'.
ld_id_use_cost_for_price = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name UA_RFC_PDCE_NODE_ASSIGN or its description.