SAP ABAP Class CL_UMG_TABLE_SCANNER (Read table contents in packages to avoid ORA-1555)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18-UNI (Application Component) I18N Unicode
⤷
SUMIG (Package) Unicode Migration: Tabellen Umsetzer + Reparatur Tool
⤷
⤷
Properties
| Class | CL_UMG_TABLE_SCANNER | |
| Short Description | Read table contents in packages to avoid ORA-1555 | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SUMIG | Unicode Migration: Tabellen Umsetzer + Reparatur Tool |
| Created | 20040622 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_UMG_TABLE_SCANNER has no interface implemented.
Friends
Class CL_UMG_TABLE_SCANNER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | UMGTFIELDINFO | Contains column information | 20040622 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | Saves the complete workarea of the last checkpoint | 20040622 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Indicates if the checkpoint mode is on or off | 20040622 | |||
| 4 | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Checkpoint Mode off | 20040622 | ||
| 5 | Constant | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Checkpoint Mode on | 20040622 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 2 | A checkpoint is reached, i.e. "CHECKPOINT_ROWS" have been re | 20040622 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | Maximum number of lines read for one package | 20040622 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | I | Number of lines read in checkpoint mode | 20040622 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | Current where clause if running in checkpoint mode | 20040622 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | UMGTSTRINGS | Contains all where clauses of the current checkpoint | 20040622 | |||
| 11 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Data buffer for storing table contents | 20040622 | |||
| 12 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Data buffer for storing table contents | 20040709 | |||
| 13 | Constant | Private | Type reference (TYPE) | CHAR2 | '''''' | Used for build the where clause of the checkpoint mode | 20040622 | ||
| 14 | Instance attribute | Protected | Type reference (TYPE) | UMGTSTRINGS | Individual where clause | 20040622 | |||
| 15 | Constant | Public | Type reference (TYPE) | I | 0 | a record was read succesfully | 20050510 | ||
| 16 | Instance attribute | Protected | Type reference (TYPE) | UMGTFIELDINFO | Contains column information | 20040622 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | CURSOR | File cursor for reading data from the table | 20040622 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | UMGTFIELDINFO | Contains column information | 20040622 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | TABFDPOS | Language field position | 20050614 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | I | Number of lines read in the current checkpoint package | 20040622 | |||
| 21 | Constant | Public | Type reference (TYPE) | I | 4 | There is no field information about the table | 20040622 | ||
| 22 | Instance attribute | Protected | Type reference (TYPE) | I | Number of rows read so far | 20040622 | |||
| 23 | Constant | Private | Type reference (TYPE) | C | '''' | Used for build the where clause of the checkpoint mode | 20040622 | ||
| 24 | Constant | Public | Type reference (TYPE) | I | 1 | there are no more data to read from the table | 20040622 | ||
| 25 | Instance attribute | Public | Type reference (TYPE) | TABNAME | Table name | 20040622 | |||
| 26 | Constant | Public | Type reference (TYPE) | I | 3 | The table does not exist in the SAP dictionary | 20040622 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Build the where clause for a specific workarea of the table | 20040622 | |
| 2 | Instance method | Public | Method | Close the table after reading a package | 20040622 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20040622 | |
| 4 | Instance method | Public | Method | Download the last package that was fetched to your local PC | 20040709 | |
| 5 | Instance method | Public | Method | Get next workarea from the table | 20040622 | |
| 6 | Instance method | Public | Method | Get next package of size CHECKPOINT_ROWS from the table | 20040622 | |
| 7 | Instance method | Private | Method | Get the field info of the table | 20040622 | |
| 8 | Instance method | Public | Method | Returns the values for a given workarea | 20040623 | |
| 9 | Instance method | Public | Method | Open the table for scanning | 20040622 | |
| 10 | Instance method | Private | Method | Prepares the table to be scanned in checkpoint mode | 20040622 | |
| 11 | Instance method | Public | Method | Returns the number of rows that have been read so far | 20040622 | |
| 12 | Instance method | Public | Method | Set an individual where clause for scanning the table | 20040622 | |
| 13 | Instance method | Private | Method | Checks if the table exists in the SAP dictionary | 20040622 | |
| 14 | Instance method | Public | Method | Upload a saved package from your local PC | 20040709 |
Events
Class CL_UMG_TABLE_SCANNER has no event.
Types
Class CL_UMG_TABLE_SCANNER has no local type.
Method Signatures
Method BUILD_CHKPT_WHERE_TABLE Signature
Method BUILD_CHKPT_WHERE_TABLE on class CL_UMG_TABLE_SCANNER has no parameter.
Method BUILD_CHKPT_WHERE_TABLE on class CL_UMG_TABLE_SCANNER has no exception.
Method CLOSE_TABLE Signature
Method CLOSE_TABLE on class CL_UMG_TABLE_SCANNER has no parameter.
Method CLOSE_TABLE on class CL_UMG_TABLE_SCANNER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_CHECKPOINT_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Tabelle in Checkpt.durchsuchen(ABAP_TRUE=Yes, ABAP_FALSE=No) | 20040622 | |||
| 2 | IM_CHECKPOINT_ROWS | Call by reference | Type reference (TYPE) | I | Anzahl Zeilen, die in Checkpoint-Modus gelesen werden sollen | 20040622 | |||
| 3 | IM_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20040622 |
Method CONSTRUCTOR on class CL_UMG_TABLE_SCANNER has no exception.
Method DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FILENAME | Call by reference | Type reference (TYPE) | STRING | Pfad u. Dateiname auf lokalem PC | 20040709 |
Method DOWNLOAD on class CL_UMG_TABLE_SCANNER has no exception.
Method FETCH_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATA | Call by reference | Type reference (TYPE) | ANY | Arbeitsbereich der letzten gelesenen Zeile | 20040622 | |||
| 2 | EX_RC | Call by reference | Type reference (TYPE) | I | Rückgabewert: "table_finished" oder "checkpoint_reached" | 20040622 |
Method FETCH_NEXT on class CL_UMG_TABLE_SCANNER has no exception.
Method FETCH_NEXT_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DATA_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Interne Tabelle mit letzten Zeilen wurde gelesen | 20040622 | |||
| 2 | EX_RC | Call by reference | Type reference (TYPE) | I | Rückgabewert: "table_finished" oder "checkpoint_reached" | 20040622 |
Method FETCH_NEXT_PACKAGE on class CL_UMG_TABLE_SCANNER has no exception.
Method INIT_FIELD_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_RC | Value transfer | Type reference (TYPE) | I | Rückgabewert: wenn "DDIF_NAMETAB_GET" scheitert | 20040622 |
Method INIT_FIELD_INFO on class CL_UMG_TABLE_SCANNER has no exception.
Method KEY_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_KEY_VALUES | Call by reference | Type reference (TYPE) | UMGTKEYE | Feldnamen und Werte der Schlüsselfelder | 20040623 | |||
| 2 | IM_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Arbetisbereich der durchsuchten Tabelle | 20040623 |
Method KEY_VALUES on class CL_UMG_TABLE_SCANNER has no exception.
Method OPEN_TABLE Signature
Method OPEN_TABLE on class CL_UMG_TABLE_SCANNER has no parameter.
Method OPEN_TABLE on class CL_UMG_TABLE_SCANNER has no exception.
Method PREPARE_CHECKMODE Signature
Method PREPARE_CHECKMODE on class CL_UMG_TABLE_SCANNER has no parameter.
Method PREPARE_CHECKMODE on class CL_UMG_TABLE_SCANNER has no exception.
Method ROW_NUM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_ROW_NUMBER | Value transfer | Type reference (TYPE) | I | Anzahl bisher gelesener Zeilen | 20040622 |
Method ROW_NUM on class CL_UMG_TABLE_SCANNER has no exception.
Method SET_EXTRA_WHERE_CLAUSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_EXTRA_WHERE_CLAUSE | Call by reference | Type reference (TYPE) | UMGTSTRINGS | Definiert spezielle WHERE-Klausel für Suche in Tabelle | 20040622 |
Method SET_EXTRA_WHERE_CLAUSE on class CL_UMG_TABLE_SCANNER has no exception.
Method TABLE_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET_RC | Value transfer | Type reference (TYPE) | I | Rückgabewert: wenn "DD_GET_NAMETAB_HEADER" scheitert | 20040622 |
Method TABLE_EXISTS on class CL_UMG_TABLE_SCANNER has no exception.
Method UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_FILENAME | Call by reference | Type reference (TYPE) | STRING | Pfad u. Dateiname auf lokalem PC | 20040709 |
Method UPLOAD on class CL_UMG_TABLE_SCANNER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |