SAP ABAP Class CL_RSTT_DB_MAINTAIN (Manage Database Table)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-BEX (Application Component) Business Explorer
     RSTT_DB (Package) Trace Tool for SAP Netweaver 2005 (BW): Persistence Layer
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SERIALIZABLE_OBJECT Serializable Object 20041221
Properties
Class CL_RSTT_DB_MAINTAIN  
Short Description Manage Database Table    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSTT_DB   Trace Tool for SAP Netweaver 2005 (BW): Persistence Layer 
Created 20041111   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 RSTT0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 RSTT1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SERIALIZABLE_OBJECT Serializable Object 20041221
Friends
Class CL_RSTT_DB_MAINTAIN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 N_DBALIAS Instance attribute Public Type reference (TYPE) RSTT_COMPNM Alias for DB Table 20041115
2 N_DBNAME Instance attribute Public Type reference (TYPE) RSTT_COMPTYPNM Name of database table 20041115
3 N_DB_MAINT_OBJ Static Attribute Public Object reference (TYPE REF TO) CL_RSTT_DB_MAINTAIN Manage Database Table 20041115
4 N_DYN_COND Instance attribute Public Type reference (TYPE) RSTT_STRING String Field 20041115
5 N_ORDER_TAB Instance attribute Public Type reference (TYPE) RSTT1_T_ORDER Order Table 20041115
6 N_SELECT_TAB Instance attribute Public Type reference (TYPE) RSTT1_T_SELECT Select Table 20041115
7 N_SUBCOMP Instance attribute Public Type reference (TYPE) RSTT_COMPNM Component for Subquery 20050420
8 N_TX_RANGE Instance attribute Public Type reference (TYPE) RSTT0_TX_RANGE Range Table (inc. Components; Range in REF-TO-DATA) 20050110
9 N_TX_RANGE_DF Static Attribute Public Type reference (TYPE) CT_TX_RANGE 20050112
10 N_T_DB Instance attribute Public Type reference (TYPE) RSTT_T_TABALIAS Table for Database Tables 20050415
11 N_WHERE_TAB Instance attribute Public Type reference (TYPE) RSTT1_T_WHERE Where Table 20041115
12 O_C_ALIASSEP Constant Protected Type reference (TYPE) RSTT_FLAG '~' Alias Separator 20050415
13 O_C_RANGE_APPENDIX Constant Protected Type reference (TYPE) RSTT_FLAG '>' Appendix for Range Field 20050111
14 O_C_RANGE_PREFIX Constant Protected Type reference (TYPE) RSTT_STRING ' Prefix for Range Field 20050111
15 O_C_RANGE_PREFIX_S Constant Protected Type reference (TYPE) RSTT_STRING ' Prefix for Range Field 20050420
16 O_DBNAME_S Instance attribute Protected Type reference (TYPE) RSTT_DBNM Name of Database Table for Subquery 20050420
17 O_SX_CURSOR Instance attribute Protected Type reference (TYPE) OT_SX_CURSOR Info about Database Cursor 20081117
18 O_TX_JOINTAB Instance attribute Protected Type reference (TYPE) RSTT_TX_JOINTAB Table for Table Relationships 20050415
19 O_TX_JOINTAB_S Instance attribute Protected Type reference (TYPE) RSTT_TX_JOINTAB Table for Table Relationships (Subquery) 20050420
20 O_TX_RANGE_S Instance attribute Protected Type reference (TYPE) RSTT0_TX_RANGE Range Table for Subquery 20050420
21 O_T_SELECT_S Instance attribute Protected Type reference (TYPE) RSTT1_T_SELECT Select Table for Subquery 20050420
22 O_T_WHERE_S Instance attribute Protected Type reference (TYPE) RSTT1_T_WHERE Where Table for Subquery 20050420
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20041111
2 CREATE_DBOBJ Static method Public Method Generate DB Object 20041122
3 DELETE Instance method Public Method Delete Database Table Based on All Set Parameters 20041111
4 DESERIALZE_HELPER Instance method Private Method 20041221
5 FILL_FROM_LINE Instance method Public Method Read From-Table Step-by-Step 20050415
6 FILL_FROM_STRING Instance method Public Method Reads SQL String for FROM 20050118
7 FILL_ORDER Instance method Public Method Import Order Table 20041111
8 FILL_RANGE Instance method Public Method Import Range Table 20041111
9 FILL_RANGE_SIMPLE Instance method Public Method Set Simple Cross-Field Range Table 20090708
10 FILL_SELECT Instance method Public Method Import Select Table 20041111
11 FILL_WHERE Instance method Public Method Import Where Table 20041111
12 GET_ALIAS Instance method Protected Method Get Alias for Table Name 20050415
13 GET_FULL_COMPNM Instance method Protected Method Get Component Name Incl. Alias 20050415
14 GET_JOIN_COMP_STRING Instance method Protected Method Build String from Join-Component Table 20050415
15 GET_JOIN_SET_STRING Instance method Protected Method Build String for a Join 20050415
16 INSERT Instance method Public Method Enhance Database Table 20041111
17 MODIFY Instance method Public Method Modify DB Table 20041207
18 READ Instance method Public Method Read Data Base Table Based on All Set Parameters 20041111
19 READ_BLOCKWISE Instance method Public Method Read Database Table in Blocks 20081117
20 READ_DISTINCT Instance method Public Method Read Database Table with SELECT DINSTINCT 20060302
21 READ_SUBQUERY Instance method Protected Method Perform Read with Subquery 20050420
22 SERIALZE_HELPER Instance method Private Method 20041221
23 SET_SUBQUERY Instance method Public Method Set Subquery Parameter 20050420
24 TRANSFORM_FROM Instance method Public Method Build FROM String 20050415
25 TRANSFORM_ORDER Instance method Public Method Convert Order Table into String 20041111
26 TRANSFORM_RANGE Instance method Public Method Convert Range Table into String 20041111
27 TRANSFORM_SELECT Instance method Public Method Convert Range Table into String 20041111
28 TRANSFORM_WHERE Instance method Public Method Convert Where Table in String 20041111
29 UPDATE Instance method Public Method Change Database Table 20041111
30 _INITIAL_READ_BLOCKWISE Instance method Public Method Read Data Base Table Based on All Set Parameters 20081117
Events
Class CL_RSTT_DB_MAINTAIN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 CT_SX_RANGE Public See coding 20050110 begin of CT_SX_RANGE, compnm type rstt_compnm, range type ref to data, end of CT_SX_RANGE
2 CT_TX_RANGE Public See coding 20050110 CT_TX_RANGE type standard table of CT_SX_RANGE with key compnm
3 OT_SX_CURSOR Protected See coding 20081117 BEGIN OF ot_sx_cursor, initial TYPE rstt_flag, end_of_data TYPE rstt_flag, cursor TYPE cursor, rowcount_all TYPE rstt_int4, END OF ot_sx_cursor
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIAS Call by reference Type reference (TYPE) RSTT_COMPNM Alias der DB-Tabelle 20041111
2 Importing I_DBNAME Call by reference Type reference (TYPE) RSTT_COMPTYPNM Name der DB-Tabelle 20041111
3 Importing I_T_DB Call by reference Type reference (TYPE) RSTT_T_TABALIAS Tabelle für Datenbank-Tabellen 20050415
# Exception Resumable Description Created on
1 NO_RELEVANT_DB Keine relevante Datenbanktabelle bzw. View für RSTT 20050222

Method CREATE_DBOBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DBNAME Call by reference Type reference (TYPE) RSTT_COMPTYPNM Name der DB-Tabelle 20041122
2 Importing I_T_DB Call by reference Type reference (TYPE) RSTT_T_TABALIAS Tabelle für Datenbank-Tabellen 20050415
3 Returning R_R_DBOBJ Value transfer Object reference (TYPE REF TO) CL_RSTT_DB_MAINTAIN DB-Objektinstanz 20041122
# Exception Resumable Description Created on
1 NO_RELEVANT_DB Keine relevante Datenbanktabelle bzw. View für RSTT 20050222

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FULL Call by reference Type reference (TYPE) RSTT_FLAG Totale Löschung? 20041207
# Exception Resumable Description Created on
1 INVALID_WHERE Totale Löschung ohne Selektion nicht erlauben 20041207
2 NO_RELEVANT_DB 20050419

Method DESERIALZE_HELPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing N_DBNAME Call by reference Type reference (TYPE) RSTT_COMPTYPNM Trace-Tool: Typname einer ABAP-Komponente 20041221

Method DESERIALZE_HELPER on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_FROM_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DBNAME_L Call by reference Type reference (TYPE) RSTT_DBNM Linke Datenbank-Tabelle 20050415
2 Importing I_DBNAME_R Call by reference Type reference (TYPE) RSTT_DBNM Rechte Datenbank-Tabelle 20050415
3 Importing I_JOINTYPE Call by reference Type reference (TYPE) RSTT_JOINTYPE Join-Typ 20050415
4 Importing I_T_JOINCOMP Call by reference Type reference (TYPE) RSTT_T_JOINCOMP Tabelle für Join-Komponenten 20050415

Method FILL_FROM_LINE on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_FROM_STRING Signature

Method FILL_FROM_STRING on class CL_RSTT_DB_MAINTAIN has no parameter.
Method FILL_FROM_STRING on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_ORDER Call by reference Type reference (TYPE) RSTT1_T_ORDER 20050117

Method FILL_ORDER on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TX_RANGE Call by reference Type reference (TYPE) RSTT0_TX_RANGE 20050112

Method FILL_RANGE on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_RANGE_SIMPLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DBNAME Call by reference Type reference (TYPE) RSTT_DBNM Datenbanktabelle 20090708
2 Importing I_T_RANGE Call by reference Type reference (TYPE) RSTT_T_RANGE_ALL Filtertabelle mit Komponente 20090708

Method FILL_RANGE_SIMPLE on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_SELECT Call by reference Type reference (TYPE) RSTT1_T_SELECT 20050414

Method FILL_SELECT on class CL_RSTT_DB_MAINTAIN has no exception.

Method FILL_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_WHERE Call by reference Type reference (TYPE) RSTT1_T_WHERE 20041122

Method FILL_WHERE on class CL_RSTT_DB_MAINTAIN has no exception.

Method GET_ALIAS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DBNAME Call by reference Type reference (TYPE) RSTT_DBNM Tabellenname 20050415
2 Returning R_ALIAS Value transfer Type reference (TYPE) RSTT_COMPNM Tabellen-Alias 20050415

Method GET_ALIAS on class CL_RSTT_DB_MAINTAIN has no exception.

Method GET_FULL_COMPNM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_COMPNM Call by reference Type reference (TYPE) RSTT_COMPNM Trace-Tool: ABAP-Komponentenname 20050415
2 Importing I_DBNAME Call by reference Type reference (TYPE) RSTT_DBNM Name von Datenbank-Tabelle 20050415
3 Returning R_COMP_FULL Value transfer Type reference (TYPE) RSTT_STRING Vollständiger Komponentenname 20050415

Method GET_FULL_COMPNM on class CL_RSTT_DB_MAINTAIN has no exception.

Method GET_JOIN_COMP_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_T_JOINCOMP Call by reference Type reference (TYPE) RSTT_T_JOINCOMP Tabelle für Join-Komponenten 20050415
2 Returning R_STRING Value transfer Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050415

Method GET_JOIN_COMP_STRING on class CL_RSTT_DB_MAINTAIN has no exception.

Method GET_JOIN_SET_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FROMSTRING_LEFT Call by reference Type reference (TYPE) RSTT_STRING FROM-String auf der linken Seite 20050415
2 Importing I_SX_JOINTAB Call by reference Type reference (TYPE) RSTT_SX_JOINTAB Struktur für Tabellenbeziehungen 20050415
3 Returning R_STRING Value transfer Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050415

Method GET_JOIN_SET_STRING on class CL_RSTT_DB_MAINTAIN has no exception.

Method INSERT Signature

Method INSERT on class CL_RSTT_DB_MAINTAIN has no parameter.
Method INSERT on class CL_RSTT_DB_MAINTAIN has no exception.

Method MODIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_FROM Call by reference Object reference (TYPE REF TO) DATA 20041207
2 Importing I_TAB_FLAG Call by reference Type reference (TYPE) RSTT_FLAG Ist I_FROM Referenz auf Tabelle? 20041207
# Exception Resumable Description Created on
1 DB_MODIFY_ERROR 20041207
2 NO_MODIFIED_ROWS 20041207

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_DB Call by reference Type reference (TYPE) ANY TABLE Interne Table der DB-Selektion 20041122
# Exception Resumable Description Created on
1 SOME_ERROR Irgendein Fehler 20041111

Method READ_BLOCKWISE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_END_OF_DATA Call by reference Type reference (TYPE) RSTT_FLAG Ende der Abfrage erreicht 20081117
2 Exporting E_ROWCOUNT_TOTAL Call by reference Type reference (TYPE) RSTT_INT4 Aktuelle Anzahl gelesener Sätze 20081117
3 Exporting E_R_ERROR_SQL Call by reference Object reference (TYPE REF TO) CX_SY_DYNAMIC_OSQL_ERROR Open SQL Fehler 20081117
4 Exporting E_T_DB Call by reference Type reference (TYPE) ANY TABLE Interne Table der DB-Selektion 20081117
5 Importing I_BLOCKSIZE Call by reference Type reference (TYPE) RSTT_INT4 10000 Blockgröße 20081117
6 Importing I_INIT Call by reference Type reference (TYPE) RSTT_FLAG Abfrage initialisieren 20081117
# Exception Resumable Description Created on
1 NOT_SUPPORTED Gewählte Konstellation wird nicht unterstützt 20081117

Method READ_DISTINCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_DB Call by reference Type reference (TYPE) ANY TABLE Interne Table der DB-Selektion 20060302
# Exception Resumable Description Created on
1 SOME_ERROR Irgendein Fehler 20060302

Method READ_SUBQUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_DB Call by reference Type reference (TYPE) ANY TABLE 20050420
2 Importing I_FROM_STRING Call by reference Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050420
3 Importing I_ORDER_STRING Call by reference Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050420
4 Importing I_SELECT_STRING Call by reference Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050420
5 Importing I_WHERE_STRING Call by reference Type reference (TYPE) RSTT_STRING Trace-Tool: Stringfeld 20050420

Method READ_SUBQUERY on class CL_RSTT_DB_MAINTAIN has no exception.

Method SERIALZE_HELPER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting N_DBNAME Call by reference Type reference (TYPE) RSTT_COMPTYPNM Trace-Tool: Typname einer ABAP-Komponente 20041221

Method SERIALZE_HELPER on class CL_RSTT_DB_MAINTAIN has no exception.

Method SET_SUBQUERY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FROM Call by reference Type reference (TYPE) RSTT_DBNM Name von Datenbank-Tabelle 20050420
2 Importing I_SUBCOMP Call by reference Type reference (TYPE) RSTT_COMPNM Trace-Tool: ABAP-Komponentenname 20050420
3 Importing I_TX_JOINTAB Call by reference Type reference (TYPE) RSTT_TX_JOINTAB Tabelle für Tabellenbeziehungen 20050420
4 Importing I_TX_RANGE Call by reference Type reference (TYPE) RSTT0_TX_RANGE 20050420
5 Importing I_T_WHERE Call by reference Type reference (TYPE) RSTT1_T_WHERE 20050420

Method SET_SUBQUERY on class CL_RSTT_DB_MAINTAIN has no exception.

Method TRANSFORM_FROM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUBQUERY Call by reference Type reference (TYPE) RSTT_FLAG RS_C_FALSE Trace-Tool: Standard-Flag 20050420
2 Returning R_FROM Value transfer Type reference (TYPE) RSTT_STRING Stringfeld für FROM-Notation 20050415

Method TRANSFORM_FROM on class CL_RSTT_DB_MAINTAIN has no exception.

Method TRANSFORM_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ORDER Value transfer Type reference (TYPE) RSTT_STRING Stringfeld für Select-Order aus Order-Tabelle 20041111

Method TRANSFORM_ORDER on class CL_RSTT_DB_MAINTAIN has no exception.

Method TRANSFORM_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUBQUERY Call by reference Type reference (TYPE) RSTT_FLAG RS_C_FALSE Trace-Tool: Standard-Flag 20050420
2 Returning R_RANGE Value transfer Type reference (TYPE) RSTT_STRING Stringfeld für Where-Bedingung aus Range-Tabelle 20041111

Method TRANSFORM_RANGE on class CL_RSTT_DB_MAINTAIN has no exception.

Method TRANSFORM_SELECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUBQUERY Call by reference Type reference (TYPE) RSTT_FLAG RS_C_FALSE Trace-Tool: Standard-Flag 20050420
2 Returning R_SELECT Value transfer Type reference (TYPE) RSTT_STRING Stringfeld für Select-Result aus Select-Tabelle 20041111

Method TRANSFORM_SELECT on class CL_RSTT_DB_MAINTAIN has no exception.

Method TRANSFORM_WHERE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SUBQUERY Call by reference Type reference (TYPE) RSTT_FLAG RS_C_FALSE Trace-Tool: Standard-Flag 20050420
2 Returning R_WHERE Value transfer Type reference (TYPE) RSTT_STRING Stringfeld für Select-Bedingung aus Where-Tabelle 20041111

Method TRANSFORM_WHERE on class CL_RSTT_DB_MAINTAIN has no exception.

Method UPDATE Signature

Method UPDATE on class CL_RSTT_DB_MAINTAIN has no parameter.
Method UPDATE on class CL_RSTT_DB_MAINTAIN has no exception.

Method _INITIAL_READ_BLOCKWISE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_R_ERROR_SQL Call by reference Object reference (TYPE REF TO) CX_SY_DYNAMIC_OSQL_ERROR Open SQL Fehler 20081117

Method _INITIAL_READ_BLOCKWISE on class CL_RSTT_DB_MAINTAIN has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 700