SAP CL_GUI_ECL_VIEWER OO Class - Proxy Class for Engineering Client Viewer









CL_GUI_ECL_VIEWER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_ECL_VIEWER including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_ECL_VIEWER is CL_GUI_CONTROL

Method list of CL_GUI_ECL_VIEWER SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
CLOSE_DOCUMENTCloses the document in the controlPublic
CALL METHOD cl_gui_ecl_viewer=>CLOSE_DOCUMENT...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_gui_ecl_viewer=>CONSTRUCTOR...more details

CURRENT_PAGEPrivate
CALL METHOD cl_gui_ecl_viewer=>CURRENT_PAGE...more details

DISPLAY_COPYRIGHTDisplays copyright panel of EAI.Public
CALL METHOD cl_gui_ecl_viewer=>DISPLAY_COPYRIGHT...more details

DRAWPerforms a draw operation in the viewerPublic
CALL METHOD cl_gui_ecl_viewer=>DRAW...more details

FIRST_PAGEDisplays the first page of a multi-page 2D filePublic
CALL METHOD cl_gui_ecl_viewer=>FIRST_PAGE...more details

GET_NUMBER_OF_PAGESGives back the number of pages of a 2D filePublic
CALL METHOD cl_gui_ecl_viewer=>GET_NUMBER_OF_PAGES...more details

IMPORT_DOCUMENTImports a 3D file to an already existing part or assemblyPublic
CALL METHOD cl_gui_ecl_viewer=>IMPORT_DOCUMENT...more details

LAST_PAGEDisplays the last page of a multi-page 2D filePublic
CALL METHOD cl_gui_ecl_viewer=>LAST_PAGE...more details

MIRROR_HORIZONTALMirrors a 2D image horizontalPublic
CALL METHOD cl_gui_ecl_viewer=>MIRROR_HORIZONTAL...more details

MIRROR_VERTICALMirrors a 2D image verticalPublic
CALL METHOD cl_gui_ecl_viewer=>MIRROR_VERTICAL...more details

NEXT_PAGEDisplays the next page of a multi-page 2D filePublic
CALL METHOD cl_gui_ecl_viewer=>NEXT_PAGE...more details

OPEN_DOCUMENTOpens the document in the controlPublic
CALL METHOD cl_gui_ecl_viewer=>OPEN_DOCUMENT...more details

PREVIOUS_PAGEDisplays the previous page of a multi-page 2D filePublic
CALL METHOD cl_gui_ecl_viewer=>PREVIOUS_PAGE...more details

PRINTSends the file to standard printerPublic
CALL METHOD cl_gui_ecl_viewer=>PRINT...more details

ROTATE_CLOCKWISERotates the 2D image clockwisePublic
CALL METHOD cl_gui_ecl_viewer=>ROTATE_CLOCKWISE...more details

ROTATE_COUNTERCLOCKWISERotates the 2D image counter clockwisePublic
CALL METHOD cl_gui_ecl_viewer=>ROTATE_COUNTERCLOCKWISE...more details

SET_AMBIENT_BACKGROUNDSets background color depending on the container's backgrounPublic
CALL METHOD cl_gui_ecl_viewer=>SET_AMBIENT_BACKGROUND...more details

SET_BACKFACEREMOVALMODESets the backface-removalmode of the 3D controlPublic
CALL METHOD cl_gui_ecl_viewer=>SET_BACKFACEREMOVALMODE...more details

SET_BACKGROUNDCOLORSets the background colorPublic
CALL METHOD cl_gui_ecl_viewer=>SET_BACKGROUNDCOLOR...more details

SET_CONTEXTMENU_MODESets whether context is enabled or notPublic
CALL METHOD cl_gui_ecl_viewer=>SET_CONTEXTMENU_MODE...more details

SET_FOREGROUNDCOLORSets the foreground colorPublic
CALL METHOD cl_gui_ecl_viewer=>SET_FOREGROUNDCOLOR...more details

SET_INTERACTION_MODESets the interaction mode for the control: pan,rotate,zoom,.Public
CALL METHOD cl_gui_ecl_viewer=>SET_INTERACTION_MODE...more details

SET_INVERSE_COLORSets 2D image to inverse colorsPublic
CALL METHOD cl_gui_ecl_viewer=>SET_INVERSE_COLOR...more details

SET_MONO_COLORSets 2D image to mono color modePublic
CALL METHOD cl_gui_ecl_viewer=>SET_MONO_COLOR...more details

SET_PAGESets the page of a multi-page 2D file to be displayedPublic
CALL METHOD cl_gui_ecl_viewer=>SET_PAGE...more details



CL_GUI_ECL_VIEWER attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
INIT_CTXInstance AttributeIndicates whether the ctx menu handler is already created0LIKE
I
Private
MODEInstance AttributeIndicates whether the control is in 2D or in 3D mode2LIKE
I
Private
NO_ACTION_MODEConstantInteraction Mode: No Action0LIKE
I
Public
PAN_MODEConstant3D interaction mode for panning1LIKE
I
Public
ROTATE_MODEConstant3D interaction mode for rotating6LIKE
I
Public
SEEK_MODEConstant2D interaction mode for seeking4LIKE
I
Public
VIEW_ALL_MODEConstant2D interaction mode arranging the image according to fit all5LIKE
I
Public
X_AXIS_ROTATE_MODEConstant3D interaction mode for rotating around an axis7LIKE
I
Public
Y_AXIS_ROTATE_MODEConstant3D interaction mode for rotating around y-axis8LIKE
I
Public
ZOOM_AREA_MODEConstant2D & 3D interaction mode for zooming an image area3LIKE
I
Public
ZOOM_MODEConstant3D interaction mode for zooming2LIKE
I
Public
Z_AXIS_ROTATE_MODEConstant3D interaction mode for rotating around z-axis9LIKE
I
Public


Events of Class CL_GUI_ECL_VIEWER

Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CONTEXT_MENU_REQUEST - Context Menu
CONTEXT_MENU_SELECTED - Context Menu Item has been selected
ON_DRAG - Drag Event occured
ON_DROP - Drop Event occured
ON_DROP_COMPLETE - Complete drag and drop operation
ON_GET_FLAVOR - Determine desired flavor

Links to Related Class(s)

CL_GUI_E...
Full list of available SAP object classes

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!