SAP ABAP Class CL_COLLECTION_TRG (Collection)
Hierarchy
☛
EA-FINSERV (Software Component) SAP Enterprise Extension Financial Services
⤷
FIN-FSCM-TRM-TM (Application Component) Transaction Manager
⤷
FTR_GENERAL (Package) CFM TM: Application Basis / Global Objects
⤷
⤷
Properties
| Class | CL_COLLECTION_TRG | |
| Short Description | Collection | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_GENERAL | CFM TM: Application Basis / Global Objects |
| Created | 19990809 | SAP |
| Last change | 20050109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_COLLECTION_TRG has no forward declaration.
Interfaces
Class CL_COLLECTION_TRG has no interface implemented.
Friends
Class CL_COLLECTION_TRG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | Allows Same Item to be Inserted Twice | 19990809 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | I | Index for Cursor | 19990809 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | TYPE_IT_ITEM | Item Table | 19990809 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | I | 0 | Number of Items in the Collection | 19990809 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Resets the Collection to its Initial Status | 19990809 | |
| 2 | Instance method | Public | Method | Generates a Copy of the Collection | 19990809 | |
| 3 | Instance method | Public | Constructor | Constructor | 19990809 | |
| 4 | Instance method | Public | Method | Returns the First Element of the Collection | 19990809 | |
| 5 | Instance method | Private | Method | Gets an Element from the Collection | 19990809 | |
| 6 | Instance method | Public | Method | Returns the Next Element of the Collection | 19990809 | |
| 7 | Instance method | Public | Method | Supplies the Number of Elements in the Collection | 19990809 | |
| 8 | Instance method | Public | Method | Adds the Element to the Collection | 19990809 | |
| 9 | Instance method | Public | Method | Adds the Transferred Collection to the Current One | 19990809 | |
| 10 | Instance method | Public | Method | Deletes an Element in the Collection | 19990809 | |
| 11 | Instance method | Private | Method | Sets Internal Table | 19990809 |
Events
Class CL_COLLECTION_TRG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYPE_IT_ITEM | Private | See coding | 19990809 | |
Method Signatures
Method CLEAR Signature
Method CLEAR on class CL_COLLECTION_TRG has no parameter.
Method CLEAR on class CL_COLLECTION_TRG has no exception.
Method CLONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_COLLECTION | Value transfer | Object reference (TYPE REF TO) | CL_COLLECTION_TRG | Cloned collection | 19990809 |
Method CLONE on class CL_COLLECTION_TRG has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ALLOW_DOUBLE | Value transfer | Type reference (TYPE) | CHAR1 | Can the same element be inserted twice | 19990809 |
Method CONSTRUCTOR on class CL_COLLECTION_TRG has no exception.
Method GETFIRST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | First item of the collection | 19990809 |
Method GETFIRST on class CL_COLLECTION_TRG has no exception.
Method GETITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_INDEX | Value transfer | Type reference (TYPE) | I | Index of item | 19990809 | |||
| 2 | RE_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | Item to be returned | 19990809 |
Method GETITEM on class CL_COLLECTION_TRG has no exception.
Method GETNEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | Next item of the collection | 19990809 |
Method GETNEXT on class CL_COLLECTION_TRG has no exception.
Method GETNUMBEROFITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_NUMBER | Value transfer | Type reference (TYPE) | I | Number of items | 19990809 |
Method GETNUMBEROFITEMS on class CL_COLLECTION_TRG has no exception.
Method INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | Item to be inserted | 19990809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The object already exists in this collection | 19990809 |
Method MERGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NEW_COLLECTION | Value transfer | Object reference (TYPE REF TO) | CL_COLLECTION_TRG | Collection to be added | 19990809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Object already exists in the collection | 19990809 |
Method REMOVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | Item to be removed | 19990809 | |||
| 2 | RE_REMOVED_ITEM | Value transfer | Object reference (TYPE REF TO) | IF_COLLECTABLE_TRG | Removed item (initial when nothing removed) | 19990809 |
Method REMOVE on class CL_COLLECTION_TRG has no exception.
Method SETTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_IT_ITEMS | Value transfer | Type reference (TYPE) | TYPE_IT_ITEM | Table of references to items | 19990809 |
Method SETTABLE on class CL_COLLECTION_TRG has no exception.
History
| Last changed by/on | SAP | 20050109 |
| SAP Release Created in |