SAP HR_BEN_TEST_PARAM_BEN_XORCT Function Module for
HR_BEN_TEST_PARAM_BEN_XORCT is a standard hr ben test param ben xorct 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 hr ben test param ben xorct FM, simply by entering the name HR_BEN_TEST_PARAM_BEN_XORCT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRBEN00DEPBENINV
Program Name: SAPLHRBEN00DEPBENINV
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_BEN_TEST_PARAM_BEN_XORCT 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_BEN_TEST_PARAM_BEN_XORCT'".
EXPORTING
PERNR = "
BAREA = "
BPLAN = "
DATUM = "
REACTION = "
IMPORTING
TEST_STATUS = "
SUBRC = "
TABLES
BEN_SELEC = "
TEST_ERRORS = "
ERROR_TABLE = "
IMPORTING Parameters details for HR_BEN_TEST_PARAM_BEN_XORCT
PERNR -
Data type: PSKEY-PERNROptional: No
Call by Reference: No ( called with pass by value option)
BAREA -
Data type: T5UB3-BAREAOptional: No
Call by Reference: No ( called with pass by value option)
BPLAN -
Data type: T5UBA-BPLANOptional: No
Call by Reference: No ( called with pass by value option)
DATUM -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
REACTION -
Data type: SY-MSGTYOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_BEN_TEST_PARAM_BEN_XORCT
TEST_STATUS -
Data type: RPBENRPT01-CONSIOptional: No
Call by Reference: No ( called with pass by value option)
SUBRC -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_BEN_TEST_PARAM_BEN_XORCT
BEN_SELEC -
Data type: RPBENSBFOptional: No
Call by Reference: No ( called with pass by value option)
TEST_ERRORS -
Data type: RPBENERROptional: No
Call by Reference: No ( called with pass by value option)
ERROR_TABLE -
Data type: RPBENERROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_BEN_TEST_PARAM_BEN_XORCT 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_pernr | TYPE PSKEY-PERNR, " | |||
| lt_ben_selec | TYPE STANDARD TABLE OF RPBENSBF, " | |||
| lv_test_status | TYPE RPBENRPT01-CONSI, " | |||
| lv_barea | TYPE T5UB3-BAREA, " | |||
| lv_subrc | TYPE SY-SUBRC, " | |||
| lt_test_errors | TYPE STANDARD TABLE OF RPBENERR, " | |||
| lv_bplan | TYPE T5UBA-BPLAN, " | |||
| lt_error_table | TYPE STANDARD TABLE OF RPBENERR, " | |||
| lv_datum | TYPE SY-DATUM, " | |||
| lv_reaction | TYPE SY-MSGTY. " |
|   CALL FUNCTION 'HR_BEN_TEST_PARAM_BEN_XORCT' " |
| EXPORTING | ||
| PERNR | = lv_pernr | |
| BAREA | = lv_barea | |
| BPLAN | = lv_bplan | |
| DATUM | = lv_datum | |
| REACTION | = lv_reaction | |
| IMPORTING | ||
| TEST_STATUS | = lv_test_status | |
| SUBRC | = lv_subrc | |
| TABLES | ||
| BEN_SELEC | = lt_ben_selec | |
| TEST_ERRORS | = lt_test_errors | |
| ERROR_TABLE | = lt_error_table | |
| . " HR_BEN_TEST_PARAM_BEN_XORCT | ||
ABAP code using 7.40 inline data declarations to call FM HR_BEN_TEST_PARAM_BEN_XORCT
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 PERNR FROM PSKEY INTO @DATA(ld_pernr). | ||||
| "SELECT single CONSI FROM RPBENRPT01 INTO @DATA(ld_test_status). | ||||
| "SELECT single BAREA FROM T5UB3 INTO @DATA(ld_barea). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_subrc). | ||||
| "SELECT single BPLAN FROM T5UBA INTO @DATA(ld_bplan). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_datum). | ||||
| "SELECT single MSGTY FROM SY INTO @DATA(ld_reaction). | ||||
Search for further information about these or an SAP related objects