SAP EWF_FINDER_RESULT_DISPLAY Function Module for NOTRANSL: INTERN: Anzeige des Suchergebnisses









EWF_FINDER_RESULT_DISPLAY is a standard ewf finder result display SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: INTERN: Anzeige des Suchergebnisses 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 ewf finder result display FM, simply by entering the name EWF_FINDER_RESULT_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

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



Function EWF_FINDER_RESULT_DISPLAY 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 'EWF_FINDER_RESULT_DISPLAY'"NOTRANSL: INTERN: Anzeige des Suchergebnisses
EXPORTING
X_OBJTYPE = "Object Type
* X_INCOMPLETE = "General checkbox: X or ' '
* X_SELECT_MODE = 'S' "Selection mode for dialog box
* X_TRACE_ONLY = "General checkbox: X or ' '
* X_NEW_IMODE = ' ' "General checkbox: X or ' '

IMPORTING
Y_CLEAR_SELECTION = "General checkbox: X or ' '
Y_EXIT_TYPE = "Function with which editing was exited

TABLES
* XT_HITLIST = "Structure of types OLE2_OBJECT
* XT_TRACE = "Search Log Entry for Finder Method for Front Office
* YT_SELECTION = "Structure of types OLE2_OBJECT
* XT_HITLIST_KEYS = "Structure for Object ID
* YT_SELECTION_KEYS = "Structure for Object ID
.



IMPORTING Parameters details for EWF_FINDER_RESULT_DISPLAY

X_OBJTYPE - Object Type

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

X_INCOMPLETE - General checkbox: X or SPACE

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

X_SELECT_MODE - Selection mode for dialog box

Data type: EBAGEN-SELECTMODE
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_TRACE_ONLY - General checkbox: X or SPACE

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

X_NEW_IMODE - General checkbox: X or SPACE

Data type: EBAGEN-KENNZX
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EWF_FINDER_RESULT_DISPLAY

Y_CLEAR_SELECTION - General checkbox: X or SPACE

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

Y_EXIT_TYPE - Function with which editing was exited

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

TABLES Parameters details for EWF_FINDER_RESULT_DISPLAY

XT_HITLIST - Structure of types OLE2_OBJECT

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

XT_TRACE - Search Log Entry for Finder Method for Front Office

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

YT_SELECTION - Structure of types OLE2_OBJECT

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

XT_HITLIST_KEYS - Structure for Object ID

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

YT_SELECTION_KEYS - Structure for Object ID

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

Copy and paste ABAP code example for EWF_FINDER_RESULT_DISPLAY 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_x_objtype  TYPE SWOTOBJID-OBJTYPE, "   
lt_xt_hitlist  TYPE STANDARD TABLE OF OBJ_RECORD, "   
lv_y_clear_selection  TYPE EBAGEN-KENNZX, "   
lt_xt_trace  TYPE STANDARD TABLE OF EWFFNDTRAC, "   
lv_y_exit_type  TYPE EBAGEN-EXIT_TYPE, "   
lv_x_incomplete  TYPE EBAGEN-KENNZX, "   
lt_yt_selection  TYPE STANDARD TABLE OF OBJ_RECORD, "   
lv_x_select_mode  TYPE EBAGEN-SELECTMODE, "   'S'
lv_x_trace_only  TYPE EBAGEN-KENNZX, "   
lt_xt_hitlist_keys  TYPE STANDARD TABLE OF SWOTOBJID, "   
lv_x_new_imode  TYPE EBAGEN-KENNZX, "   SPACE
lt_yt_selection_keys  TYPE STANDARD TABLE OF SWOTOBJID. "   

  CALL FUNCTION 'EWF_FINDER_RESULT_DISPLAY'  "NOTRANSL: INTERN: Anzeige des Suchergebnisses
    EXPORTING
         X_OBJTYPE = lv_x_objtype
         X_INCOMPLETE = lv_x_incomplete
         X_SELECT_MODE = lv_x_select_mode
         X_TRACE_ONLY = lv_x_trace_only
         X_NEW_IMODE = lv_x_new_imode
    IMPORTING
         Y_CLEAR_SELECTION = lv_y_clear_selection
         Y_EXIT_TYPE = lv_y_exit_type
    TABLES
         XT_HITLIST = lt_xt_hitlist
         XT_TRACE = lt_xt_trace
         YT_SELECTION = lt_yt_selection
         XT_HITLIST_KEYS = lt_xt_hitlist_keys
         YT_SELECTION_KEYS = lt_yt_selection_keys
. " EWF_FINDER_RESULT_DISPLAY




ABAP code using 7.40 inline data declarations to call FM EWF_FINDER_RESULT_DISPLAY

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 OBJTYPE FROM SWOTOBJID INTO @DATA(ld_x_objtype).
 
 
"SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_y_clear_selection).
 
 
"SELECT single EXIT_TYPE FROM EBAGEN INTO @DATA(ld_y_exit_type).
 
"SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_x_incomplete).
 
 
"SELECT single SELECTMODE FROM EBAGEN INTO @DATA(ld_x_select_mode).
DATA(ld_x_select_mode) = 'S'.
 
"SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_x_trace_only).
 
 
"SELECT single KENNZX FROM EBAGEN INTO @DATA(ld_x_new_imode).
DATA(ld_x_new_imode) = ' '.
 
 


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!