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

Function HR_PSEL_PERSONS_SELECT 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_PSEL_PERSONS_SELECT'".
EXPORTING
* SEL_VIEW_NAME = "
* SEL_PROFILE = "
* SEL_PROGRAM = "
* SEL_VARIANT = "
* SEL_MODE = ' ' "
* SEL_BASE = ' ' "
* SEL_BEGDA = SY-DATUM "
* SEL_ENDDA = SY-DATUM "
TABLES
SEL_PERNRS = "
EXCEPTIONS
NO_VIEW_NAME_SPECIFIED = 1 NO_PROFILE_SPECIFIED = 2 NO_PERSON_SELECTED = 3 SELECTION_CANCELED = 4
IMPORTING Parameters details for HR_PSEL_PERSONS_SELECT
SEL_VIEW_NAME -
Data type: RSLDB-NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
SEL_PROFILE -
Data type: T77EP-PROFILE_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
SEL_PROGRAM -
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
SEL_VARIANT -
Data type: RS38M-SELSETOptional: Yes
Call by Reference: No ( called with pass by value option)
SEL_MODE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_BASE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_BEGDA -
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_ENDDA -
Data type: SY-DATUMDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_PSEL_PERSONS_SELECT
SEL_PERNRS -
Data type: HRPERNROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_VIEW_NAME_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PROFILE_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_PERSON_SELECTED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SELECTION_CANCELED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_PSEL_PERSONS_SELECT 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: | ||||
| lt_sel_pernrs | TYPE STANDARD TABLE OF HRPERNR, " | |||
| lv_sel_view_name | TYPE RSLDB-NAME, " | |||
| lv_no_view_name_specified | TYPE RSLDB, " | |||
| lv_sel_profile | TYPE T77EP-PROFILE_ID, " | |||
| lv_no_profile_specified | TYPE T77EP, " | |||
| lv_sel_program | TYPE SY-REPID, " | |||
| lv_no_person_selected | TYPE SY, " | |||
| lv_sel_variant | TYPE RS38M-SELSET, " | |||
| lv_selection_canceled | TYPE RS38M, " | |||
| lv_sel_mode | TYPE RS38M, " SPACE | |||
| lv_sel_base | TYPE RS38M, " SPACE | |||
| lv_sel_begda | TYPE SY-DATUM, " SY-DATUM | |||
| lv_sel_endda | TYPE SY-DATUM. " SY-DATUM |
|   CALL FUNCTION 'HR_PSEL_PERSONS_SELECT' " |
| EXPORTING | ||
| SEL_VIEW_NAME | = lv_sel_view_name | |
| SEL_PROFILE | = lv_sel_profile | |
| SEL_PROGRAM | = lv_sel_program | |
| SEL_VARIANT | = lv_sel_variant | |
| SEL_MODE | = lv_sel_mode | |
| SEL_BASE | = lv_sel_base | |
| SEL_BEGDA | = lv_sel_begda | |
| SEL_ENDDA | = lv_sel_endda | |
| TABLES | ||
| SEL_PERNRS | = lt_sel_pernrs | |
| EXCEPTIONS | ||
| NO_VIEW_NAME_SPECIFIED = 1 | ||
| NO_PROFILE_SPECIFIED = 2 | ||
| NO_PERSON_SELECTED = 3 | ||
| SELECTION_CANCELED = 4 | ||
| . " HR_PSEL_PERSONS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM HR_PSEL_PERSONS_SELECT
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 NAME FROM RSLDB INTO @DATA(ld_sel_view_name). | ||||
| "SELECT single PROFILE_ID FROM T77EP INTO @DATA(ld_sel_profile). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_sel_program). | ||||
| "SELECT single SELSET FROM RS38M INTO @DATA(ld_sel_variant). | ||||
| DATA(ld_sel_mode) | = ' '. | |||
| DATA(ld_sel_base) | = ' '. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_sel_begda). | ||||
| DATA(ld_sel_begda) | = SY-DATUM. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_sel_endda). | ||||
| DATA(ld_sel_endda) | = SY-DATUM. | |||
Search for further information about these or an SAP related objects