SAP RPY_DYNPRO_READ Function Module for









RPY_DYNPRO_READ is a standard rpy dynpro 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 dynpro read FM, simply by entering the name RPY_DYNPRO_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): Normal Function Module
Update:



Function RPY_DYNPRO_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_DYNPRO_READ'"
EXPORTING
PROGNAME = "Program name of screen
DYNNR = "Screen number
* SUPPRESS_EXIST_CHECKS = ' ' "
* SUPPRESS_CORR_CHECKS = ' ' "

IMPORTING
HEADER = "

TABLES
* CONTAINERS = "
* FIELDS_TO_CONTAINERS = "Single object in screen (incl. cont. assignment)
* FLOW_LOGIC = "
* PARAMS = "Screen: Parameter Information for Screen

EXCEPTIONS
CANCELLED = 1 NOT_FOUND = 2 PERMISSION_ERROR = 3
.



IMPORTING Parameters details for RPY_DYNPRO_READ

PROGNAME - Program name of screen

Data type: D020S-PROG
Optional: No
Call by Reference: No ( called with pass by value option)

DYNNR - Screen number

Data type: D020S-DNUM
Optional: No
Call by Reference: No ( called with pass by value option)

SUPPRESS_EXIST_CHECKS -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

SUPPRESS_CORR_CHECKS -

Data type: C
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RPY_DYNPRO_READ

HEADER -

Data type: RPY_DYHEAD
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RPY_DYNPRO_READ

CONTAINERS -

Data type: DYCATT_TAB
Optional: Yes
Call by Reference: Yes

FIELDS_TO_CONTAINERS - Single object in screen (incl. cont. assignment)

Data type: DYFATC_TAB
Optional: Yes
Call by Reference: Yes

FLOW_LOGIC -

Data type: RPY_DYFLOW
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAMS - Screen: Parameter Information for Screen

Data type: RPY_DYPARA
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

CANCELLED - Canceled by user in correction dialog box

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOT_FOUND - Screen not found

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PERMISSION_ERROR - No authorization to import (read)

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RPY_DYNPRO_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_header  TYPE RPY_DYHEAD, "   
lv_progname  TYPE D020S-PROG, "   
lv_cancelled  TYPE D020S, "   
lt_containers  TYPE STANDARD TABLE OF DYCATT_TAB, "   
lv_dynnr  TYPE D020S-DNUM, "   
lv_not_found  TYPE D020S, "   
lt_fields_to_containers  TYPE STANDARD TABLE OF DYFATC_TAB, "   
lt_flow_logic  TYPE STANDARD TABLE OF RPY_DYFLOW, "   
lv_permission_error  TYPE RPY_DYFLOW, "   
lv_suppress_exist_checks  TYPE C, "   ' '
lt_params  TYPE STANDARD TABLE OF RPY_DYPARA, "   
lv_suppress_corr_checks  TYPE C. "   ' '

  CALL FUNCTION 'RPY_DYNPRO_READ'  "
    EXPORTING
         PROGNAME = lv_progname
         DYNNR = lv_dynnr
         SUPPRESS_EXIST_CHECKS = lv_suppress_exist_checks
         SUPPRESS_CORR_CHECKS = lv_suppress_corr_checks
    IMPORTING
         HEADER = lv_header
    TABLES
         CONTAINERS = lt_containers
         FIELDS_TO_CONTAINERS = lt_fields_to_containers
         FLOW_LOGIC = lt_flow_logic
         PARAMS = lt_params
    EXCEPTIONS
        CANCELLED = 1
        NOT_FOUND = 2
        PERMISSION_ERROR = 3
. " RPY_DYNPRO_READ




ABAP code using 7.40 inline data declarations to call FM RPY_DYNPRO_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 PROG FROM D020S INTO @DATA(ld_progname).
 
 
 
"SELECT single DNUM FROM D020S INTO @DATA(ld_dynnr).
 
 
 
 
 
DATA(ld_suppress_exist_checks) = ' '.
 
 
DATA(ld_suppress_corr_checks) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!