SAP ABAP Class XO_ENUMERATOR (Enumerator Class for Constant Interfaces)
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 | 20070218 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_XO_CONST_DIRECTIONS | Constants: Directions | 20070218 |
Properties
Class | XO_ENUMERATOR | |
Short Description | Enumerator Class for Constant Interfaces | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | XO_MAIN | Central XO Components |
Created | 20070217 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
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 | 20070218 | ||
2 | IF_XO_CONST_DIRECTIONS | Constants: Directions | 20070218 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | XO_UNITTEST_HELPER | 20110505 | Help Methods for Testing XO Framework |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STY_XO_CONSTANTS_BUFFER | Generic Data Table for Dynamic Data References (Sorted) | 20070218 | ||
2 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20070218 | ||||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 0 | Counter | 20070218 | |
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | XO_DIRECTION | IF_XO_CONST_DIRECTIONS=>FORWARD | Direction | 20070218 | |
5 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20070218 | ||||
6 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20070218 | ||||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | -1 | Total Number of Constants | 20070218 | |
8 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | STY_XO_CONSTANT_LIST | Constant List (Sorted) | 20070218 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | XO_OBJECT_CLASS_NAME | Name of Constant Interface | 20070218 | ||
10 | ![]() |
Instance attribute | Private | Attribute reference (LIKE) | 20070218 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20070217 |
2 | ![]() |
Instance method | Public | Method | Returns the Current Counter Reading | 20070218 |
3 | ![]() |
Instance method | Public | Method | Returns the Current Constant Name | 20070510 |
4 | ![]() |
Instance method | Public | Method | Returns the Counter Direction | 20070218 |
5 | ![]() |
Static method | Public | Method | Factory Method: Returns an Instance of the Class | 20070217 |
6 | ![]() |
Instance method | Public | Method | Returns the List of Constants | 20070218 |
7 | ![]() |
Instance method | Public | Method | Returns the Name of the Interface | 20070219 |
8 | ![]() |
Instance method | Public | Method | Returns One Constant Name | 20070218 |
9 | ![]() |
Instance method | Public | Method | Returns the Constant Name for a Value | 20070510 |
10 | ![]() |
Instance method | Public | Method | Returns the Next Constant Name in the Program Run | 20070218 |
11 | ![]() |
Instance method | Public | Method | Returns the Number of Constants | 20070218 |
12 | ![]() |
Instance method | Public | Method | Indicates the Position at Which the Constants Occur | 20070218 |
13 | ![]() |
Instance method | Public | Method | Returns the Previous Constants in the Program Run | 20070218 |
14 | ![]() |
Instance method | Public | Method | Returns the Value for a Constant Name | 20070510 |
15 | ![]() |
Instance method | Public | Method | Indicates Whether the First Entry in Program Run Was Reached | 20070218 |
16 | ![]() |
Instance method | Public | Method | Indicates Whether the Last Entry of Program Run Was Reached | 20070218 |
17 | ![]() |
Instance method | Public | Method | Resets the Counter Reading to the Start or End | 20070218 |
Events
Class XO_ENUMERATOR has no event.
Types
Class XO_ENUMERATOR has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_INTERFACE_NAME | Call by reference | Type reference (TYPE) | XO_OBJECT_CLASS_NAME | Interfacename | 20070217 | ||
2 | ![]() |
I_VALUE_LIST_REF | Call by reference | Object reference (TYPE REF TO) | STY_XO_CONSTANT_LIST | Konstantenliste (sortiert) | 20070218 |
Method CONSTRUCTOR on class XO_ENUMERATOR has no exception.
Method GET_COUNTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_COUNTER | Value transfer | Type reference (TYPE) | I | Zählerstand | 20070218 |
Method GET_COUNTER on class XO_ENUMERATOR has no exception.
Method GET_CURRENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_CURRENT_CONSTANT | Value transfer | Type reference (TYPE) | XO_OBJECT_NAME | Objektname | 20070510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Ausführung nicht erlaubt | 20070510 |
Method GET_DIRECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_DIRECTION | Value transfer | Type reference (TYPE) | XO_DIRECTION | Richtung | 20070218 |
Method GET_DIRECTION on class XO_ENUMERATOR has no exception.
Method GET_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_INTERFACE_NAME | Call by reference | Type reference (TYPE) | XO_OBJECT_CLASS_NAME | Name des Interface | 20070217 | ||
2 | ![]() |
R_REFERENCE | Value transfer | Object reference (TYPE REF TO) | XO_ENUMERATOR | Enumeratorklasse für Konstanten-Interfaces | 20070217 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Ausführung nicht erlaubt | 20070217 |
Method GET_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_LIST | Call by reference | Type reference (TYPE) | TTY_XO_CONSTANT_LIST | Konstantenliste | 20070218 | ||
2 | ![]() |
E_SORTED_LIST | Call by reference | Type reference (TYPE) | STY_XO_CONSTANT_LIST | Konstantenliste (sortiert) | 20070218 |
Method GET_LIST on class XO_ENUMERATOR has no exception.
Method GET_MY_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_NAME | Value transfer | Type reference (TYPE) | XO_OBJECT_CLASS_NAME | Klassenname | 20070219 |
Method GET_MY_NAME on class XO_ENUMERATOR has no exception.
Method GET_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_POSITION | Call by reference | Type reference (TYPE) | I | Position | 20070218 | ||
2 | ![]() |
R_NAME | Value transfer | Type reference (TYPE) | XO_OBJECT_NAME | Objektname | 20070218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Übergabewerte fehlerhaft | 20070218 |
Method GET_NAME_BY_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_VALUE | Call by reference | Type reference (TYPE) | ANY | Konstantenwert | 20070510 | ||
2 | ![]() |
R_NAME | Value transfer | Type reference (TYPE) | XO_OBJECT_NAME | Objektname | 20070510 |
Method GET_NAME_BY_VALUE on class XO_ENUMERATOR has no exception.
Method GET_NEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_NEXT_CONSTANT | Value transfer | Type reference (TYPE) | XO_OBJECT_NAME | Objektname | 20070218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Ausführung nicht erlaubt | 20070218 |
Method GET_NUMBER_OF_VALUES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_NUMBER_OF_VALUES | Value transfer | Type reference (TYPE) | I | Anzahl Konstanten | 20070218 |
Method GET_NUMBER_OF_VALUES on class XO_ENUMERATOR has no exception.
Method GET_POSITION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONSTANT | Call by reference | Type reference (TYPE) | XO_OBJECT_NAME | Konstante | 20070218 | ||
2 | ![]() |
R_POSITION | Value transfer | Type reference (TYPE) | I | Position | 20070218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Übergabewerte fehlerhaft | 20070218 |
Method GET_PREVIOUS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_PREVIOUS_CONSTANT | Value transfer | Type reference (TYPE) | XO_OBJECT_NAME | Vorherige Konstante | 20070218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Ausnahme: Ausführung nicht erlaubt | 20070218 |
Method GET_VALUE_BY_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_NAME | Call by reference | Type reference (TYPE) | XO_OBJECT_NAME | Objektname | 20070510 | ||
2 | ![]() |
R_VALUE | Value transfer | Type reference (TYPE) | SEOVALUE | Konstantenwert | 20070510 |
Method GET_VALUE_BY_NAME on class XO_ENUMERATOR has no exception.
Method IS_FIRST_ENTRY_REACHED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_RESULT | Value transfer | Type reference (TYPE) | XO_BOOLE | Boole'scher Wert ('X' = True ' ' = False) | 20070218 |
Method IS_FIRST_ENTRY_REACHED on class XO_ENUMERATOR has no exception.
Method IS_LAST_ENTRY_REACHED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
R_RESULT | Value transfer | Type reference (TYPE) | XO_BOOLE | Boole'scher Wert ('X' = True ' ' = False) | 20070218 |
Method IS_LAST_ENTRY_REACHED on class XO_ENUMERATOR has no exception.
Method NEW_RUN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DIRECTION | Call by reference | Type reference (TYPE) | XO_DIRECTION | IF_XO_CONST_DIRECTIONS=>FORWARD | Richtung | 20070218 |
Method NEW_RUN on class XO_ENUMERATOR has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 710 |