SAP HRUN_PAYSCALE_RECLASSIFICATION Function Module for Tarifliche Umstufung
HRUN_PAYSCALE_RECLASSIFICATION is a standard hrun payscale reclassification SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Tarifliche Umstufung 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 hrun payscale reclassification FM, simply by entering the name HRUN_PAYSCALE_RECLASSIFICATION into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPAYUN_RECLASS
Program Name: SAPLHRPAYUN_RECLASS
Main Program: SAPLHRPAYUN_RECLASS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HRUN_PAYSCALE_RECLASSIFICATION 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 'HRUN_PAYSCALE_RECLASSIFICATION'"Tarifliche Umstufung.
EXPORTING
PERNR = "
* PNNNN_TAB = "
* RECL_TYPE_TAB = "
* RPTIME_SIMULATION = 'X' "
* P0041_DATAR = "
* LIMIT_RECL = ' ' "
BEGDA = "
ENDDA = "
* P0008_SUBTY = '0 ' "
* RECL_TRFFG = "
* RECL_TRFFS = "
* RECL_DATE = "
* P0001_TAB = "
* P0008_TAB = "NPO: HR Master Record: Infotype 0008 (Basic Pay)
IMPORTING
P0008_TAB_NEW = "NPO: HR Master Record: Infotype 0008 (Basic Pay)
P0008_TAB_OLD = "NPO: HR Master Record: Infotype 0008 (Basic Pay)
ERROR_TAB = "
RECL_FLAG = "
RECL_DATE_TAB = "
REJECT_FLAG = "
FILTER_VALUE_TAB = "
PNNNN_TAB_NEW = "
IMPORTING Parameters details for HRUN_PAYSCALE_RECLASSIFICATION
PERNR -
Data type: PERSNOOptional: No
Call by Reference: Yes
PNNNN_TAB -
Data type: PRELP_TABOptional: Yes
Call by Reference: Yes
RECL_TYPE_TAB -
Data type: PSRTY_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
RPTIME_SIMULATION -
Data type:Default: 'X'
Optional: Yes
Call by Reference: Yes
P0041_DATAR -
Data type: DATAROptional: Yes
Call by Reference: Yes
LIMIT_RECL -
Data type: CDefault: ' '
Optional: Yes
Call by Reference: Yes
BEGDA -
Data type: BEGDAOptional: No
Call by Reference: Yes
ENDDA -
Data type: ENDDAOptional: No
Call by Reference: Yes
P0008_SUBTY -
Data type: SUBTYDefault: '0 '
Optional: Yes
Call by Reference: Yes
RECL_TRFFG -
Data type: TRFFGOptional: Yes
Call by Reference: Yes
RECL_TRFFS -
Data type: TRFFSOptional: Yes
Call by Reference: Yes
RECL_DATE -
Data type: DATUMOptional: Yes
Call by Reference: Yes
P0001_TAB -
Data type: P0001_TABOptional: Yes
Call by Reference: Yes
P0008_TAB - NPO: HR Master Record: Infotype 0008 (Basic Pay)
Data type: PUN_P0008_TABOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for HRUN_PAYSCALE_RECLASSIFICATION
P0008_TAB_NEW - NPO: HR Master Record: Infotype 0008 (Basic Pay)
Data type: PUN_P0008_TABOptional: No
Call by Reference: Yes
P0008_TAB_OLD - NPO: HR Master Record: Infotype 0008 (Basic Pay)
Data type: PUN_P0008_TABOptional: No
Call by Reference: Yes
ERROR_TAB -
Data type: HRERROR_TABOptional: No
Call by Reference: Yes
RECL_FLAG -
Data type: COptional: No
Call by Reference: Yes
RECL_DATE_TAB -
Data type: PSRDT_TABOptional: No
Call by Reference: Yes
REJECT_FLAG -
Data type: COptional: No
Call by Reference: Yes
FILTER_VALUE_TAB -
Data type: PSRFV_TABOptional: No
Call by Reference: Yes
PNNNN_TAB_NEW -
Data type: PRELP_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for HRUN_PAYSCALE_RECLASSIFICATION 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 PERSNO, " | |||
| lv_p0008_tab_new | TYPE PUN_P0008_TAB, " | |||
| lv_pnnnn_tab | TYPE PRELP_TAB, " | |||
| lv_recl_type_tab | TYPE PSRTY_TAB, " | |||
| lv_rptime_simulation | TYPE PSRTY_TAB, " 'X' | |||
| lv_p0041_datar | TYPE DATAR, " | |||
| lv_limit_recl | TYPE C, " ' ' | |||
| lv_begda | TYPE BEGDA, " | |||
| lv_p0008_tab_old | TYPE PUN_P0008_TAB, " | |||
| lv_endda | TYPE ENDDA, " | |||
| lv_error_tab | TYPE HRERROR_TAB, " | |||
| lv_recl_flag | TYPE C, " | |||
| lv_p0008_subty | TYPE SUBTY, " '0 ' | |||
| lv_recl_trffg | TYPE TRFFG, " | |||
| lv_recl_date_tab | TYPE PSRDT_TAB, " | |||
| lv_recl_trffs | TYPE TRFFS, " | |||
| lv_reject_flag | TYPE C, " | |||
| lv_recl_date | TYPE DATUM, " | |||
| lv_filter_value_tab | TYPE PSRFV_TAB, " | |||
| lv_p0001_tab | TYPE P0001_TAB, " | |||
| lv_pnnnn_tab_new | TYPE PRELP_TAB, " | |||
| lv_p0008_tab | TYPE PUN_P0008_TAB. " |
|   CALL FUNCTION 'HRUN_PAYSCALE_RECLASSIFICATION' "Tarifliche Umstufung |
| EXPORTING | ||
| PERNR | = lv_pernr | |
| PNNNN_TAB | = lv_pnnnn_tab | |
| RECL_TYPE_TAB | = lv_recl_type_tab | |
| RPTIME_SIMULATION | = lv_rptime_simulation | |
| P0041_DATAR | = lv_p0041_datar | |
| LIMIT_RECL | = lv_limit_recl | |
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| P0008_SUBTY | = lv_p0008_subty | |
| RECL_TRFFG | = lv_recl_trffg | |
| RECL_TRFFS | = lv_recl_trffs | |
| RECL_DATE | = lv_recl_date | |
| P0001_TAB | = lv_p0001_tab | |
| P0008_TAB | = lv_p0008_tab | |
| IMPORTING | ||
| P0008_TAB_NEW | = lv_p0008_tab_new | |
| P0008_TAB_OLD | = lv_p0008_tab_old | |
| ERROR_TAB | = lv_error_tab | |
| RECL_FLAG | = lv_recl_flag | |
| RECL_DATE_TAB | = lv_recl_date_tab | |
| REJECT_FLAG | = lv_reject_flag | |
| FILTER_VALUE_TAB | = lv_filter_value_tab | |
| PNNNN_TAB_NEW | = lv_pnnnn_tab_new | |
| . " HRUN_PAYSCALE_RECLASSIFICATION | ||
ABAP code using 7.40 inline data declarations to call FM HRUN_PAYSCALE_RECLASSIFICATION
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.| DATA(ld_rptime_simulation) | = 'X'. | |||
| DATA(ld_limit_recl) | = ' '. | |||
| DATA(ld_p0008_subty) | = '0 '. | |||
Search for further information about these or an SAP related objects