SAP C10H_RECURSIVE_PARAMETERS_SET Function Module for NOTRANSL: EHS: Funktionsbaustein, der eine Schnittstelle simuliert
C10H_RECURSIVE_PARAMETERS_SET is a standard c10h recursive parameters set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: Funktionsbaustein, der eine Schnittstelle simuliert processing and below is the pattern details for this FM, 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 c10h recursive parameters set FM, simply by entering the name C10H_RECURSIVE_PARAMETERS_SET into the relevant SAP transaction such as SE37 or SE38.
Function Group: C10H
Program Name: SAPLC10H
Main Program: SAPLC10H
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function C10H_RECURSIVE_PARAMETERS_SET 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 'C10H_RECURSIVE_PARAMETERS_SET'"NOTRANSL: EHS: Funktionsbaustein, der eine Schnittstelle simuliert.
EXPORTING
I_MODE = "
I_LEVEL = "
I_TABLENAME_PARENT = "
I_AENNR = "
I_VALDAT = "
I_RECNROOT_ORIG = "
I_RECNROOT_COPY = "(See Long Text)
I_RECNPARENT_ORIG = "
I_RECNPARENT_COPY = "
I_FLG_DESCEND = "
I_COPY_INFO = "
IMPORTING Parameters details for C10H_RECURSIVE_PARAMETERS_SET
I_MODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_LEVEL -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
I_TABLENAME_PARENT -
Data type: ESP2_TABLENAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_AENNR -
Data type: RCGUADM-AENNROptional: No
Call by Reference: No ( called with pass by value option)
I_VALDAT -
Data type: RCGUADM-VALFROptional: No
Call by Reference: No ( called with pass by value option)
I_RECNROOT_ORIG -
Data type: RCGUADM-RECNROOTOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNROOT_COPY - (See Long Text)
Data type: RCGUADM-RECNROOTOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNPARENT_ORIG -
Data type: RCGUADM-RECNROOTOptional: No
Call by Reference: No ( called with pass by value option)
I_RECNPARENT_COPY -
Data type: RCGUADM-RECNROOTOptional: No
Call by Reference: No ( called with pass by value option)
I_FLG_DESCEND -
Data type: ESP1_BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
I_COPY_INFO -
Data type: RCGCPFLAGSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for C10H_RECURSIVE_PARAMETERS_SET 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_i_mode | TYPE STRING, " | |||
| lv_i_level | TYPE SY-TABIX, " | |||
| lv_i_tablename_parent | TYPE ESP2_TABLENAME, " | |||
| lv_i_aennr | TYPE RCGUADM-AENNR, " | |||
| lv_i_valdat | TYPE RCGUADM-VALFR, " | |||
| lv_i_recnroot_orig | TYPE RCGUADM-RECNROOT, " | |||
| lv_i_recnroot_copy | TYPE RCGUADM-RECNROOT, " | |||
| lv_i_recnparent_orig | TYPE RCGUADM-RECNROOT, " | |||
| lv_i_recnparent_copy | TYPE RCGUADM-RECNROOT, " | |||
| lv_i_flg_descend | TYPE ESP1_BOOLEAN, " | |||
| lv_i_copy_info | TYPE RCGCPFLAGS. " |
|   CALL FUNCTION 'C10H_RECURSIVE_PARAMETERS_SET' "NOTRANSL: EHS: Funktionsbaustein, der eine Schnittstelle simuliert |
| EXPORTING | ||
| I_MODE | = lv_i_mode | |
| I_LEVEL | = lv_i_level | |
| I_TABLENAME_PARENT | = lv_i_tablename_parent | |
| I_AENNR | = lv_i_aennr | |
| I_VALDAT | = lv_i_valdat | |
| I_RECNROOT_ORIG | = lv_i_recnroot_orig | |
| I_RECNROOT_COPY | = lv_i_recnroot_copy | |
| I_RECNPARENT_ORIG | = lv_i_recnparent_orig | |
| I_RECNPARENT_COPY | = lv_i_recnparent_copy | |
| I_FLG_DESCEND | = lv_i_flg_descend | |
| I_COPY_INFO | = lv_i_copy_info | |
| . " C10H_RECURSIVE_PARAMETERS_SET | ||
ABAP code using 7.40 inline data declarations to call FM C10H_RECURSIVE_PARAMETERS_SET
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 TABIX FROM SY INTO @DATA(ld_i_level). | ||||
| "SELECT single AENNR FROM RCGUADM INTO @DATA(ld_i_aennr). | ||||
| "SELECT single VALFR FROM RCGUADM INTO @DATA(ld_i_valdat). | ||||
| "SELECT single RECNROOT FROM RCGUADM INTO @DATA(ld_i_recnroot_orig). | ||||
| "SELECT single RECNROOT FROM RCGUADM INTO @DATA(ld_i_recnroot_copy). | ||||
| "SELECT single RECNROOT FROM RCGUADM INTO @DATA(ld_i_recnparent_orig). | ||||
| "SELECT single RECNROOT FROM RCGUADM INTO @DATA(ld_i_recnparent_copy). | ||||
Search for further information about these or an SAP related objects