SAP HR_PF_OLREP_ALV_99 Function Module for
HR_PF_OLREP_ALV_99 is a standard hr pf olrep alv 99 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 pf olrep alv 99 FM, simply by entering the name HR_PF_OLREP_ALV_99 into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPFD00VSIP
Program Name: SAPLHRPFD00VSIP
Main Program:
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_PF_OLREP_ALV_99 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_PF_OLREP_ALV_99'".
EXPORTING
KASSE = "
PERNR = "
* REFDA = SY-DATUM "
* VALTY = ' ' "
* INIT_BUFFER = ' ' "
* NCOLS = 9 "
* CALCN = ' ' "
IMPORTING
SEL_VALTY = "
SEL_VALUE = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLHRPFD00VSIP_001 HR-PF: User Exit for PC Operations
IMPORTING Parameters details for HR_PF_OLREP_ALV_99
KASSE -
Data type: T5CP0-KASSEOptional: No
Call by Reference: No ( called with pass by value option)
PERNR -
Data type: P0001-PERNROptional: No
Call by Reference: No ( called with pass by value option)
REFDA -
Data type: DDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
VALTY -
Data type: T5CA2-VALTYDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
INIT_BUFFER -
Data type: P02VS_FLAGDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
NCOLS -
Data type: IDefault: 9
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALCN -
Data type: P02_CALCNDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HR_PF_OLREP_ALV_99
SEL_VALTY -
Data type: T5CA2-VALTYOptional: No
Call by Reference: No ( called with pass by value option)
SEL_VALUE -
Data type: T5CAD-VALUEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_PF_OLREP_ALV_99 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_kasse | TYPE T5CP0-KASSE, " | |||
| lv_sel_valty | TYPE T5CA2-VALTY, " | |||
| lv_pernr | TYPE P0001-PERNR, " | |||
| lv_sel_value | TYPE T5CAD-VALUE, " | |||
| lv_refda | TYPE D, " SY-DATUM | |||
| lv_valty | TYPE T5CA2-VALTY, " ' ' | |||
| lv_init_buffer | TYPE P02VS_FLAG, " ' ' | |||
| lv_ncols | TYPE I, " 9 | |||
| lv_calcn | TYPE P02_CALCN. " ' ' |
|   CALL FUNCTION 'HR_PF_OLREP_ALV_99' " |
| EXPORTING | ||
| KASSE | = lv_kasse | |
| PERNR | = lv_pernr | |
| REFDA | = lv_refda | |
| VALTY | = lv_valty | |
| INIT_BUFFER | = lv_init_buffer | |
| NCOLS | = lv_ncols | |
| CALCN | = lv_calcn | |
| IMPORTING | ||
| SEL_VALTY | = lv_sel_valty | |
| SEL_VALUE | = lv_sel_value | |
| . " HR_PF_OLREP_ALV_99 | ||
ABAP code using 7.40 inline data declarations to call FM HR_PF_OLREP_ALV_99
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 KASSE FROM T5CP0 INTO @DATA(ld_kasse). | ||||
| "SELECT single VALTY FROM T5CA2 INTO @DATA(ld_sel_valty). | ||||
| "SELECT single PERNR FROM P0001 INTO @DATA(ld_pernr). | ||||
| "SELECT single VALUE FROM T5CAD INTO @DATA(ld_sel_value). | ||||
| DATA(ld_refda) | = SY-DATUM. | |||
| "SELECT single VALTY FROM T5CA2 INTO @DATA(ld_valty). | ||||
| DATA(ld_valty) | = ' '. | |||
| DATA(ld_init_buffer) | = ' '. | |||
| DATA(ld_ncols) | = 9. | |||
| DATA(ld_calcn) | = ' '. | |||
Search for further information about these or an SAP related objects