SAP EWA_HIDE Function Module for









EWA_HIDE is a standard ewa hide 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 ewa hide FM, simply by entering the name EWA_HIDE into the relevant SAP transaction such as SE37 or SE38.

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



Function EWA_HIDE 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 'EWA_HIDE'"
EXPORTING
* X_ACTGRP = "
* X_MARKFIELD = ' ' "
* X_PAGE = "
* X_TOP = "
* X_LEFT = "
* X_DOWN = "
* X_RIGHT = "

CHANGING
XY_OBJ = "

EXCEPTIONS
COORDINATES_INVALID = 1 OVERLAPPING_AREAS = 2 NOT_QUALIFIED = 3 NOT_CUSTOMIZED = 4
.



IMPORTING Parameters details for EWA_HIDE

X_ACTGRP -

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

X_MARKFIELD -

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

X_PAGE -

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

X_TOP -

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

X_LEFT -

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

X_DOWN -

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

X_RIGHT -

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

CHANGING Parameters details for EWA_HIDE

XY_OBJ -

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

EXCEPTIONS details

COORDINATES_INVALID -

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

OVERLAPPING_AREAS -

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

NOT_QUALIFIED -

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

NOT_CUSTOMIZED -

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

Copy and paste ABAP code example for EWA_HIDE 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_obj  TYPE EWA00_ACTION_MANAGER_OBJECT, "   
lv_x_actgrp  TYPE EWAACT-ACTGRP, "   
lv_coordinates_invalid  TYPE EWAACT, "   
lv_x_markfield  TYPE EWXGEN-KENNZX, "   SPACE
lv_overlapping_areas  TYPE EWXGEN, "   
lv_x_page  TYPE SY-PAGNO, "   
lv_not_qualified  TYPE SY, "   
lv_x_top  TYPE SY-LINNO, "   
lv_not_customized  TYPE SY, "   
lv_x_left  TYPE SY-COLNO, "   
lv_x_down  TYPE SY-LINNO, "   
lv_x_right  TYPE SY-COLNO. "   

  CALL FUNCTION 'EWA_HIDE'  "
    EXPORTING
         X_ACTGRP = lv_x_actgrp
         X_MARKFIELD = lv_x_markfield
         X_PAGE = lv_x_page
         X_TOP = lv_x_top
         X_LEFT = lv_x_left
         X_DOWN = lv_x_down
         X_RIGHT = lv_x_right
    CHANGING
         XY_OBJ = lv_xy_obj
    EXCEPTIONS
        COORDINATES_INVALID = 1
        OVERLAPPING_AREAS = 2
        NOT_QUALIFIED = 3
        NOT_CUSTOMIZED = 4
. " EWA_HIDE




ABAP code using 7.40 inline data declarations to call FM EWA_HIDE

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 ACTGRP FROM EWAACT INTO @DATA(ld_x_actgrp).
 
 
"SELECT single KENNZX FROM EWXGEN INTO @DATA(ld_x_markfield).
DATA(ld_x_markfield) = ' '.
 
 
"SELECT single PAGNO FROM SY INTO @DATA(ld_x_page).
 
 
"SELECT single LINNO FROM SY INTO @DATA(ld_x_top).
 
 
"SELECT single COLNO FROM SY INTO @DATA(ld_x_left).
 
"SELECT single LINNO FROM SY INTO @DATA(ld_x_down).
 
"SELECT single COLNO FROM SY INTO @DATA(ld_x_right).
 


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!