SAP CL_GUI_INPUT_FIELD OO Class - Input field with history and button









CL_GUI_INPUT_FIELD 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_INPUT_FIELD 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_INPUT_FIELD is CL_GUI_CONTROL

Method list of CL_GUI_INPUT_FIELD 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
ACTIVATE_AUTO_SUBMITPrivate
CALL METHOD cl_gui_input_field=>ACTIVATE_AUTO_SUBMIT...more details

ACTIVATE_FIND_BUTTONDisplay find button and fire SUBMIT event by click and enterPrivate
CALL METHOD cl_gui_input_field=>ACTIVATE_FIND_BUTTON...more details

ACTIVATE_HISTORYActivate history modePrivate
CALL METHOD cl_gui_input_field=>ACTIVATE_HISTORY...more details

CONSTRUCTORConstructor for Input fieldPublic
CALL METHOD cl_gui_input_field=>CONSTRUCTOR...more details

GET_TEXTGet the field text.Public
CALL METHOD cl_gui_input_field=>GET_TEXT...more details

SET_FIND_BUTTON_ICONSets Icon info to find buttonPrivate
CALL METHOD cl_gui_input_field=>SET_FIND_BUTTON_ICON...more details

SET_FIND_BUTTON_TOOLTIPSets tootip info to find buttonPrivate
CALL METHOD cl_gui_input_field=>SET_FIND_BUTTON_TOOLTIP...more details

SET_INPUT_PROMPTSets an input prompt into the fieldPrivate
CALL METHOD cl_gui_input_field=>SET_INPUT_PROMPT...more details

SET_LABELSets a label for the fieldPrivate
CALL METHOD cl_gui_input_field=>SET_LABEL...more details

SET_LABEL_WIDTHSets the width of Label/combobox (Unit - No. of chars)Private
CALL METHOD cl_gui_input_field=>SET_LABEL_WIDTH...more details

SET_TEXTSet the field text.Public
CALL METHOD cl_gui_input_field=>SET_TEXT...more details



CL_GUI_INPUT_FIELD 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
MC_FC_BACK_CLASSICConstant'&F03'LIKE
UI_FUNC
Public
MC_FC_DISABLE_HISTORYConstant'&DISABLE HISTORY'LIKE
UI_FUNC
Public
MC_FC_ENABLE_HISTORYConstant'&ENABLE HISTORY'LIKE
UI_FUNC
Public
MC_FC_HELPConstant'&HELP'LIKE
UI_FUNC
Public
M_CL_CONTEXT_MENUInstance AttributeLIKE
CL_CTMENU
Protected
M_ID_CONTEXT_MENUConstant1LIKE
I
Public
M_ID_CONTEXT_MENU_SELECTEDConstant2LIKE
I
Public
M_ID_SETITMESConstant2LIKE
I
Private
M_ID_SUBMITConstantSubmit event id-600LIKE
I
Public
TEXTInstance AttributeText PropertyLIKE
STRING
Public


Events of Class CL_GUI_INPUT_FIELD

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... AUTO_SUBMIT -
SUBMIT - Input submitted by click or enter

Links to Related Class(s)

CL_GUI_I...
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!