SAP ABAP Class CL_CURSOR_MM (Cursor Over an Internal Table for Generic Search)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ MM-PUR (Application Component) Purchasing
⤷ MEREQ (Package) Purchasing: Purchase Requisition
⤷ MM-PUR (Application Component) Purchasing
⤷ MEREQ (Package) Purchasing: Purchase Requisition
Properties
Class | CL_CURSOR_MM | |
Short Description | Cursor Over an Internal Table for Generic Search | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MEREQ | Purchasing: Purchase Requisition |
Created | 19990216 | SAP |
Last change | 00000000 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | T | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CURSOR_MM has no interface implemented.
Friends
Class CL_CURSOR_MM has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | COLINDEX | Instance attribute | Private | Type reference (TYPE) | SY-TABIX | Current Column | 19990216 | ||
2 | DONE | Instance attribute | Private | Type reference (TYPE) | T_BOOL | Completed | 19990216 | ||
3 | ITAB | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Internal Table | 19990216 | ||
4 | NO_OF_COMPONENTS | Instance attribute | Private | Type reference (TYPE) | I | Number of Components | 19990216 | ||
5 | PATTERN | Instance attribute | Private | Type reference (TYPE) | STRING40 | Search Term | 19990216 | ||
6 | ROWINDEX | Instance attribute | Private | Type reference (TYPE) | SY-TABIX | Current Line | 19990216 | ||
7 | SEARCH | Instance attribute | Private | Type reference (TYPE) | T_BOOL | Search On/Off | 19990216 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 19990216 |
2 | CURRENT_ITEM | Instance method | Public | Method | Return Current Element | 19990216 |
3 | FIRST | Instance method | Public | Method | Position on First Element (Restart) | 19990216 |
4 | IS_DONE | Instance method | Public | Method | Last Element Reached | 19990216 |
5 | LOOK_FOR | Instance method | Public | Method | Specifies Search Term and Continues Search with It | 19990216 |
6 | NEXT | Instance method | Public | Method | Position on Next Element | 19990216 |
7 | RESET | Instance method | Public | Method | Reset Cursor (No Reading and No Positioning) | 19990216 |
8 | SET_ITEM | Instance method | Public | Method | Explicit Positioning of Cursor | 19990216 |
9 | SET_TABLE | Instance method | Public | Method | Set Table | 19990216 |
Events
Class CL_CURSOR_MM has no event.
Types
Class CL_CURSOR_MM has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_PATTERN | Call by reference | Type reference (TYPE) | C | Suchbegriff für contains pattern (cp) 40 Zeichen maximal | 19990216 | ||
2 | Importing | IM_TABLE | Call by reference | Type reference (TYPE) | TABLE | Interne Tabelle auf der operiert werden soll | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ITAB_NOT_A_TABLE | Parameter im_itab muß eine interne Tabelle sein | 19990216 |
Method CURRENT_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_COLINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Spaltenindex | 19990216 | ||
2 | Exporting | EX_ROWINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Zeilenindex | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Kein Objekt vorhanden | 19990216 |
Method FIRST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_COLINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Spaltenindex | 19990216 | ||
2 | Exporting | EX_IS_DONE | Call by reference | Type reference (TYPE) | T_BOOL | Fertig ? | 19990216 | ||
3 | Exporting | EX_ROWINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Zeilenindex | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NOT_FOUND | Kein Objekt gefunden | 19990216 |
Method IS_DONE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RE_DONE | Value transfer | Type reference (TYPE) | T_BOOL | Fertig ? | 19990216 |
Method IS_DONE on class CL_CURSOR_MM has no exception.
Method LOOK_FOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_PATTERN | Call by reference | Type reference (TYPE) | C | Suchmuster | 19990216 |
Method LOOK_FOR on class CL_CURSOR_MM has no exception.
Method NEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EX_COLINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Spaltenindex | 19990216 | ||
2 | Exporting | EX_IS_DONE | Call by reference | Type reference (TYPE) | T_BOOL | Fertig ? | 19990216 | ||
3 | Exporting | EX_ROWINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Zeilenindex | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_TABLE | Tabellenreferenz fehlerhaft oder Tabelle mit inkomp. Strukt. | 19990216 | |
2 | NOT_FOUND | Keine weiteren Objekte vorhanden | 19990216 |
Method RESET Signature
Method RESET on class CL_CURSOR_MM has no parameter.
Method RESET on class CL_CURSOR_MM has no exception.
Method SET_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_COLINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | 0 | Spalte | 19990216 | |
2 | Importing | IM_ROWINDEX | Call by reference | Type reference (TYPE) | SY-TABIX | 0 | Zeile | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_ITEM | Zeile/Spalte nicht vorhanden | 19990216 |
Method SET_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IM_TABLE | Call by reference | Type reference (TYPE) | TABLE | Tabelle | 19990216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INVALID_TABLE | Tabelle ohne Spalten oder inkompatible Struktur | 19990216 |
History
Last changed by/on | SAP | 00000000 |
SAP Release Created in |