SAP RPY_ENTITY_SELECT Function Module for
RPY_ENTITY_SELECT is a standard rpy entity 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 rpy entity select FM, simply by entering the name RPY_ENTITY_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: SIDM
Program Name: SAPLSIDM
Main Program: SAPLSIDM
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RPY_ENTITY_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 'RPY_ENTITY_SELECT'".
EXPORTING
* CICO_MODE = 'R' "Checkin / checkout mode
* CICO_REQUEST_NO = ' ' "Checkin / check out administration number
* ENTITY_ID_PATTERN = ' ' "Pattern of entity types to be read
* SHORT_TEXT_PATTERN = ' ' "Patt. of short descr. of entity types to be read
* LANGUAGE = SY-LANGU "Language for reading the descriptions
TABLES
ERRORS = "Error information
ENTITY_INFOS = "Basic information on the entity types
IMPORTING Parameters details for RPY_ENTITY_SELECT
CICO_MODE - Checkin / checkout mode
Data type: RPYDMGF-CICOMODEDefault: 'R'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CICO_REQUEST_NO - Checkin / check out administration number
Data type: RPYDMGF-CICOREQUNODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENTITY_ID_PATTERN - Pattern of entity types to be read
Data type: RPYDMEN-ENTITY_IDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHORT_TEXT_PATTERN - Patt. of short descr. of entity types to be read
Data type: RPYDMEN-SHORTTEXTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LANGUAGE - Language for reading the descriptions
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RPY_ENTITY_SELECT
ERRORS - Error information
Data type: RPYGSEROptional: No
Call by Reference: No ( called with pass by value option)
ENTITY_INFOS - Basic information on the entity types
Data type: RPYDMENOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RPY_ENTITY_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_errors | TYPE STANDARD TABLE OF RPYGSER, " | |||
| lv_cico_mode | TYPE RPYDMGF-CICOMODE, " 'R' | |||
| lt_entity_infos | TYPE STANDARD TABLE OF RPYDMEN, " | |||
| lv_cico_request_no | TYPE RPYDMGF-CICOREQUNO, " SPACE | |||
| lv_entity_id_pattern | TYPE RPYDMEN-ENTITY_ID, " SPACE | |||
| lv_short_text_pattern | TYPE RPYDMEN-SHORTTEXT, " SPACE | |||
| lv_language | TYPE SY-LANGU. " SY-LANGU |
|   CALL FUNCTION 'RPY_ENTITY_SELECT' " |
| EXPORTING | ||
| CICO_MODE | = lv_cico_mode | |
| CICO_REQUEST_NO | = lv_cico_request_no | |
| ENTITY_ID_PATTERN | = lv_entity_id_pattern | |
| SHORT_TEXT_PATTERN | = lv_short_text_pattern | |
| LANGUAGE | = lv_language | |
| TABLES | ||
| ERRORS | = lt_errors | |
| ENTITY_INFOS | = lt_entity_infos | |
| . " RPY_ENTITY_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM RPY_ENTITY_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 CICOMODE FROM RPYDMGF INTO @DATA(ld_cico_mode). | ||||
| DATA(ld_cico_mode) | = 'R'. | |||
| "SELECT single CICOREQUNO FROM RPYDMGF INTO @DATA(ld_cico_request_no). | ||||
| DATA(ld_cico_request_no) | = ' '. | |||
| "SELECT single ENTITY_ID FROM RPYDMEN INTO @DATA(ld_entity_id_pattern). | ||||
| DATA(ld_entity_id_pattern) | = ' '. | |||
| "SELECT single SHORTTEXT FROM RPYDMEN INTO @DATA(ld_short_text_pattern). | ||||
| DATA(ld_short_text_pattern) | = ' '. | |||
| "SELECT single LANGU FROM SY INTO @DATA(ld_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects