ABAP OO Class Methods

IF_UPWB_C_PAGE SAP Interface - IF_UPWB_C_PAGE







IF_UPWB_C_PAGE is a standard SAP interface, see below for any documentation including details of methods, attributes, events etc. Interfaces are defined much the same as a class using the same transactions but act a bit like a template (in none OO terms). For example, a class would implement the interface and then inherit all of the methods etc from it. This provides a mechanism for unrelated objects to use a set of common behaviours and functionality.


You may have seen this already without knowing what it was, within SAP have you ever seen the method name prefixed by the name of an interface such as IF_UPWB_C_PAGE~METHOD_NAME . This means that the class has implemented an interface and that this method has been inherited from it.


For further relevant information about this interface enter IF_UPWB_C_PAGE into the relevant SAP transactions such as SE24, SE80. Also see the Resource section below to view other useful tips, screenshots, links and general information related to this SAP interface and its methods. Or even add your own for future reference



Methods of IF_UPWB_C_PAGE





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 CL_ABAP_CHAR_UTILITIES=>methodname EXPORTING/IMPORTING...



IF_UPWB_C_COMPONENT~ADD_CHILD - Add Child
IF_UPWB_C_COMPONENT~GET_APPLICATION - Get Application
IF_UPWB_C_COMPONENT~GET_CHILDREN - Get Children
IF_UPWB_C_COMPONENT~GET_CHILDREN_COUNT - Get Children Count
IF_UPWB_C_COMPONENT~GET_CHILD_NUMBER - Get Child Number
IF_UPWB_C_COMPONENT~GET_CLASS - Get Class
IF_UPWB_C_CONTAINER~GET_COLUMNS - Get Columns
IF_UPWB_C_COMPONENT~GET_COMPONENT - Get Component
IF_UPWB_C_CONTAINER~GET_CSS_CLASS - Get Css Class
GET_CSS_LINK - Path to Additional CSS File
GET_HTML_NAME - GET_HTML_NAME
IF_UPWB_C_COMPONENT~GET_ID - Get Id
IF_UPWB_C_GROUP~GET_LABEL - Get Label
IF_UPWB_C_COMPONENT~GET_PARENT - Get Parent
IF_UPWB_C_CONTAINER~GET_ROWS - Get Rows
IF_UPWB_C_CONTAINER~GET_SPACING - Get Spacing
GET_STATEFULL - GET_STATEFULL
IF_UPWB_C_CONTAINER~GET_TABLE_CSS_CLASS - Get Table Css Class
IF_UPWB_C_GROUP~GET_TITLE - Get Title
IF_UPWB_C_CONTAINER~GET_USE_GRID - Get Use Grid
IF_UPWB_C_CONTAINER~GET_VERTICAL - Get Vertical
IF_UPWB_C_COMPONENT~GET_VISUAL - Get Visual
NAVIGATE_TO_APPLICATION - SET_FRAME_PAGE
PREPARE_CONTEXT - PREPARE_CONTEXT
IF_UPWB_C_COMPONENT~REMOVE - Remove
IF_UPWB_C_CONTAINER~SET_COLUMNS - Set Columns
IF_UPWB_C_CONTAINER~SET_CSS_CLASS - Set Css Class
SET_CSS_LINK - Path to Additional CSS File
IF_UPWB_C_GROUP~SET_LABEL - Set Label
IF_UPWB_C_CONTAINER~SET_ROWS - Set Rows
IF_UPWB_C_CONTAINER~SET_SPACING - Set Spacing
SET_STATEFULL - SET_STATEFULL
IF_UPWB_C_CONTAINER~SET_TABLE_CSS_CLASS - Set Table Css Class
IF_UPWB_C_GROUP~SET_TITLE - Set Title
IF_UPWB_C_CONTAINER~SET_USE_GRID - Set Use Grid
IF_UPWB_C_CONTAINER~SET_VERTICAL - Set Vertical
IF_UPWB_C_COMPONENT~SET_VISUAL - Set Visual


IF_UPWB_C_PAGE Attributes

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


NameDescriptionInitial Value
CB_FALSE Cb False
CB_TRUE Cb True



CS_APPLICATION Cs Application
CS_BUT_EXIT Cs But Exit
CS_BUT_NAVIGATION Cs But Navigation
CS_BUT_SAVE Cs But Save
CS_BUT_SUBMIT Cs But Submit
CS_CONTAINER Cs Container
CS_DOCUMENT Cs Document
CS_FUNCTION Cs Function
CS_GROUP Cs Group
CS_LAYOUT Cs Layout
CS_LINK Cs Link
CS_MESSAGE Cs Message
CS_PAGE Cs Page
CS_SEL_CHAVL Cs Sel Chavl
CS_SEL_FUNCTION Cs Sel Function
CS_SEL_PACKAGE Cs Sel Package
CS_TAB_CONTAINER Cs Tab Container
CS_TAB_STRIP Cs Tab Strip
CS_TEXT Cs Text
MO_MSG_LOG Mo Msg Log




Events of the Class IF_UPWB_C_PAGE

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