SAP EWD_TABLE_SUBSCREEN_PBO Function Module for









EWD_TABLE_SUBSCREEN_PBO is a standard ewd table subscreen pbo 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 ewd table subscreen pbo FM, simply by entering the name EWD_TABLE_SUBSCREEN_PBO into the relevant SAP transaction such as SE37 or SE38.

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



Function EWD_TABLE_SUBSCREEN_PBO 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 'EWD_TABLE_SUBSCREEN_PBO'"
EXPORTING
X_OPTIONS = "

IMPORTING
Y_SUBSCREEN_PROG = "
Y_SUBSCREEN_DYNNR = "

CHANGING
XY_HANDLE = "

EXCEPTIONS
INVALID_HANDLE = 1 INVALID_OPTIONS = 2
.



IMPORTING Parameters details for EWD_TABLE_SUBSCREEN_PBO

X_OPTIONS -

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

EXPORTING Parameters details for EWD_TABLE_SUBSCREEN_PBO

Y_SUBSCREEN_PROG -

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

Y_SUBSCREEN_DYNNR -

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

CHANGING Parameters details for EWD_TABLE_SUBSCREEN_PBO

XY_HANDLE -

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

EXCEPTIONS details

INVALID_HANDLE -

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

INVALID_OPTIONS -

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

Copy and paste ABAP code example for EWD_TABLE_SUBSCREEN_PBO 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_xy_handle  TYPE EBAGEN-HANDLE, "   
lv_x_options  TYPE EWX00_TABDISP, "   
lv_invalid_handle  TYPE EWX00_TABDISP, "   
lv_y_subscreen_prog  TYPE SY-REPID, "   
lv_invalid_options  TYPE SY, "   
lv_y_subscreen_dynnr  TYPE SY-DYNNR. "   

  CALL FUNCTION 'EWD_TABLE_SUBSCREEN_PBO'  "
    EXPORTING
         X_OPTIONS = lv_x_options
    IMPORTING
         Y_SUBSCREEN_PROG = lv_y_subscreen_prog
         Y_SUBSCREEN_DYNNR = lv_y_subscreen_dynnr
    CHANGING
         XY_HANDLE = lv_xy_handle
    EXCEPTIONS
        INVALID_HANDLE = 1
        INVALID_OPTIONS = 2
. " EWD_TABLE_SUBSCREEN_PBO




ABAP code using 7.40 inline data declarations to call FM EWD_TABLE_SUBSCREEN_PBO

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 HANDLE FROM EBAGEN INTO @DATA(ld_xy_handle).
 
 
 
"SELECT single REPID FROM SY INTO @DATA(ld_y_subscreen_prog).
 
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_y_subscreen_dynnr).
 


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!