SAP CL_DEMO_INPUT OO Class - Demo Input
CL_DEMO_INPUT 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_DEMO_INPUT including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_DEMO_INPUTMethod list of CL_DEMO_INPUT 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 Name | Description | Visability |
| ADD_FIELD | Adds an input field | Public |
| CALL METHOD cl_demo_input=>ADD_FIELD...more details | ||
| ADD_LINE | Inserts an empty line | Public |
| CALL METHOD cl_demo_input=>ADD_LINE...more details | ||
| ADD_TEXT | Inserts a text line | Public |
| CALL METHOD cl_demo_input=>ADD_TEXT...more details | ||
| CHECK_CHECKBOX | Private | |
| CALL METHOD cl_demo_input=>CHECK_CHECKBOX...more details | ||
| CLASS_CONSTRUCTOR | Private | |
| CALL METHOD cl_demo_input=>CLASS_CONSTRUCTOR...more details | ||
| GET_ADT_CONSOLE_FLAG | Private | |
| CALL METHOD cl_demo_input=>GET_ADT_CONSOLE_FLAG...more details | ||
|
| ||
| GET_NAME | Private | |
| CALL METHOD cl_demo_input=>GET_NAME...more details | ||
| HANDLE_CLOSED | Private | |
| CALL METHOD cl_demo_input=>HANDLE_CLOSED...more details | ||
| HANDLE_SAPEVENT | Private | |
| CALL METHOD cl_demo_input=>HANDLE_SAPEVENT...more details | ||
| NEW | Factory Method | Public |
| CALL METHOD cl_demo_input=>NEW...more details | ||
| REQUEST | Requests input | Public |
| CALL METHOD cl_demo_input=>REQUEST...more details | ||
CL_DEMO_INPUT 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.
| Name | Level | Description | Initial Value | Type | Visability |
| BINDINGS | Instance Attribute | LIKE | Private | ||
| DARK_FLAG | Static Attribute | ABAP_FALSE | LIKE ABAP_BOOL | Private | |
| GUI_FLAG | Instance Attribute | LIKE | Private | ||
| INPUTS | Instance Attribute | LIKE | Private | ||
| SELFREF | Instance Attribute | LIKE | Private |
Events of Class CL_DEMO_INPUT
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... HTML_COMPLETED -CL_DEMO_INPUT types
FIELD -FIELDS -
Links to Related Class(s)
CL_DEMO_...Full list of available SAP object classes
Search for further information about these or an SAP related objects