ABAP OO Class Methods

IF_PXN_ATTRIBUTE_GLOBAL_REF SAP Interface - Attribute with global type reference







IF_PXN_ATTRIBUTE_GLOBAL_REF 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_PXN_ATTRIBUTE_GLOBAL_REF~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_PXN_ATTRIBUTE_GLOBAL_REF 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_PXN_ATTRIBUTE_GLOBAL_REF





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_PXN_ATTRIBUTE~CAST_TO_INTERFACE - Cast To Interface
IF_PXN_DELETABLE~DELETE_NODE - Delete Node
IF_PXN_ATTRIBUTE~ENQUEUE - Enqueue
IF_PXN_BASE~GET_ABAP_NAME - Get Abap Name
IF_PXN_ATTRIBUTE~GET_DEFAULT - Get Default
IF_PXN_GLOBAL_REF~GET_GLOBAL_REF - Get Global Ref
IF_PXN_BASE~GET_ID - Get Id
IF_PXN_BASE~GET_MAIN - Get Main
IF_PXN_BASE~GET_NAME - Get Name
IF_PXN_ATTRIBUTE~GET_OBJECT_TYPE - Get Object Type
IF_PXN_ATTRIBUTE~GET_OBJECT_TYPE_DESCRIPTION - Get Object Type Description
IF_PXN_ATTRIBUTE~GET_OPTIONAL - Get Optional
IF_PXN_ATTRIBUTE~GET_POSITION - Get Position
IF_PXN_ATTRIBUTE~GET_TEXT - Get Text
IF_PXN_BASE~GET_WARNINGS - Get Warnings
IF_PXN_ATTRIBUTE~IS_CONSISTENT - Is Consistent
IF_PXN_ATTRIBUTE~IS_SETTABLE_ABAP_NAME - Is Settable Abap Name
IF_PXN_ATTRIBUTE~IS_SETTABLE_XSD - Is Settable Xsd
IF_PXN_BASE~SET_ABAP_NAME - Set Abap Name
IF_PXN_ATTRIBUTE~SET_DEFAULT - Set Default
IF_PXN_GLOBAL_REF~SET_GLOBAL_REF - Set Global Ref
IF_PXN_GLOBAL_REF~SET_GLOBAL_REF_BY_QNAME - Set Global Ref By Qname
IF_PXN_ATTRIBUTE~SET_OPTIONAL - Set Optional
IF_PXN_ATTRIBUTE~SET_TEXT - Set Text
IF_PXN_GLOBAL_REF~SWITCH_TO_INLINE_SIMPLE - Switch To Inline Simple


IF_PXN_ATTRIBUTE_GLOBAL_REF Attributes

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


NameDescriptionInitial Value
ICON Icon
INTERFACE Interface
NODETYPE Nodetype
NODE_DESCRIPTION Node Description
TOOLTIP Tooltip




Events of the Class IF_PXN_ATTRIBUTE_GLOBAL_REF

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