ABAP OO Class Methods

IF_GLO_MASTER_DATA_MNGR SAP Interface - Country-Specific Asset Master Data







IF_GLO_MASTER_DATA_MNGR 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_GLO_MASTER_DATA_MNGR~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_GLO_MASTER_DATA_MNGR 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_GLO_MASTER_DATA_MNGR





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



CHECK_DATA - Checks the Screen Data
CHECK_FIELD_RULES - Checks If All Screen Layout Rules Followed
IF_FAA_STORABLE~GET_CHANGES - Get Changes
GET_DATA - Gets the Time-Independent Asset Master Data
GET_DATA_OTHER_ASSET - Gets the Time-Independent Asset Master Data (Other)
INIT_BY_ASSET_KEY - Initializes Manager via Asset Key
INIT_BY_PARENT - Initializes Asset Data
IS_ANY_MODIFIED - Flag If Any Asset Modified
IF_FAA_STORABLE~IS_MODIFIED - Is Modified
PREPARE_CHANGE_DOCUMENT - Prepare Change Document
SET_DATA - Sets the Time-Independent Asset Master Data
IF_FAA_STORABLE~STORE - Store


IF_GLO_MASTER_DATA_MNGR Attributes

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


NameDescriptionInitial Value
MD_ACTIVITY Md Activity
MD_ASSET_ID GUID That Uniquely Identifies an Asset
MO_PARENT Asset
MS_DATA Time-Dependent Asset Master Data
MT_DATA Time-Independent Country-Specific Asset Master Data
MT_DATA_OLD Mt Data Old




Events of the Class IF_GLO_MASTER_DATA_MNGR

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