SAP RSDRD_BUILD_SCREEN_WITH_CHECK Function Module for How RSDRD_BUILD_SCREEN but with review of the number of Iobjects









RSDRD_BUILD_SCREEN_WITH_CHECK is a standard rsdrd build screen with check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for How RSDRD_BUILD_SCREEN but with review of the number of Iobjects 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 rsdrd build screen with check FM, simply by entering the name RSDRD_BUILD_SCREEN_WITH_CHECK into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSDRD
Program Name: SAPLRSDRD
Main Program: SAPLRSDRD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSDRD_BUILD_SCREEN_WITH_CHECK 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 'RSDRD_BUILD_SCREEN_WITH_CHECK'"How RSDRD_BUILD_SCREEN but with review of the number of Iobjects
EXPORTING
I_DATATARGET = "Data Target
* I_TECHNICAL_NAMES = RS_C_FALSE "Use technical name
* I_GEN_MODE = RSDRD_C_GEN_MODE-DEF "Boolean
* I_SHOW_REPORT = RS_C_FALSE "Display generated report
* I_WITH_ATR_NAV = RS_C_FALSE "Display Nav. Attr.
* I_BATCH_ALLOWED = RS_C_FALSE "Processing in batch possible

CHANGING
* C_REPID = "ABAP Program: Current Main Program

EXCEPTIONS
INVALID_DTA = 1
.



IMPORTING Parameters details for RSDRD_BUILD_SCREEN_WITH_CHECK

I_DATATARGET - Data Target

Data type: RSDDATATARGET
Optional: No
Call by Reference: Yes

I_TECHNICAL_NAMES - Use technical name

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

I_GEN_MODE - Boolean

Data type: RSDRD_GEN_MODE
Default: RSDRD_C_GEN_MODE-DEF
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_SHOW_REPORT - Display generated report

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

I_WITH_ATR_NAV - Display Nav. Attr.

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

I_BATCH_ALLOWED - Processing in batch possible

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

CHANGING Parameters details for RSDRD_BUILD_SCREEN_WITH_CHECK

C_REPID - ABAP Program: Current Main Program

Data type: SY-REPID
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

INVALID_DTA - Invalid data target

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSDRD_BUILD_SCREEN_WITH_CHECK 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_c_repid  TYPE SY-REPID, "   
lv_invalid_dta  TYPE SY, "   
lv_i_datatarget  TYPE RSDDATATARGET, "   
lv_i_technical_names  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_gen_mode  TYPE RSDRD_GEN_MODE, "   RSDRD_C_GEN_MODE-DEF
lv_i_show_report  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_with_atr_nav  TYPE RS_BOOL, "   RS_C_FALSE
lv_i_batch_allowed  TYPE RS_BOOL. "   RS_C_FALSE

  CALL FUNCTION 'RSDRD_BUILD_SCREEN_WITH_CHECK'  "How RSDRD_BUILD_SCREEN but with review of the number of Iobjects
    EXPORTING
         I_DATATARGET = lv_i_datatarget
         I_TECHNICAL_NAMES = lv_i_technical_names
         I_GEN_MODE = lv_i_gen_mode
         I_SHOW_REPORT = lv_i_show_report
         I_WITH_ATR_NAV = lv_i_with_atr_nav
         I_BATCH_ALLOWED = lv_i_batch_allowed
    CHANGING
         C_REPID = lv_c_repid
    EXCEPTIONS
        INVALID_DTA = 1
. " RSDRD_BUILD_SCREEN_WITH_CHECK




ABAP code using 7.40 inline data declarations to call FM RSDRD_BUILD_SCREEN_WITH_CHECK

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 REPID FROM SY INTO @DATA(ld_c_repid).
 
 
 
DATA(ld_i_technical_names) = RS_C_FALSE.
 
DATA(ld_i_gen_mode) = RSDRD_C_GEN_MODE-DEF.
 
DATA(ld_i_show_report) = RS_C_FALSE.
 
DATA(ld_i_with_atr_nav) = RS_C_FALSE.
 
DATA(ld_i_batch_allowed) = RS_C_FALSE.
 


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!