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 ABAP 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 CHAR_FIELD_TABLE Instance attribute Protected Type reference (TYPE) UMGTFIELDINFO Contains column information 20040622
2 CHECKPOINT_BUFFER Instance attribute Private Object reference (TYPE REF TO) DATA Saves the complete workarea of the last checkpoint 20040622
3 CHECKPOINT_MODE Instance attribute Private Type reference (TYPE) ABAP_BOOL Indicates if the checkpoint mode is on or off 20040622
4 CHECKPOINT_MODE_OFF Constant Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Checkpoint Mode off 20040622
5 CHECKPOINT_MODE_ON Constant Public Type reference (TYPE) ABAP_BOOL ABAP_TRUE Checkpoint Mode on 20040622
6 CHECKPOINT_REACHED Constant Public Type reference (TYPE) I 2 A checkpoint is reached, i.e. "CHECKPOINT_ROWS" have been re 20040622
7 CHECKPOINT_ROWS Instance attribute Private Type reference (TYPE) I Maximum number of lines read for one package 20040622
8 CHECKPOINT_ROW_CNT Instance attribute Private Type reference (TYPE) I Number of lines read in checkpoint mode 20040622
9 CHKPT_WHERE_CLAUSE Instance attribute Private Type reference (TYPE) STRING Current where clause if running in checkpoint mode 20040622
10 CHKPT_WHERE_TABLE Instance attribute Private Type reference (TYPE) UMGTSTRINGS Contains all where clauses of the current checkpoint 20040622
11 DATA_BUFFER Instance attribute Protected Object reference (TYPE REF TO) DATA Data buffer for storing table contents 20040622
12 DATA_TABLE_BUFFER Instance attribute Protected Object reference (TYPE REF TO) DATA Data buffer for storing table contents 20040709
13 DOUBLE_AP Constant Private Type reference (TYPE) CHAR2 '''''' Used for build the where clause of the checkpoint mode 20040622
14 EXTRA_WHERE_CLAUSE Instance attribute Protected Type reference (TYPE) UMGTSTRINGS Individual where clause 20040622
15 FETCH_OK Constant Public Type reference (TYPE) I 0 a record was read succesfully 20050510
16 FIELD_DESC_TABLE Instance attribute Protected Type reference (TYPE) UMGTFIELDINFO Contains column information 20040622
17 FILE_CURSOR Instance attribute Private Type reference (TYPE) CURSOR File cursor for reading data from the table 20040622
18 KEY_FIELD_TABLE Instance attribute Protected Type reference (TYPE) UMGTFIELDINFO Contains column information 20040622
19 LANG_FIELD_POS Instance attribute Protected Type reference (TYPE) TABFDPOS Language field position 20050614
20 LINES_READ Instance attribute Protected Type reference (TYPE) I Number of lines read in the current checkpoint package 20040622
21 NO_FIELD_INFO Constant Public Type reference (TYPE) I 4 There is no field information about the table 20040622
22 ROW_COUNT Instance attribute Protected Type reference (TYPE) I Number of rows read so far 20040622
23 SINGLE_AP Constant Private Type reference (TYPE) C '''' Used for build the where clause of the checkpoint mode 20040622
24 TABLE_FINISHED Constant Public Type reference (TYPE) I 1 there are no more data to read from the table 20040622
25 TABLE_NAME Instance attribute Public Type reference (TYPE) TABNAME Table name 20040622
26 TABLE_NOT_EXIST 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 BUILD_CHKPT_WHERE_TABLE Instance method Private Method Build the where clause for a specific workarea of the table 20040622
2 CLOSE_TABLE Instance method Public Method Close the table after reading a package 20040622
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20040622
4 DOWNLOAD Instance method Public Method Download the last package that was fetched to your local PC 20040709
5 FETCH_NEXT Instance method Public Method Get next workarea from the table 20040622
6 FETCH_NEXT_PACKAGE Instance method Public Method Get next package of size CHECKPOINT_ROWS from the table 20040622
7 INIT_FIELD_INFO Instance method Private Method Get the field info of the table 20040622
8 KEY_VALUES Instance method Public Method Returns the values for a given workarea 20040623
9 OPEN_TABLE Instance method Public Method Open the table for scanning 20040622
10 PREPARE_CHECKMODE Instance method Private Method Prepares the table to be scanned in checkpoint mode 20040622
11 ROW_NUM Instance method Public Method Returns the number of rows that have been read so far 20040622
12 SET_EXTRA_WHERE_CLAUSE Instance method Public Method Set an individual where clause for scanning the table 20040622
13 TABLE_EXISTS Instance method Private Method Checks if the table exists in the SAP dictionary 20040622
14 UPLOAD 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 Importing IM_CHECKPOINT_MODE Call by reference Type reference (TYPE) ABAP_BOOL Tabelle in Checkpt.durchsuchen(ABAP_TRUE=Yes, ABAP_FALSE=No) 20040622
2 Importing IM_CHECKPOINT_ROWS Call by reference Type reference (TYPE) I Anzahl Zeilen, die in Checkpoint-Modus gelesen werden sollen 20040622
3 Importing 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 Importing 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 Exporting EX_DATA Call by reference Type reference (TYPE) ANY Arbeitsbereich der letzten gelesenen Zeile 20040622
2 Exporting 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 Exporting EX_DATA_TABLE Call by reference Type reference (TYPE) STANDARD TABLE Interne Tabelle mit letzten Zeilen wurde gelesen 20040622
2 Exporting 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 Returning 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 Exporting EX_KEY_VALUES Call by reference Type reference (TYPE) UMGTKEYE Feldnamen und Werte der Schlüsselfelder 20040623
2 Importing 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 Returning 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 Importing 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 Returning 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 Importing 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