SAP HR_BE_SI_RETRIEVE_DECL_DATA Function Module for HR-BE: Convert declaration to prepared format
HR_BE_SI_RETRIEVE_DECL_DATA is a standard hr be si retrieve decl data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for HR-BE: Convert declaration to prepared format 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 hr be si retrieve decl data FM, simply by entering the name HR_BE_SI_RETRIEVE_DECL_DATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: 0PBS
Program Name: SAPL0PBS
Main Program: SAPL0PBS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_BE_SI_RETRIEVE_DECL_DATA 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 'HR_BE_SI_RETRIEVE_DECL_DATA'"HR-BE: Convert declaration to prepared format.
EXPORTING
LIMITED_CONVERSION = "
IMPORTING
E_LEVEL0 = "
TABLES
I_SIDECL = "
E_LEVEL1 = "
E_REDUCTION_LEVEL1 = "
E_CONTRIBUTION_LEVEL1 = "
E_LEVEL2 = "
* E_LEVEL3 = "Employee information except reductions ( level 3 )
* E_REDUCTION_LEVEL3 = "Reductions for an employee reported on level 3
* E_LEVEL4 = "Employee remuneration and absence information ( level 4)
IMPORTING Parameters details for HR_BE_SI_RETRIEVE_DECL_DATA
LIMITED_CONVERSION -
Data type:Optional: No
Call by Reference: Yes
EXPORTING Parameters details for HR_BE_SI_RETRIEVE_DECL_DATA
E_LEVEL0 -
Data type: PBESD_0XXOptional: No
Call by Reference: Yes
TABLES Parameters details for HR_BE_SI_RETRIEVE_DECL_DATA
I_SIDECL -
Data type: PBESD_TAB_SIDECLOptional: No
Call by Reference: Yes
E_LEVEL1 -
Data type: PBESD_TAB_1XXOptional: No
Call by Reference: Yes
E_REDUCTION_LEVEL1 -
Data type: PBESD_TAB_250Optional: No
Call by Reference: Yes
E_CONTRIBUTION_LEVEL1 -
Data type: PBESD_TAB_260Optional: No
Call by Reference: Yes
E_LEVEL2 -
Data type: PBESD_TAB_2XXOptional: No
Call by Reference: Yes
E_LEVEL3 - Employee information except reductions ( level 3 )
Data type: T5BS3Optional: Yes
Call by Reference: Yes
E_REDUCTION_LEVEL3 - Reductions for an employee reported on level 3
Data type: T5BSROptional: Yes
Call by Reference: Yes
E_LEVEL4 - Employee remuneration and absence information ( level 4)
Data type: T5BS4Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HR_BE_SI_RETRIEVE_DECL_DATA 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_e_level0 | TYPE PBESD_0XX, " | |||
| lt_i_sidecl | TYPE STANDARD TABLE OF PBESD_TAB_SIDECL, " | |||
| lv_limited_conversion | TYPE PBESD_TAB_SIDECL, " | |||
| lt_e_level1 | TYPE STANDARD TABLE OF PBESD_TAB_1XX, " | |||
| lt_e_reduction_level1 | TYPE STANDARD TABLE OF PBESD_TAB_250, " | |||
| lt_e_contribution_level1 | TYPE STANDARD TABLE OF PBESD_TAB_260, " | |||
| lt_e_level2 | TYPE STANDARD TABLE OF PBESD_TAB_2XX, " | |||
| lt_e_level3 | TYPE STANDARD TABLE OF T5BS3, " | |||
| lt_e_reduction_level3 | TYPE STANDARD TABLE OF T5BSR, " | |||
| lt_e_level4 | TYPE STANDARD TABLE OF T5BS4. " |
|   CALL FUNCTION 'HR_BE_SI_RETRIEVE_DECL_DATA' "HR-BE: Convert declaration to prepared format |
| EXPORTING | ||
| LIMITED_CONVERSION | = lv_limited_conversion | |
| IMPORTING | ||
| E_LEVEL0 | = lv_e_level0 | |
| TABLES | ||
| I_SIDECL | = lt_i_sidecl | |
| E_LEVEL1 | = lt_e_level1 | |
| E_REDUCTION_LEVEL1 | = lt_e_reduction_level1 | |
| E_CONTRIBUTION_LEVEL1 | = lt_e_contribution_level1 | |
| E_LEVEL2 | = lt_e_level2 | |
| E_LEVEL3 | = lt_e_level3 | |
| E_REDUCTION_LEVEL3 | = lt_e_reduction_level3 | |
| E_LEVEL4 | = lt_e_level4 | |
| . " HR_BE_SI_RETRIEVE_DECL_DATA | ||
ABAP code using 7.40 inline data declarations to call FM HR_BE_SI_RETRIEVE_DECL_DATA
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