SAP XO_FACTORY OO Class - Central Factory Class for Extensible Objects









XO_FACTORY 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_FACTORY including details of:

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



Method list of XO_FACTORY 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
CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD xo_factory=>CLASS_CONSTRUCTOR...more details

GET_BUSINESS_FACTORYReturns Factory Class for Business ObjectsPublic
CALL METHOD xo_factory=>GET_BUSINESS_FACTORY...more details

GET_BUSINESS_OBJECTReturns Business Object ReferencePublic
CALL METHOD xo_factory=>GET_BUSINESS_OBJECT...more details

GET_CONTROLLERReturns an Instance of the ControllerPublic
CALL METHOD xo_factory=>GET_CONTROLLER...more details

GET_CUSTOMIZINGReturns an Instance of CustomizingPublic
CALL METHOD xo_factory=>GET_CUSTOMIZING...more details

GET_KEY_GENERATORReturns the Instance of the Key GeneratorPublic
CALL METHOD xo_factory=>GET_KEY_GENERATOR...more details

GET_MEMORY_FACTORYReturns Factory Class for Memory ObjectsPublic
CALL METHOD xo_factory=>GET_MEMORY_FACTORY...more details

GET_MEMORY_OBJECTReturns Memory Object ReferencePublic
CALL METHOD xo_factory=>GET_MEMORY_OBJECT...more details

GET_PERSISTENCE_FACTORYReturns Factory Class for Persistence ObjectsPublic
CALL METHOD xo_factory=>GET_PERSISTENCE_FACTORY...more details

GET_PERSISTENCE_OBJECTReturns Persistence Object ReferencePublic
CALL METHOD xo_factory=>GET_PERSISTENCE_OBJECT...more details

GET_SEGMENT_FACTORYReturns Factory Class for Segment ObjectsPublic
CALL METHOD xo_factory=>GET_SEGMENT_FACTORY...more details

GET_SEGMENT_OBJECTReturns Segment Object ReferencePublic
CALL METHOD xo_factory=>GET_SEGMENT_OBJECT...more details

GET_VALIDATION_FACTORYReturns Factory Class for Validation ObjectsPublic
CALL METHOD xo_factory=>GET_VALIDATION_FACTORY...more details



XO_FACTORY 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
BO_FACTORIESStatic AttributeFactories for Business ObjectsLIKE
STY_XO_BO_FACTORY
Private
BO_TYPE_DATAStatic AttributeCustomizing Table for Business Object Type (Sorted)LIKE
STY_XO_BO_TYPE
Private
MO_FACTORIESStatic AttributeFactories for Memory ObjectsLIKE
STY_XO_MO_FACTORY
Private
PO_FACTORIESStatic AttributeFactories for Persistence ObjectsLIKE
STY_XO_PO_FACTORY
Private
SO_FACTORIESStatic AttributeFactories for Segment ObjectsLIKE
STY_XO_SO_FACTORY
Private
VO_FACTORIESStatic AttributeFactories for Validation ObjectsLIKE
STY_XO_VO_FACTORY
Private


Links to Related Class(s)

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