SAP HR_PL_D_IN_F16 Function Module for Display results table F16
HR_PL_D_IN_F16 is a standard hr pl d in f16 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display results table F16 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 hr pl d in f16 FM, simply by entering the name HR_PL_D_IN_F16 into the relevant SAP transaction such as SE37 or SE38.
Function Group: 31IN
Program Name: SAPL31IN
Main Program: SAPL31IN
Appliation area: P
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_PL_D_IN_F16 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_PL_D_IN_F16'"Display results table F16.
EXPORTING
IMP_INTCA = "
* IMP_BEGDA = "
* IMP_ENDDA = '99991231' "
* IMP_PSEARCH = "
* IMP_OFFSET = 1 "
* IMP_MARKTAB = "
IMP_CURRENCY = "
IMP_TABLE = "
* IMP_LOOK = "
* IMP_DETAIL = 'X' "
* IMP_PROCESS = "
* IMP_LEVEL = 1 "
* IMP_MODIF = "
TABLES
* IMP_PTEXT = "
* IMP_HITLIST = "
IMPORTING Parameters details for HR_PL_D_IN_F16
IMP_INTCA -
Data type: T500L-INTCAOptional: No
Call by Reference: No ( called with pass by value option)
IMP_BEGDA -
Data type: DOptional: Yes
Call by Reference: No ( called with pass by value option)
IMP_ENDDA -
Data type: DDefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_PSEARCH -
Data type: SY-LISELOptional: Yes
Call by Reference: No ( called with pass by value option)
IMP_OFFSET -
Data type: IDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_MARKTAB -
Data type: HRPLOG_MARKTABOptional: Yes
Call by Reference: No ( called with pass by value option)
IMP_CURRENCY -
Data type: WAERSOptional: No
Call by Reference: No ( called with pass by value option)
IMP_TABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IMP_LOOK -
Data type: RPUXXXXX-KR_FELD2Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_DETAIL -
Data type: RPUXXXXX-KR_FELD2Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_PROCESS -
Data type: RPUXXXXX-KR_FELD2Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_LEVEL -
Data type: PLOG_TEXT-TLEVELDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
IMP_MODIF -
Data type: HRPLOG_MODIFOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_PL_D_IN_F16
IMP_PTEXT -
Data type: PLOG_TEXTOptional: Yes
Call by Reference: No ( called with pass by value option)
IMP_HITLIST -
Data type: HRPLOG_HITLISTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for HR_PL_D_IN_F16 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_imp_intca | TYPE T500L-INTCA, " | |||
| lt_imp_ptext | TYPE STANDARD TABLE OF PLOG_TEXT, " | |||
| lv_imp_begda | TYPE D, " | |||
| lv_imp_endda | TYPE D, " '99991231' | |||
| lv_imp_psearch | TYPE SY-LISEL, " | |||
| lv_imp_offset | TYPE I, " 1 | |||
| lt_imp_hitlist | TYPE STANDARD TABLE OF HRPLOG_HITLIST, " | |||
| lv_imp_marktab | TYPE HRPLOG_MARKTAB, " | |||
| lv_imp_currency | TYPE WAERS, " | |||
| lv_imp_table | TYPE WAERS, " | |||
| lv_imp_look | TYPE RPUXXXXX-KR_FELD2, " | |||
| lv_imp_detail | TYPE RPUXXXXX-KR_FELD2, " 'X' | |||
| lv_imp_process | TYPE RPUXXXXX-KR_FELD2, " | |||
| lv_imp_level | TYPE PLOG_TEXT-TLEVEL, " 1 | |||
| lv_imp_modif | TYPE HRPLOG_MODIF. " |
|   CALL FUNCTION 'HR_PL_D_IN_F16' "Display results table F16 |
| EXPORTING | ||
| IMP_INTCA | = lv_imp_intca | |
| IMP_BEGDA | = lv_imp_begda | |
| IMP_ENDDA | = lv_imp_endda | |
| IMP_PSEARCH | = lv_imp_psearch | |
| IMP_OFFSET | = lv_imp_offset | |
| IMP_MARKTAB | = lv_imp_marktab | |
| IMP_CURRENCY | = lv_imp_currency | |
| IMP_TABLE | = lv_imp_table | |
| IMP_LOOK | = lv_imp_look | |
| IMP_DETAIL | = lv_imp_detail | |
| IMP_PROCESS | = lv_imp_process | |
| IMP_LEVEL | = lv_imp_level | |
| IMP_MODIF | = lv_imp_modif | |
| TABLES | ||
| IMP_PTEXT | = lt_imp_ptext | |
| IMP_HITLIST | = lt_imp_hitlist | |
| . " HR_PL_D_IN_F16 | ||
ABAP code using 7.40 inline data declarations to call FM HR_PL_D_IN_F16
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 INTCA FROM T500L INTO @DATA(ld_imp_intca). | ||||
| DATA(ld_imp_endda) | = '99991231'. | |||
| "SELECT single LISEL FROM SY INTO @DATA(ld_imp_psearch). | ||||
| DATA(ld_imp_offset) | = 1. | |||
| "SELECT single KR_FELD2 FROM RPUXXXXX INTO @DATA(ld_imp_look). | ||||
| "SELECT single KR_FELD2 FROM RPUXXXXX INTO @DATA(ld_imp_detail). | ||||
| DATA(ld_imp_detail) | = 'X'. | |||
| "SELECT single KR_FELD2 FROM RPUXXXXX INTO @DATA(ld_imp_process). | ||||
| "SELECT single TLEVEL FROM PLOG_TEXT INTO @DATA(ld_imp_level). | ||||
| DATA(ld_imp_level) | = 1. | |||
Search for further information about these or an SAP related objects