SAP HR_LJN_RETRO_PARAMETERS Function Module for









HR_LJN_RETRO_PARAMETERS is a standard hr ljn retro parameters 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 ljn retro parameters FM, simply by entering the name HR_LJN_RETRO_PARAMETERS into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRPAY00_FORMS
Program Name: SAPLHRPAY00_FORMS
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function HR_LJN_RETRO_PARAMETERS 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_LJN_RETRO_PARAMETERS'"
EXPORTING
* MODE_PRT_RCAL = 'G' "
* MODE_TYP_RCAL = 'G' "
* MODE_SRT_RCAL = 'G' "
* EXCLUDE_PRT = "
* EXCLUDE_TYP = "
* EXCLUDE_SRT = "
* ALLOW_CANCEL = 'X' "

CHANGING
* VAL_PRT_RCAL = 'X' "
* VAL_TYP_RCAL = 'S' "
* VAL_SRT_RCAL = '1' "
* VAL_PRT_OSR = ' ' "
.



IMPORTING Parameters details for HR_LJN_RETRO_PARAMETERS

MODE_PRT_RCAL -

Data type: C
Default: 'G'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MODE_TYP_RCAL -

Data type: C
Default: 'G'
Optional: Yes
Call by Reference: No ( called with pass by value option)

MODE_SRT_RCAL -

Data type: C
Default: 'G'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCLUDE_PRT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCLUDE_TYP -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCLUDE_SRT -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

ALLOW_CANCEL -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for HR_LJN_RETRO_PARAMETERS

VAL_PRT_RCAL -

Data type: RPCEDTX0-PRT_RCAL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

VAL_TYP_RCAL -

Data type: RPCEDTX0-TYP_RCAL
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

VAL_SRT_RCAL -

Data type: RPCEDTX0-SRT_RCAL
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

VAL_PRT_OSR -

Data type: RPCEDTX0-PRT_OSR
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for HR_LJN_RETRO_PARAMETERS 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_val_prt_rcal  TYPE RPCEDTX0-PRT_RCAL, "   'X'
lv_mode_prt_rcal  TYPE C, "   'G'
lv_val_typ_rcal  TYPE RPCEDTX0-TYP_RCAL, "   'S'
lv_mode_typ_rcal  TYPE C, "   'G'
lv_val_srt_rcal  TYPE RPCEDTX0-SRT_RCAL, "   '1'
lv_mode_srt_rcal  TYPE C, "   'G'
lv_exclude_prt  TYPE C, "   
lv_val_prt_osr  TYPE RPCEDTX0-PRT_OSR, "   ' '
lv_exclude_typ  TYPE C, "   
lv_exclude_srt  TYPE C, "   
lv_allow_cancel  TYPE C. "   'X'

  CALL FUNCTION 'HR_LJN_RETRO_PARAMETERS'  "
    EXPORTING
         MODE_PRT_RCAL = lv_mode_prt_rcal
         MODE_TYP_RCAL = lv_mode_typ_rcal
         MODE_SRT_RCAL = lv_mode_srt_rcal
         EXCLUDE_PRT = lv_exclude_prt
         EXCLUDE_TYP = lv_exclude_typ
         EXCLUDE_SRT = lv_exclude_srt
         ALLOW_CANCEL = lv_allow_cancel
    CHANGING
         VAL_PRT_RCAL = lv_val_prt_rcal
         VAL_TYP_RCAL = lv_val_typ_rcal
         VAL_SRT_RCAL = lv_val_srt_rcal
         VAL_PRT_OSR = lv_val_prt_osr
. " HR_LJN_RETRO_PARAMETERS




ABAP code using 7.40 inline data declarations to call FM HR_LJN_RETRO_PARAMETERS

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 PRT_RCAL FROM RPCEDTX0 INTO @DATA(ld_val_prt_rcal).
DATA(ld_val_prt_rcal) = 'X'.
 
DATA(ld_mode_prt_rcal) = 'G'.
 
"SELECT single TYP_RCAL FROM RPCEDTX0 INTO @DATA(ld_val_typ_rcal).
DATA(ld_val_typ_rcal) = 'S'.
 
DATA(ld_mode_typ_rcal) = 'G'.
 
"SELECT single SRT_RCAL FROM RPCEDTX0 INTO @DATA(ld_val_srt_rcal).
DATA(ld_val_srt_rcal) = '1'.
 
DATA(ld_mode_srt_rcal) = 'G'.
 
 
"SELECT single PRT_OSR FROM RPCEDTX0 INTO @DATA(ld_val_prt_osr).
DATA(ld_val_prt_osr) = ' '.
 
 
 
DATA(ld_allow_cancel) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!