SAP RKD_HIERARCHY_NODE_CHANGE Function Module for
RKD_HIERARCHY_NODE_CHANGE is a standard rkd hierarchy node change 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 rkd hierarchy node change FM, simply by entering the name RKD_HIERARCHY_NODE_CHANGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: KYP5
Program Name: SAPLKYP5
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RKD_HIERARCHY_NODE_CHANGE 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 'RKD_HIERARCHY_NODE_CHANGE'".
EXPORTING
APPLCLASS = "
I_DIMPR = "
I_FIELD_TAB = "
I_HCLASS = "
I_HIENM = "
I_H_TKESV = "
I_K_TKESV = "
* I_RKB1X = "
I_TABNM = "
I_TYPE = "
IMPORTING
E_VAR_CHANGED = "
CHANGING
C_SEIG_WA = "
C_SH_TAB = "
C_VAR_TAB = "
C_S_BED = "
IMPORTING Parameters details for RKD_HIERARCHY_NODE_CHANGE
APPLCLASS -
Data type: RKB1D-APPLCLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_DIMPR -
Data type: RKD_S_LCOL-DIMPROptional: No
Call by Reference: No ( called with pass by value option)
I_FIELD_TAB -
Data type: RKD_T_FIELDOptional: No
Call by Reference: No ( called with pass by value option)
I_HCLASS -
Data type: RSTHINFO-HCLASSOptional: No
Call by Reference: No ( called with pass by value option)
I_HIENM -
Data type: RSTHINFO-HIENMOptional: No
Call by Reference: No ( called with pass by value option)
I_H_TKESV -
Data type: TKESVOptional: No
Call by Reference: No ( called with pass by value option)
I_K_TKESV -
Data type: TKESVOptional: No
Call by Reference: No ( called with pass by value option)
I_RKB1X -
Data type: RKB1XOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TABNM -
Data type: RSTHINFO-TABNMOptional: No
Call by Reference: No ( called with pass by value option)
I_TYPE -
Data type: CFBSE01-TYPEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RKD_HIERARCHY_NODE_CHANGE
E_VAR_CHANGED -
Data type: CCVALID-XFELDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RKD_HIERARCHY_NODE_CHANGE
C_SEIG_WA -
Data type: CFBSE01Optional: No
Call by Reference: No ( called with pass by value option)
C_SH_TAB -
Data type: RKD_T_SHOptional: No
Call by Reference: No ( called with pass by value option)
C_VAR_TAB -
Data type: RKD_T_VAROptional: No
Call by Reference: No ( called with pass by value option)
C_S_BED -
Data type: RKD_S_BEDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RKD_HIERARCHY_NODE_CHANGE 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_applclass | TYPE RKB1D-APPLCLASS, " | |||
| lv_c_seig_wa | TYPE CFBSE01, " | |||
| lv_e_var_changed | TYPE CCVALID-XFELD, " | |||
| lv_i_dimpr | TYPE RKD_S_LCOL-DIMPR, " | |||
| lv_c_sh_tab | TYPE RKD_T_SH, " | |||
| lv_i_field_tab | TYPE RKD_T_FIELD, " | |||
| lv_i_hclass | TYPE RSTHINFO-HCLASS, " | |||
| lv_c_var_tab | TYPE RKD_T_VAR, " | |||
| lv_c_s_bed | TYPE RKD_S_BED, " | |||
| lv_i_hienm | TYPE RSTHINFO-HIENM, " | |||
| lv_i_h_tkesv | TYPE TKESV, " | |||
| lv_i_k_tkesv | TYPE TKESV, " | |||
| lv_i_rkb1x | TYPE RKB1X, " | |||
| lv_i_tabnm | TYPE RSTHINFO-TABNM, " | |||
| lv_i_type | TYPE CFBSE01-TYPE. " |
|   CALL FUNCTION 'RKD_HIERARCHY_NODE_CHANGE' " |
| EXPORTING | ||
| APPLCLASS | = lv_applclass | |
| I_DIMPR | = lv_i_dimpr | |
| I_FIELD_TAB | = lv_i_field_tab | |
| I_HCLASS | = lv_i_hclass | |
| I_HIENM | = lv_i_hienm | |
| I_H_TKESV | = lv_i_h_tkesv | |
| I_K_TKESV | = lv_i_k_tkesv | |
| I_RKB1X | = lv_i_rkb1x | |
| I_TABNM | = lv_i_tabnm | |
| I_TYPE | = lv_i_type | |
| IMPORTING | ||
| E_VAR_CHANGED | = lv_e_var_changed | |
| CHANGING | ||
| C_SEIG_WA | = lv_c_seig_wa | |
| C_SH_TAB | = lv_c_sh_tab | |
| C_VAR_TAB | = lv_c_var_tab | |
| C_S_BED | = lv_c_s_bed | |
| . " RKD_HIERARCHY_NODE_CHANGE | ||
ABAP code using 7.40 inline data declarations to call FM RKD_HIERARCHY_NODE_CHANGE
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.| "SELECT single APPLCLASS FROM RKB1D INTO @DATA(ld_applclass). | ||||
| "SELECT single XFELD FROM CCVALID INTO @DATA(ld_e_var_changed). | ||||
| "SELECT single DIMPR FROM RKD_S_LCOL INTO @DATA(ld_i_dimpr). | ||||
| "SELECT single HCLASS FROM RSTHINFO INTO @DATA(ld_i_hclass). | ||||
| "SELECT single HIENM FROM RSTHINFO INTO @DATA(ld_i_hienm). | ||||
| "SELECT single TABNM FROM RSTHINFO INTO @DATA(ld_i_tabnm). | ||||
| "SELECT single TYPE FROM CFBSE01 INTO @DATA(ld_i_type). | ||||
Search for further information about these or an SAP related objects