SAP ABAP Class XO_SERVICES (General Services in XO Framework)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   FS-BP (Application Component) Business Partner
     XO_MAIN (Package) Central XO Components
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_XO_CONST_BOOLE Constants: Boolean Values 20051120
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_XO_CONST_COMPARE Constants: Results of Comparison 20051120
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_XO_CONST_MESSAGE Constants: Messages 20051120
Properties
Class XO_SERVICES  
Short Description General Services in XO Framework    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class XO_MAIN    
Program status     
Category 0   
Package XO_MAIN   Central XO Components 
Created 20051117   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_ECH_ERROR_CATEGORIES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_XO_CONST_BOOLE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_XO_CONST_TABLE_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_XO_CONST_BOOLE Constants: Boolean Values 20051120
2 IF_XO_CONST_COMPARE Constants: Results of Comparison 20051120
3 IF_XO_CONST_MESSAGE Constants: Messages 20051120
Friends
Class XO_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COMP_DIFFERENT_LINES Instance attribute Private Attribute reference (LIKE) 20051120
2 COMP_EXACT_LINES Instance attribute Private Attribute reference (LIKE) 20051120
3 COMP_SAME_KEY Instance attribute Private Attribute reference (LIKE) 20051120
4 DATA_BUFFER Static Attribute Private Type reference (TYPE) STY_XO_DATA_BUFFER Generic Data Table for Dynamic Data References (Sorted) 20051120
5 DATA_ELEMENT_CLIENT Constant Private Type reference (TYPE) ROLLNAME 'MANDT' Data Element: Client 20051214
6 FALSE Instance attribute Private Attribute reference (LIKE) 20051120
7 MSG_ABORT Instance attribute Private Attribute reference (LIKE) 20051120
8 MSG_ERROR Instance attribute Private Attribute reference (LIKE) 20051120
9 MSG_EXIT Instance attribute Private Attribute reference (LIKE) 20051120
10 MSG_INFO Instance attribute Private Attribute reference (LIKE) 20051120
11 MSG_SUCCESS Instance attribute Private Attribute reference (LIKE) 20051120
12 MSG_WARNING Instance attribute Private Attribute reference (LIKE) 20051120
13 NAMETAB_BUFFER Static Attribute Protected Type reference (TYPE) NAMETAB_BUFFER_TTY 20070911
14 TRUE Instance attribute Private Attribute reference (LIKE) 20051120
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR_DATA_FIELDS Static method Public Method Initializes Data Fields of a Structure 20060619
2 CLEAR_FIELDS Static method Private Method Initializes Keys of Data Fields of a Structure 20060619
3 CLEAR_KEY_FIELDS Static method Public Method Initializes Key Fields of a Structure 20060619
4 COMPARE_LINES Static method Public Method Compares the Contents of Two Table Lines 20051120
5 COMPARE_LINE_KEYS Static method Public Method Compares Keys for Two Table Rows 20051213
6 CREATE_DATA Static method Public Method Creates a New Data Reference 20051120
7 CREATE_X_LINE Static method Public Method Generates Update Row by Comparing Two Table Rows 20060404
8 DOES_TABLE_EXIST Static method Public Method Indicates Whether a Table Exists in DDIC 20051120
9 DO_MESSAGES_CONTAIN Static method Public Method Checks Whether Messages of a Certain Type Occur 20051120
10 GET_CLIENT_FIELD_NAME Static method Public Method Returns Key Fields for a Table 20061201
11 GET_DDIF_NAMETAB Static method Public Method Provides DDIF Nametab Information 20070911
12 GET_IF_IMPLEMENTATIONS Static method Public Method Returns the Classes that Implement an Interface 20060127
13 GET_OBJECT_TYPE_NAME Static method Public Method Returns the Name of the Object Type 20100829
14 GET_SUB_OBJECTS Static method Public Method Returns Directly Derived Objects for an Object 20060128
15 GET_TABLE_CHANGES Static method Public Method Determines Changes Between Two Tables 20061012
16 GET_TABLE_DATA_FIELDS Static method Public Method Returns Data Fields of a Table 20060619
17 GET_TABLE_FIELDS Static method Private Method Returns Data or Key Fields of a Table 20060619
18 GET_TABLE_KEY_FIELDS Static method Public Method Returns Key Fields for a Table 20060310
19 GET_WEEKDAY Static method Public Method Returns the Weekday for a Date 20070420
20 IS_OF_TYPE_TABLE Static method Public Method Indicates Whether the Transferred Object Is a Table 20100829
21 NEW_DUMP_WITH_MESSAGES Static method Public Method Generates a Short Dump with the Transferred Messages 20060925
22 NEW_MESSAGE Static method Public Method Creates a New Message of the Type BAPIRET2 20051120
23 XMERGE_LINE Static method Public Method Changes Transferred Structure Using Update Parameter 20051219
24 XMERGE_TABLE Static method Public Method Changes Transferred Data Using Update Parameter 20060224
Events
Class XO_SERVICES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 NAMETAB_BUFFER_LINE Protected See coding 20070911 begin of nametab_buffer_line, table_name type xo_table_name, table_fields type ddfields, end of nametab_buffer_line
2 NAMETAB_BUFFER_TTY Protected See coding 20070911 nametab_buffer_tty type sorted table of nametab_buffer_line with unique key table_name
Method Signatures

Method CLEAR_DATA_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_LINE Call by reference Type reference (TYPE) ANY Zeile mit Daten 20060619
2 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060619

Method CLEAR_DATA_FIELDS on class XO_SERVICES has no exception.

Method CLEAR_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_LINE Call by reference Type reference (TYPE) ANY Zeile mit Daten 20060619
2 Importing I_DATA_FIELDS Call by reference Type reference (TYPE) XO_BOOLE Schlüssel-(SPACE) oder Datenfelder ('X') 20060619
3 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060619

Method CLEAR_FIELDS on class XO_SERVICES has no exception.

Method CLEAR_KEY_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_LINE Call by reference Type reference (TYPE) ANY Zeile mit Daten 20060619
2 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060619

Method CLEAR_KEY_FIELDS on class XO_SERVICES has no exception.

Method COMPARE_LINES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_KEY_ONLY Call by reference Type reference (TYPE) XO_BOOLE Nur die Schlüssel der Zeilen vergleichen 20051214
2 Importing I_LINE1 Call by reference Type reference (TYPE) ANY Zeile 1 20051120
3 Importing I_LINE2 Call by reference Type reference (TYPE) ANY Zeile 2 20051120
4 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20051120
5 Returning R_RESULT Value transfer Type reference (TYPE) XO_COMPARE_RESULT Ergebnis des Vergleiches 20051120

Method COMPARE_LINES on class XO_SERVICES has no exception.

Method COMPARE_LINE_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEYS Call by reference Type reference (TYPE) TTY_XO_FIELD Schlüsselfelder 20070903
2 Importing I_LINE1 Call by reference Type reference (TYPE) ANY Zeile 1 20051213
3 Importing I_LINE2 Call by reference Type reference (TYPE) ANY Zeile 2 20051213
4 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20051213
5 Returning R_RESULT Value transfer Type reference (TYPE) XO_COMPARE_RESULT Ergebnis des Vergleiches 20051213

Method COMPARE_LINE_KEYS on class XO_SERVICES has no exception.

Method CREATE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AS_TABLE Call by reference Type reference (TYPE) XO_BOOLE Eine Datenreferenz für eine Tabelle erzeugen 20051120
2 Importing I_DATA_TYPE Call by reference Type reference (TYPE) XO_OBJECT_NAME Datentyp 20051120
3 Importing I_INITIAL_SIZE Call by reference Type reference (TYPE) I 0 Initiale Größe der Tabelle 20051120
4 Importing I_KEY_FIELDS Call by reference Type reference (TYPE) TTY_XO_TABLE_NAME Schlüsselfelder 20070412
5 Importing I_TABLE_TYPE Call by reference Type reference (TYPE) XO_TABLE_TYPE IF_XO_CONST_TABLE_TYPES=>STANDARD Tabellentyp 20070412
6 Importing I_UNIQUE_KEY Call by reference Type reference (TYPE) XO_BOOLE IF_XO_CONST_BOOLE=>TRUE Boole'scher Wert ('X' = True ' ' = False) 20070412
7 Returning R_DATA Value transfer Object reference (TYPE REF TO) DATA Erzeugte Datenreferenz 20051120

Method CREATE_DATA on class XO_SERVICES has no exception.

Method CREATE_X_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LINE_X Call by reference Type reference (TYPE) ANY X Zeile 20060404
2 Importing I_LINE_NEW Call by reference Type reference (TYPE) ANY Zeile 2 20060404
3 Importing I_LINE_OLD Call by reference Type reference (TYPE) ANY Zeile 1 20060404
4 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060404

Method CREATE_X_LINE on class XO_SERVICES has no exception.

Method DOES_TABLE_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20051120
2 Returning R_RESULT Value transfer Type reference (TYPE) XO_BOOLE Gibt an, ob die Tabelle im DDIC existiert 20051120

Method DOES_TABLE_EXIST on class XO_SERVICES has no exception.

Method DO_MESSAGES_CONTAIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AND_HIGHER Call by reference Type reference (TYPE) XO_BOOLE 'X' Fehlermeldungen höherer Prio miteinbeziehen 20051120
2 Importing I_MESSAGES Call by reference Type reference (TYPE) TTY_XO_MESSAGE Nachrichtentabelle 20051120
3 Importing I_MESSAGE_TYPE Call by reference Type reference (TYPE) SY-MSGTY 'E' Nachrichtentyp 20051120
4 Returning R_RESULT Value transfer Type reference (TYPE) XO_BOOLE Ergebnis 20051120
# Exception Resumable Description Created on
1 CX_XO_INVALID_PARAMETER Ausnahme: Übergabewerte fehlerhaft 20110412

Method GET_CLIENT_FIELD_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20061201
2 Returning R_FIELD_NAME Value transfer Type reference (TYPE) XO_FIELD_NAME Feldname des Mandantenfeldes 20061201

Method GET_CLIENT_FIELD_NAME on class XO_SERVICES has no exception.

Method GET_DDIF_NAMETAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20070911
2 Returning R_RESULT Value transfer Type reference (TYPE) DDFIELDS DD: Feldliste 20070911
# Exception Resumable Description Created on
1 CX_XO_INVALID_PARAMETER Ausnahme: Objekt(referenz) nicht gefunden 20070912

Method GET_IF_IMPLEMENTATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INTERFACE_NAME Call by reference Type reference (TYPE) XO_OBJECT_CLASS_NAME Interface-Name 20060127
2 Returning R_CLASS_LIST Value transfer Type reference (TYPE) TTY_XO_CLASS_DETAILS Details zu Klassen 20060127

Method GET_IF_IMPLEMENTATIONS on class XO_SERVICES has no exception.

Method GET_OBJECT_TYPE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJECT Call by reference Type reference (TYPE) ANY Object 20100829
2 Returning R_OBJECT_TYPE_NAME Value transfer Type reference (TYPE) XO_OBJECT_NAME Objektname 20100829

Method GET_OBJECT_TYPE_NAME on class XO_SERVICES has no exception.

Method GET_SUB_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJECT_NAME Call by reference Type reference (TYPE) XO_OBJECT_CLASS_NAME Klassen-/Interface-Name 20060128
2 Returning R_CLASSES Value transfer Type reference (TYPE) TTY_XO_CLASSES Klassen 20060128

Method GET_SUB_OBJECTS on class XO_SERVICES has no exception.

Method GET_TABLE_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETES Call by reference Type reference (TYPE) STANDARD TABLE Zu löschende Sätze 20061012
2 Exporting E_INSERTS Call by reference Type reference (TYPE) STANDARD TABLE Neu anzulegende Sätze 20061012
3 Exporting E_UNCHANGED Call by reference Type reference (TYPE) STANDARD TABLE Gleiche Sätze 20070719
4 Exporting E_UPDATES Call by reference Type reference (TYPE) STANDARD TABLE Zu ändernde Sätze 20061012
5 Importing I_DATA_NEW Call by reference Type reference (TYPE) STANDARD TABLE Neue Daten 20061012
6 Importing I_DATA_OLD Call by reference Type reference (TYPE) STANDARD TABLE Alte Daten 20061012
7 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20061012

Method GET_TABLE_CHANGES on class XO_SERVICES has no exception.

Method GET_TABLE_DATA_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060619
2 Returning R_KEY_FIELDS Value transfer Type reference (TYPE) TTY_XO_FIELD Felder 20060619

Method GET_TABLE_DATA_FIELDS on class XO_SERVICES has no exception.

Method GET_TABLE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA_FIELDS Call by reference Type reference (TYPE) XO_BOOLE Daten-('X') oder Schlüsselfelder (SPACE) 20060619
2 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060619
3 Returning R_FIELDS Value transfer Type reference (TYPE) TTY_XO_FIELD Felder 20060619

Method GET_TABLE_FIELDS on class XO_SERVICES has no exception.

Method GET_TABLE_KEY_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060310
2 Returning R_KEY_FIELDS Value transfer Type reference (TYPE) TTY_XO_FIELD Felder 20060310

Method GET_TABLE_KEY_FIELDS on class XO_SERVICES has no exception.

Method GET_WEEKDAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE Call by reference Type reference (TYPE) SYDATE Datum 20070420
2 Returning R_WEEKDAY Value transfer Type reference (TYPE) XO_WEEKDAY Wochentag 20070420

Method GET_WEEKDAY on class XO_SERVICES has no exception.

Method IS_OF_TYPE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_OBJECT Call by reference Type reference (TYPE) ANY Object 20100829
2 Returning R_RESULT Value transfer Type reference (TYPE) XO_BOOLE Boole'scher Wert ('X' = True ' ' = False) 20100829

Method IS_OF_TYPE_TABLE on class XO_SERVICES has no exception.

Method NEW_DUMP_WITH_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MESSAGE Call by reference Type reference (TYPE) STR_XO_MESSAGE Nachricht 20060925
2 Importing I_MESSAGES Call by reference Type reference (TYPE) TTY_XO_MESSAGE Nachrichten 20060925

Method NEW_DUMP_WITH_MESSAGES on class XO_SERVICES has no exception.

Method NEW_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLASS_ID Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20051120
2 Importing I_ECH_ERROR_CATEGORY Call by reference Type reference (TYPE) XO_ECH_ERROR_CATEGORY IF_ECH_ERROR_CATEGORIES=>PRE_CROSS_VALIDATION Fehlerkategorie 20070423
3 Importing I_FIELD Call by reference Type reference (TYPE) BAPI_FLD Feldname 20051120
4 Importing I_FROM_SYSTEM Call by reference Type reference (TYPE) XO_BOOLE Meldung aus Systemparametern übernehmen 20051120
5 Importing I_NUMBER Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20051120
6 Importing I_PARAMETER Call by reference Type reference (TYPE) BAPI_PARAM Parametername 20051120
7 Importing I_ROW Call by reference Type reference (TYPE) BAPI_LINE Zeile im Parameter 20051120
8 Importing I_TABLE Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060808
9 Importing I_TYPE Call by reference Type reference (TYPE) BAPI_MTYPE Meldungstyp: S Success, E Error, W Warning, I Info, A Abort 20051120
10 Importing I_VARIABLE1 Call by reference Type reference (TYPE) CHAR50 Nachrichtenvariable 20051120
11 Importing I_VARIABLE2 Call by reference Type reference (TYPE) CHAR50 Nachrichtenvariable 20051120
12 Importing I_VARIABLE3 Call by reference Type reference (TYPE) CHAR50 Nachrichtenvariable 20051120
13 Importing I_VARIABLE4 Call by reference Type reference (TYPE) CHAR50 Nachrichtenvariable 20051120
14 Returning R_MESSAGE Value transfer Type reference (TYPE) STR_XO_MESSAGE Returnparameter 20051120

Method NEW_MESSAGE on class XO_SERVICES has no exception.

Method XMERGE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA_MERGED Call by reference Type reference (TYPE) ANY Aktuelle Daten 20051219
2 Importing I_DATAX Call by reference Type reference (TYPE) ANY Änderungskennzeichen 20051219
3 Importing I_DATA_NEW Call by reference Type reference (TYPE) ANY Zeile mit neuen Daten 20051219
4 Importing I_DATA_OLD Call by reference Type reference (TYPE) ANY Zeile mit alten Daten 20051219
5 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20051219
# Exception Resumable Description Created on
1 CX_XO_INVALID_PARAMETER Ausnahme: Übergabewerte fehlerhaft 20051219

Method XMERGE_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DATA_MERGED Call by reference Type reference (TYPE) STANDARD TABLE Aktuelle Daten 20060224
2 Importing I_DATA_CHANGE Call by reference Type reference (TYPE) TTY_XO_MO_CHANGE_DATA Zu ändernde Daten 20060224
3 Importing I_DATA_OLD Call by reference Type reference (TYPE) STANDARD TABLE Bisherige Daten 20060224
4 Importing I_TABLE_NAME Call by reference Type reference (TYPE) XO_TABLE_NAME Tabellenname 20060224
# Exception Resumable Description Created on
1 CX_XO_ILLEGAL_OPERATION Ausnahme: Versuch, 2 mal den gleichen Datensatz zu ändern 20060628
2 CX_XO_OBJECT_NOT_FOUND Ausnahme: Der zu ändernde Datensatz wurde nicht gefunden 20060224
History
Last changed by/on SAP  20110908 
SAP Release Created in 710