SAP XO_UNIT_TEST OO Class - Utility Class for Unit Test Enhanced for XO









XO_UNIT_TEST 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_UNIT_TEST including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for XO_UNIT_TEST is CL_AUNIT_ASSERT

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_CONST_BOOLE

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_CONST_MESSAGE

Method list of XO_UNIT_TEST 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 NameDescriptionVisability
MASTER_SETUPSet Up Complete XO Test CustomizingPublic
CALL METHOD xo_unit_test=>MASTER_SETUP...more details

MASTER_TEARDOWNRemove Complete XO Test CustomizingPublic
CALL METHOD xo_unit_test=>MASTER_TEARDOWN...more details



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

NameLevelDescriptionInitial ValueTypeVisability
ABORT_MSGInstance AttributeLIKE
Private
BO1ConstantKey Parameters'XO1000'LIKE
XO_OBJECT_KEY
Protected
BO2ConstantKey Parameters'XO1001'LIKE
XO_OBJECT_KEY
Protected
BO3ConstantKey Parameters'XO1002'LIKE
XO_OBJECT_KEY
Protected
BO_1_NEGConstantName of Business Object'ZFUBAR'LIKE
XO_BUSINESS_OBJECT_NAME
Protected
BO_1_POSConstantName of Business Object'ZAIRPLANE'LIKE
XO_BUSINESS_OBJECT_NAME
Protected
BO_2_NEGConstantName of Business Object'ZSCHNAPPI'LIKE
XO_BUSINESS_OBJECT_NAME
Protected
BO_2_POSConstantName of Business Object'ZCARGO_PLANE'LIKE
XO_BUSINESS_OBJECT_NAME
Protected
BO_3_POSConstantName of Business Object'ZPASSENGER_PLANE'LIKE
XO_BUSINESS_OBJECT_NAME
Protected
BO_TYPE_1_NEGConstantName of Business Object Type'ZFUBAR'LIKE
XO_BUSINESS_OBJECT_TYPE
Protected
BO_TYPE_1_POSConstantName of Business Object Type'ZAIRPLANE'LIKE
XO_BUSINESS_OBJECT_TYPE
Protected
BO_TYPE_1_POS_LOCK_OBJECTConstantName of Lock Object'EXOSAPLANE'LIKE
ENQU_NAME
Protected
BO_TYPE_KEYConstantName of Key Field'PLANETYPE'LIKE
XO_KEY_NAME
Protected
BO_TYPE_KEY_NAMEConstantName of Key Field'PLANETYPE'LIKE
XO_KEY_NAME
Protected
BO_TYPE_KEY_TYPEConstantName of Data Type'S_PLANETYE'LIKE
XO_DATA_TYPE_NAME
Protected
ERRORInstance AttributeLIKE
Private
EXITInstance AttributeLIKE
Private
FALSEInstance AttributeLIKE
Private
INFOInstance AttributeLIKE
Private
MO_1_NEGConstantName of Memory Object'Z12345'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MO_1_POSConstantName of Memory Object'SAPLANE'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MO_1_POS_XConstantName of X Structure of Memory Object'STR_XO_DUMMY_X'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MO_2_NEGConstantName of Memory Object'Z67890'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MO_2_POSConstantName of Memory Object'SCPLANE'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MO_3_POSConstantName of Memory Object'SPPLANE'LIKE
XO_MEMORY_OBJECT_NAME
Protected
MSGInstance AttributeError MessageLIKE
CHAR80
Protected
MSG_DATA_CHANGEDConstantNo Buffered Reference Received'Data changed'LIKE
CHAR40
Protected
MSG_ENTRY_FOUNDConstantNo Buffered Reference Received'Entry found'LIKE
CHAR40
Protected
MSG_ENTRY_REMOVEDConstantNo Buffered Reference Received'Entry was removed'LIKE
CHAR40
Protected
MSG_ERROR_EXPECTEDConstantNo Buffered Reference Received'Error was expected'LIKE
CHAR40
Protected
MSG_ERROR_RETURNEDConstantNo Buffered Reference Received'Error was returned'LIKE
CHAR40
Protected
MSG_FALSE_DATAConstantMethod Supplies Incorrect Data'False data from method:'LIKE
CHAR40
Protected
MSG_FALSE_PARAMConstantIncorrect Parameters Have Been Accepted'False parameter accepted:'LIKE
CHAR40
Protected
MSG_FALSE_RESULTConstantResults of Method Are Incorrect'False result in method:'LIKE
CHAR40
Protected
MSG_NEGConstantNegative Case'NEG:'LIKE
CHAR20
Protected
MSG_NO_BUF_REFConstantNo Buffered Reference Received'No buffered reference returned:'LIKE
CHAR40
Protected
MSG_NO_ENTRY_FOUNDConstantNo Buffered Reference Received'No entry found'LIKE
CHAR40
Protected
MSG_NO_PARAMConstantNo Errors for Obligatory Parameters with No Entries'No error on initial mandatory parameter:'LIKE
CHAR40
Protected
MSG_NO_REFConstantNo Buffered Reference Received'No reference returned:'LIKE
CHAR40
Protected
MSG_POSConstantPositive Case'POS:'LIKE
CHAR20
Protected
PO_1_POSConstantName of Persistence Object'ZSPFLI'LIKE
XO_PERSISTENCE_OBJECT_NAME
Protected
SO_1_NEGConstantName of Segment Object'ZFIX'LIKE
XO_SEGMENT_OBJECT_NAME
Protected
SO_1_POSConstantName of Segment Object'ZGENERAL_DATA'LIKE
XO_SEGMENT_OBJECT_NAME
Protected
SO_2_NEGConstantName of Segment Object'ZFOXI'LIKE
XO_SEGMENT_OBJECT_NAME
Protected
SO_2_POSConstantName of Segment Object'ZCARGO_DATA'LIKE
XO_SEGMENT_OBJECT_NAME
Protected
SO_3_POSConstantName of Segment Object'ZPASSENGER_DATA'LIKE
XO_SEGMENT_OBJECT_NAME
Protected
SUCCESSInstance AttributeLIKE
Private
TRUEInstance AttributeLIKE
Private
WARNINGInstance AttributeLIKE
Private


Links to Related Class(s)

XO_UNIT_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!