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

Function HR_BEN_PAY_SPLIT_MODEL_AMOUNT 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_PAY_SPLIT_MODEL_AMOUNT'".
EXPORTING
MODEL = "
PABRJ = "
PABRP = "
IN_BETRG1 = "
* IN_BETRG2 = "
* IN_BETRG3 = "
* IN_BETRG4 = "
* IN_BETRG5 = "
* SW_PROT = "
IMPORTING
OUT_BETRG1 = "
OUT_BETRG2 = "
OUT_BETRG3 = "
OUT_BETRG4 = "
OUT_BETRG5 = "
SUBRC = "
TABLES
* PTEXT = "
ERROR_TABLE = "
IMPORTING Parameters details for HR_BEN_PAY_SPLIT_MODEL_AMOUNT
MODEL -
Data type: T549W-MODELOptional: No
Call by Reference: No ( called with pass by value option)
PABRJ -
Data type: T549Q-PABRJOptional: No
Call by Reference: No ( called with pass by value option)
PABRP -
Data type: T549Q-PABRPOptional: No
Call by Reference: No ( called with pass by value option)
IN_BETRG1 -
Data type: RPBEN_DA-EECSTOptional: No
Call by Reference: No ( called with pass by value option)
IN_BETRG2 -
Data type: RPBEN_DA-EECSTOptional: Yes
Call by Reference: No ( called with pass by value option)
IN_BETRG3 -
Data type: RPBEN_DA-EECSTOptional: Yes
Call by Reference: No ( called with pass by value option)
IN_BETRG4 -
Data type: RPBEN_DA-EECSTOptional: Yes
Call by Reference: No ( called with pass by value option)
IN_BETRG5 -
Data type: RPBEN_DA-EECSTOptional: Yes
Call by Reference: No ( called with pass by value option)
SW_PROT -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_BEN_PAY_SPLIT_MODEL_AMOUNT
OUT_BETRG1 -
Data type: RPBEN_DA-EECSTOptional: No
Call by Reference: No ( called with pass by value option)
OUT_BETRG2 -
Data type: RPBEN_DA-EECSTOptional: No
Call by Reference: No ( called with pass by value option)
OUT_BETRG3 -
Data type: RPBEN_DA-EECSTOptional: No
Call by Reference: No ( called with pass by value option)
OUT_BETRG4 -
Data type: RPBEN_DA-EECSTOptional: No
Call by Reference: No ( called with pass by value option)
OUT_BETRG5 -
Data type: RPBEN_DA-EECSTOptional: 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_PAY_SPLIT_MODEL_AMOUNT
PTEXT -
Data type: PLOG_TEXTOptional: Yes
Call by Reference: Yes
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_PAY_SPLIT_MODEL_AMOUNT 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_model | TYPE T549W-MODEL, " | |||
| lt_ptext | TYPE STANDARD TABLE OF PLOG_TEXT, " | |||
| lv_out_betrg1 | TYPE RPBEN_DA-EECST, " | |||
| lv_pabrj | TYPE T549Q-PABRJ, " | |||
| lv_out_betrg2 | TYPE RPBEN_DA-EECST, " | |||
| lt_error_table | TYPE STANDARD TABLE OF RPBENERR, " | |||
| lv_pabrp | TYPE T549Q-PABRP, " | |||
| lv_out_betrg3 | TYPE RPBEN_DA-EECST, " | |||
| lv_in_betrg1 | TYPE RPBEN_DA-EECST, " | |||
| lv_out_betrg4 | TYPE RPBEN_DA-EECST, " | |||
| lv_in_betrg2 | TYPE RPBEN_DA-EECST, " | |||
| lv_out_betrg5 | TYPE RPBEN_DA-EECST, " | |||
| lv_subrc | TYPE SY-SUBRC, " | |||
| lv_in_betrg3 | TYPE RPBEN_DA-EECST, " | |||
| lv_in_betrg4 | TYPE RPBEN_DA-EECST, " | |||
| lv_in_betrg5 | TYPE RPBEN_DA-EECST, " | |||
| lv_sw_prot | TYPE C. " |
|   CALL FUNCTION 'HR_BEN_PAY_SPLIT_MODEL_AMOUNT' " |
| EXPORTING | ||
| MODEL | = lv_model | |
| PABRJ | = lv_pabrj | |
| PABRP | = lv_pabrp | |
| IN_BETRG1 | = lv_in_betrg1 | |
| IN_BETRG2 | = lv_in_betrg2 | |
| IN_BETRG3 | = lv_in_betrg3 | |
| IN_BETRG4 | = lv_in_betrg4 | |
| IN_BETRG5 | = lv_in_betrg5 | |
| SW_PROT | = lv_sw_prot | |
| IMPORTING | ||
| OUT_BETRG1 | = lv_out_betrg1 | |
| OUT_BETRG2 | = lv_out_betrg2 | |
| OUT_BETRG3 | = lv_out_betrg3 | |
| OUT_BETRG4 | = lv_out_betrg4 | |
| OUT_BETRG5 | = lv_out_betrg5 | |
| SUBRC | = lv_subrc | |
| TABLES | ||
| PTEXT | = lt_ptext | |
| ERROR_TABLE | = lt_error_table | |
| . " HR_BEN_PAY_SPLIT_MODEL_AMOUNT | ||
ABAP code using 7.40 inline data declarations to call FM HR_BEN_PAY_SPLIT_MODEL_AMOUNT
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 MODEL FROM T549W INTO @DATA(ld_model). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_out_betrg1). | ||||
| "SELECT single PABRJ FROM T549Q INTO @DATA(ld_pabrj). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_out_betrg2). | ||||
| "SELECT single PABRP FROM T549Q INTO @DATA(ld_pabrp). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_out_betrg3). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_in_betrg1). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_out_betrg4). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_in_betrg2). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_out_betrg5). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_subrc). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_in_betrg3). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_in_betrg4). | ||||
| "SELECT single EECST FROM RPBEN_DA INTO @DATA(ld_in_betrg5). | ||||
Search for further information about these or an SAP related objects