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

Function RPY_FUNCTIONMODULE_READ 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_FUNCTIONMODULE_READ'".
EXPORTING
FUNCTIONNAME = "Name of the function module
IMPORTING
GLOBAL_FLAG = "Global interface
REMOTE_CALL = "Function module can be called via RFC
UPDATE_TASK = "Function module running in update
SHORT_TEXT = "Function module short text
FUNCTION_POOL = "
REMOTE_BASXML_SUPPORTED = "
TABLES
IMPORT_PARAMETER = "Table of the import parameters
CHANGING_PARAMETER = "Table of CHANGING parameters
EXPORT_PARAMETER = "Table of the export parameters
TABLES_PARAMETER = "Table of the tables
EXCEPTION_LIST = "Table of exceptions
DOCUMENTATION = "Documentation module and interface
SOURCE = "Function module source code
EXCEPTIONS
ERROR_MESSAGE = 1 FUNCTION_NOT_FOUND = 2 INVALID_NAME = 3
IMPORTING Parameters details for RPY_FUNCTIONMODULE_READ
FUNCTIONNAME - Name of the function module
Data type: RS38L-NAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RPY_FUNCTIONMODULE_READ
GLOBAL_FLAG - Global interface
Data type: RS38L-GLOBALOptional: No
Call by Reference: No ( called with pass by value option)
REMOTE_CALL - Function module can be called via RFC
Data type: RS38L-REMOTEOptional: No
Call by Reference: No ( called with pass by value option)
UPDATE_TASK - Function module running in update
Data type: RS38L-UTASKOptional: No
Call by Reference: No ( called with pass by value option)
SHORT_TEXT - Function module short text
Data type: TFTIT-STEXTOptional: No
Call by Reference: No ( called with pass by value option)
FUNCTION_POOL -
Data type: RS38L-AREAOptional: No
Call by Reference: No ( called with pass by value option)
REMOTE_BASXML_SUPPORTED -
Data type: RS38L-BASXML_ENABLEDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RPY_FUNCTIONMODULE_READ
IMPORT_PARAMETER - Table of the import parameters
Data type: RSIMPOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING_PARAMETER - Table of CHANGING parameters
Data type: RSCHAOptional: No
Call by Reference: No ( called with pass by value option)
EXPORT_PARAMETER - Table of the export parameters
Data type: RSEXPOptional: No
Call by Reference: No ( called with pass by value option)
TABLES_PARAMETER - Table of the tables
Data type: RSTBLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTION_LIST - Table of exceptions
Data type: RSEXCOptional: No
Call by Reference: No ( called with pass by value option)
DOCUMENTATION - Documentation module and interface
Data type: RSFDOOptional: No
Call by Reference: No ( called with pass by value option)
SOURCE - Function module source code
Data type: RSSOURCEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_MESSAGE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FUNCTION_NOT_FOUND - Function module not available
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_NAME - Invalid function module
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RPY_FUNCTIONMODULE_READ 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_global_flag | TYPE RS38L-GLOBAL, " | |||
| lv_functionname | TYPE RS38L-NAME, " | |||
| lv_error_message | TYPE RS38L, " | |||
| lt_import_parameter | TYPE STANDARD TABLE OF RSIMP, " | |||
| lv_remote_call | TYPE RS38L-REMOTE, " | |||
| lt_changing_parameter | TYPE STANDARD TABLE OF RSCHA, " | |||
| lv_function_not_found | TYPE RSCHA, " | |||
| lv_update_task | TYPE RS38L-UTASK, " | |||
| lv_invalid_name | TYPE RS38L, " | |||
| lt_export_parameter | TYPE STANDARD TABLE OF RSEXP, " | |||
| lv_short_text | TYPE TFTIT-STEXT, " | |||
| lt_tables_parameter | TYPE STANDARD TABLE OF RSTBL, " | |||
| lv_function_pool | TYPE RS38L-AREA, " | |||
| lt_exception_list | TYPE STANDARD TABLE OF RSEXC, " | |||
| lt_documentation | TYPE STANDARD TABLE OF RSFDO, " | |||
| lv_remote_basxml_supported | TYPE RS38L-BASXML_ENABLED, " | |||
| lt_source | TYPE STANDARD TABLE OF RSSOURCE. " |
|   CALL FUNCTION 'RPY_FUNCTIONMODULE_READ' " |
| EXPORTING | ||
| FUNCTIONNAME | = lv_functionname | |
| IMPORTING | ||
| GLOBAL_FLAG | = lv_global_flag | |
| REMOTE_CALL | = lv_remote_call | |
| UPDATE_TASK | = lv_update_task | |
| SHORT_TEXT | = lv_short_text | |
| FUNCTION_POOL | = lv_function_pool | |
| REMOTE_BASXML_SUPPORTED | = lv_remote_basxml_supported | |
| TABLES | ||
| IMPORT_PARAMETER | = lt_import_parameter | |
| CHANGING_PARAMETER | = lt_changing_parameter | |
| EXPORT_PARAMETER | = lt_export_parameter | |
| TABLES_PARAMETER | = lt_tables_parameter | |
| EXCEPTION_LIST | = lt_exception_list | |
| DOCUMENTATION | = lt_documentation | |
| SOURCE | = lt_source | |
| EXCEPTIONS | ||
| ERROR_MESSAGE = 1 | ||
| FUNCTION_NOT_FOUND = 2 | ||
| INVALID_NAME = 3 | ||
| . " RPY_FUNCTIONMODULE_READ | ||
ABAP code using 7.40 inline data declarations to call FM RPY_FUNCTIONMODULE_READ
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 GLOBAL FROM RS38L INTO @DATA(ld_global_flag). | ||||
| "SELECT single NAME FROM RS38L INTO @DATA(ld_functionname). | ||||
| "SELECT single REMOTE FROM RS38L INTO @DATA(ld_remote_call). | ||||
| "SELECT single UTASK FROM RS38L INTO @DATA(ld_update_task). | ||||
| "SELECT single STEXT FROM TFTIT INTO @DATA(ld_short_text). | ||||
| "SELECT single AREA FROM RS38L INTO @DATA(ld_function_pool). | ||||
| "SELECT single BASXML_ENABLED FROM RS38L INTO @DATA(ld_remote_basxml_supported). | ||||
Search for further information about these or an SAP related objects