SAP XO_BUSINESS_OBJECT OO Class - Generic Business Object
XO_BUSINESS_OBJECT 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 XO_BUSINESS_OBJECT 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_XO_BUSINESS_OBJECTInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_XO_CONST_VALIDATION_TARGETInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_XO_VALIDATION_TARGETInheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for XO_BUSINESS_OBJECT is XO_OBJECTMethod list of XO_BUSINESS_OBJECT 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_VALIDATION_RESULTS | Private | |
CALL METHOD xo_business_object=>ADD_VALIDATION_RESULTS...more details | ||
CONSTRUCTOR | CONSTRUCTOR | Public |
CALL METHOD xo_business_object=>CONSTRUCTOR...more details | ||
GET_CHANGED_SEGMENTS | Private | |
CALL METHOD xo_business_object=>GET_CHANGED_SEGMENTS...more details | ||
GET_DATA | Private | |
CALL METHOD xo_business_object=>GET_DATA...more details | ||
GET_DATA_NEW | Private | |
CALL METHOD xo_business_object=>GET_DATA_NEW...more details | ||
GET_DATA_OLD | Private | |
CALL METHOD xo_business_object=>GET_DATA_OLD...more details | ||
| ||
GET_DETAILS_NEW_INTERN | Returns Current Details (Internal) | Protected |
CALL METHOD xo_business_object=>GET_DETAILS_NEW_INTERN...more details | ||
GET_DETAILS_OLD_INTERN | Returns Read Details (Internal) | Protected |
CALL METHOD xo_business_object=>GET_DETAILS_OLD_INTERN...more details | ||
GET_FIELDNAME_IN_STRUCTURE | Returns Field Name in Structure for Segment | Protected |
CALL METHOD xo_business_object=>GET_FIELDNAME_IN_STRUCTURE...more details | ||
GET_META_DATA | Private | |
CALL METHOD xo_business_object=>GET_META_DATA...more details | ||
GET_MY_KEY | Private | |
CALL METHOD xo_business_object=>GET_MY_KEY...more details | ||
GET_MY_NAME | Private | |
CALL METHOD xo_business_object=>GET_MY_NAME...more details | ||
GET_ROOT_SEGMENT | Private | |
CALL METHOD xo_business_object=>GET_ROOT_SEGMENT...more details | ||
GET_ROOT_TABLE | Private | |
CALL METHOD xo_business_object=>GET_ROOT_TABLE...more details | ||
GET_SEGMENT_DATA | Private | |
CALL METHOD xo_business_object=>GET_SEGMENT_DATA...more details | ||
GET_SEGMENT_OBJECT | Private | |
CALL METHOD xo_business_object=>GET_SEGMENT_OBJECT...more details | ||
GET_TABLE_DATA | Private | |
CALL METHOD xo_business_object=>GET_TABLE_DATA...more details | ||
GET_USED_SEGMENTS | Private | |
CALL METHOD xo_business_object=>GET_USED_SEGMENTS...more details | ||
GET_VALIDATION_RESULTS | Private | |
CALL METHOD xo_business_object=>GET_VALIDATION_RESULTS...more details | ||
INITIALIZE | Private | |
CALL METHOD xo_business_object=>INITIALIZE...more details | ||
IS_DATA_MODIFIED | Private | |
CALL METHOD xo_business_object=>IS_DATA_MODIFIED...more details | ||
IS_DATA_SUBMITTED | Private | |
CALL METHOD xo_business_object=>IS_DATA_SUBMITTED...more details | ||
IS_OBJECT_ARCHIVABLE | Private | |
CALL METHOD xo_business_object=>IS_OBJECT_ARCHIVABLE...more details | ||
IS_OBJECT_DELETABLE | Private | |
CALL METHOD xo_business_object=>IS_OBJECT_DELETABLE...more details | ||
IS_OBJECT_LOCKED | Private | |
CALL METHOD xo_business_object=>IS_OBJECT_LOCKED...more details | ||
IS_OBJECT_NEW | Private | |
CALL METHOD xo_business_object=>IS_OBJECT_NEW...more details | ||
IS_SEGMENT_USED | Private | |
CALL METHOD xo_business_object=>IS_SEGMENT_USED...more details | ||
LOCK | Private | |
CALL METHOD xo_business_object=>LOCK...more details | ||
ON_DATA_IS_MODIFIED | Processes DATA_IS_MODIFIED Event | Protected |
CALL METHOD xo_business_object=>ON_DATA_IS_MODIFIED...more details | ||
ON_DATA_SUBMITTED_FOR_SAVE | Processes DATA_SUBMITTED_FOR_SAVE Event | Protected |
CALL METHOD xo_business_object=>ON_DATA_SUBMITTED_FOR_SAVE...more details | ||
ON_FINALIZE | Processes FINALIZE Event | Protected |
CALL METHOD xo_business_object=>ON_FINALIZE...more details | ||
RESET | Private | |
CALL METHOD xo_business_object=>RESET...more details | ||
SAVE_DATA | Private | |
CALL METHOD xo_business_object=>SAVE_DATA...more details | ||
SET_DATA_NEW | Private | |
CALL METHOD xo_business_object=>SET_DATA_NEW...more details | ||
SET_DETAILS_INTERN | Sets Current Details (Internal) | Protected |
CALL METHOD xo_business_object=>SET_DETAILS_INTERN...more details | ||
SET_META_DATA | Private | |
CALL METHOD xo_business_object=>SET_META_DATA...more details | ||
UNLOCK | Private | |
CALL METHOD xo_business_object=>UNLOCK...more details | ||
VALIDATE | Private | |
CALL METHOD xo_business_object=>VALIDATE...more details | ||
VALIDATE_INTERN | Starts Overall Check of Object | Protected |
CALL METHOD xo_business_object=>VALIDATE_INTERN...more details | ||
VALIDATE_NEW_OBJECT | Private | |
CALL METHOD xo_business_object=>VALIDATE_NEW_OBJECT...more details |
XO_BUSINESS_OBJECT 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 |
CHANGE_TIMESTAMP | Instance Attribute | UTC Time Stamp for Object Change | LIKE XO_CHANGE_TIMESTAMP | Protected | |
DATA_SUBMITTED | Instance Attribute | Data Was Submitted for Update | LIKE XO_BOOLE | Private | |
DATA_VALIDATED | Instance Attribute | Object Has Been Checked | LIKE XO_BOOLE | Protected | |
INSTANCE_IS_FREE | Instance Attribute | Instance Can Be Reused | 'X' | LIKE XO_BOOLE | Private |
MESSAGE_TABLE | Instance Attribute | Messages | LIKE TTY_XO_MESSAGE | Protected | |
MY_KEY | Instance Attribute | Key Parameters | LIKE XO_OBJECT_KEY | Private | |
MY_NAME | Instance Attribute | Name of Business Object | LIKE XO_BUSINESS_OBJECT_NAME | Private | |
OBJECT_LOCKED | Instance Attribute | Object Has Been Locked | LIKE XO_BOOLE | Protected | |
ROOT_SEGMENT | Instance Attribute | Segment Object Definition | LIKE IF_XO_SEGMENT_OBJECT | Protected | |
ROOT_TABLE | Instance Attribute | Memory Object Definition | LIKE IF_XO_MEMORY_OBJECT | Protected | |
SEGMENTS | Instance Attribute | Segment Object References | LIKE TTY_XO_SEGMENT_OBJECT | Protected | |
TARGET_BO | Instance Attribute | LIKE | Private | ||
TARGET_MO | Instance Attribute | LIKE | Private | ||
TARGET_SO | Instance Attribute | LIKE | Private |
Events of Class XO_BUSINESS_OBJECT
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... DATA_IS_MODIFIED -DATA_SUBMITTED_FOR_SAVE -
OBJECT_IS_LOCKED -
OBJECT_IS_UNLOCKED -
VALIDATE_ME -
Links to Related Class(s)
XO_BUSIN...Full list of available SAP object classes
Search for further information about these or an SAP related objects