SAP RKD_NODE_LEAFS_GET Function Module for









RKD_NODE_LEAFS_GET is a standard rkd node leafs get 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 node leafs get FM, simply by entering the name RKD_NODE_LEAFS_GET 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_NODE_LEAFS_GET 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_NODE_LEAFS_GET'"
EXPORTING
I_APPLCLASS = "
* I_EQ_NODE = "
I_S_RSTHVKEY = "
I_TYPE = "
I_NODE = "
* I_NODEI = "
* I_S_RKB1X = "
* I_COMPOUND = "
* I_S_SEL = "
I_T_FDEP = "

CHANGING
* C_T_INDEX = "
* C_T_HIERBT = "
* C_T_HIEREQ = "
* C_T_SEL = "

EXCEPTIONS
KEY_NOT_EXIST = 1
.



IMPORTING Parameters details for RKD_NODE_LEAFS_GET

I_APPLCLASS -

Data type: RKB1D-APPLCLASS
Optional: No
Call by Reference: No ( called with pass by value option)

I_EQ_NODE -

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

I_S_RSTHVKEY -

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

I_TYPE -

Data type: RSTHIE-TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

I_NODE -

Data type: RSTHIE-NAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_NODEI -

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

I_S_RKB1X -

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

I_COMPOUND -

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

I_S_SEL -

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

I_T_FDEP -

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

CHANGING Parameters details for RKD_NODE_LEAFS_GET

C_T_INDEX -

Data type: RKD6_T_NINDEX
Optional: Yes
Call by Reference: Yes

C_T_HIERBT -

Data type: RKD6_T_HIERBT
Optional: Yes
Call by Reference: Yes

C_T_HIEREQ -

Data type: RKD6_T_HIEREQ
Optional: Yes
Call by Reference: Yes

C_T_SEL -

Data type: RKD_T_SEL
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

KEY_NOT_EXIST -

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

Copy and paste ABAP code example for RKD_NODE_LEAFS_GET 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_c_t_index  TYPE RKD6_T_NINDEX, "   
lv_i_applclass  TYPE RKB1D-APPLCLASS, "   
lv_key_not_exist  TYPE RKB1D, "   
lv_i_eq_node  TYPE RSTTYP-NODE_INPUT, "   
lv_c_t_hierbt  TYPE RKD6_T_HIERBT, "   
lv_i_s_rsthvkey  TYPE RSTHVKEY, "   
lv_i_type  TYPE RSTHIE-TYPE, "   
lv_c_t_hiereq  TYPE RKD6_T_HIEREQ, "   
lv_i_node  TYPE RSTHIE-NAME, "   
lv_c_t_sel  TYPE RKD_T_SEL, "   
lv_i_nodei  TYPE CFBSN01-NODEI, "   
lv_i_s_rkb1x  TYPE RKB1X, "   
lv_i_compound  TYPE RSTHDIVERS-COMPOUND, "   
lv_i_s_sel  TYPE RKD_S_SEL, "   
lv_i_t_fdep  TYPE RKD_T_FDEP. "   

  CALL FUNCTION 'RKD_NODE_LEAFS_GET'  "
    EXPORTING
         I_APPLCLASS = lv_i_applclass
         I_EQ_NODE = lv_i_eq_node
         I_S_RSTHVKEY = lv_i_s_rsthvkey
         I_TYPE = lv_i_type
         I_NODE = lv_i_node
         I_NODEI = lv_i_nodei
         I_S_RKB1X = lv_i_s_rkb1x
         I_COMPOUND = lv_i_compound
         I_S_SEL = lv_i_s_sel
         I_T_FDEP = lv_i_t_fdep
    CHANGING
         C_T_INDEX = lv_c_t_index
         C_T_HIERBT = lv_c_t_hierbt
         C_T_HIEREQ = lv_c_t_hiereq
         C_T_SEL = lv_c_t_sel
    EXCEPTIONS
        KEY_NOT_EXIST = 1
. " RKD_NODE_LEAFS_GET




ABAP code using 7.40 inline data declarations to call FM RKD_NODE_LEAFS_GET

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_i_applclass).
 
 
"SELECT single NODE_INPUT FROM RSTTYP INTO @DATA(ld_i_eq_node).
 
 
 
"SELECT single TYPE FROM RSTHIE INTO @DATA(ld_i_type).
 
 
"SELECT single NAME FROM RSTHIE INTO @DATA(ld_i_node).
 
 
"SELECT single NODEI FROM CFBSN01 INTO @DATA(ld_i_nodei).
 
 
"SELECT single COMPOUND FROM RSTHDIVERS INTO @DATA(ld_i_compound).
 
 
 


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!