SAP ABAP Class CL_RODPS_ODP_SQL (SQL Services for Operational Data Provider)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
BC-EIM-ODP (Application Component) Operational Data Provisioning (ODP) in Search&Analytics
⤷
RODPS (Package) Operational Data Provider Services
⤷
⤷
Properties
| Class | CL_RODPS_ODP_SQL | |
| Short Description | SQL Services for Operational Data Provider | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | RODPS | |
| Program status | ||
| Category | 0 | |
| Package | RODPS | Operational Data Provider Services |
| Created | 20100730 | SAP |
| Last change | 20131127 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_RODPS_ODP_SQL has no interface implemented.
Friends
Class CL_RODPS_ODP_SQL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | '*' | 20100730 | ||||
| 2 | Constant | Public | See coding | 20100730 | |||||
| 3 | Constant | Public | Attribute reference (LIKE) | CL_RSMDS_SET=>C_LEFT_PARENTHESIS | CL_RSMDS_SET=>C_LEFT_PARENTHESIS | 20100730 | |||
| 4 | Constant | Public | Attribute reference (LIKE) | CL_ABAP_CHAR_UTILITIES=>CR_LF | CL_ABAP_CHAR_UTILITIES=>CR_LF | 20100730 | |||
| 5 | Constant | Public | See coding | 20100730 | |||||
| 6 | Constant | Public | See coding | 20100806 | |||||
| 7 | Constant | Public | Attribute reference (LIKE) | CL_RSMDS_SET=>C_RIGHT_PARENTHESIS | CL_RSMDS_SET=>C_RIGHT_PARENTHESIS | 20100730 | |||
| 8 | Constant | Public | Attribute reference (LIKE) | CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB | CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB | 20100730 | |||
| 9 | Constant | Public | See coding | Token type (identifier, literal, list, comment) | 20100805 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20100730 | ||
| 2 | Static method | Public | Method | 20101217 | ||
| 3 | Static method | Private | Method | 20100806 | ||
| 4 | Static method | Private | Method | 20100806 | ||
| 5 | Static method | Private | Method | 20100809 | ||
| 6 | Static method | Private | Method | 20100809 | ||
| 7 | Static method | Private | Method | 20100809 | ||
| 8 | Static method | Private | Method | 20100806 | ||
| 9 | Static method | Private | Method | 20100806 | ||
| 10 | Static method | Private | Method | 20100809 | ||
| 11 | Static method | Private | Method | 20100806 | ||
| 12 | Static method | Private | Method | Remove Line Breaks | 20100805 | |
| 13 | Static method | Public | Method | 20100803 | ||
| 14 | Static method | Public | Method | 20100802 | ||
| 15 | Static method | Private | Method | 20100805 | ||
| 16 | Static method | Private | Method | 20100809 |
Events
Class CL_RODPS_ODP_SQL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_LINES | Public | See coding | 20101217 | tt_lines TYPE STANDARD TABLE OF string WITH KEY table_line
|
||
| 2 | TT_OFFSETS | Private | See coding | 20100805 | tt_offsets TYPE SORTED TABLE OF int2 WITH UNIQUE KEY table_line
|
||
| 3 | TT_TOKENS | Private | See coding | 20100806 | tt_tokens TYPE STANDARD TABLE OF stokes WITH DEFAULT KEY
|
Method Signatures
Method API_TO_SQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_SELECTION_SET | Call by reference | Object reference (TYPE REF TO) | CL_RSMDS_SET | Selektion als Mengenobjekt (FEMS = 0) | 20100730 | |||
| 2 | ITR_SELECTION_SETS | Call by reference | Type reference (TYPE) | RSMDS_TR_SETS | Weitere Selektionen als Mengenobjekt (FEMS > 0) | 20100730 | |||
| 3 | IT_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | Projektion, Umbenennung und Aggregation | 20100730 | |||
| 4 | IT_SORT_DESCRIPTIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_SORT_DESCRIPTIONS | Sortierung | 20100730 | |||
| 5 | I_MAXIMUM_ROWS | Call by reference | Type reference (TYPE) | I | 0 | Maximale Größe der Ergebnismenge in Datensätzen | 20100730 | ||
| 6 | I_NO_AGGREGATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Keine Aggregation (Aggregatfunktion ignorieren) | 20100730 | |||
| 7 | I_ODPNAME | Call by reference | Type reference (TYPE) | RODPS_ODPNAME | ODP-Name | 20100730 | |||
| 8 | R_SQL | Value transfer | Type reference (TYPE) | STRING | ODQP SQL | 20100730 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100730 |
Method API_TO_SQL_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_SELECTION_SET | Call by reference | Object reference (TYPE REF TO) | CL_RSMDS_SET | Selektion als Mengenobjekt (FEMS = 0) | 20101217 | |||
| 2 | ITR_SELECTION_SETS | Call by reference | Type reference (TYPE) | RSMDS_TR_SETS | Weitere Selektionen als Mengenobjekt (FEMS > 0) | 20101217 | |||
| 3 | IT_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | Projektion, Umbenennung und Aggregation | 20101217 | |||
| 4 | IT_SORT_DESCRIPTIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_SORT_DESCRIPTIONS | Sortierung | 20101217 | |||
| 5 | I_MAXIMUM_ROWS | Call by reference | Type reference (TYPE) | I | 0 | Maximale Größe der Ergebnismenge in Datensätzen | 20101217 | ||
| 6 | I_NO_AGGREGATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Keine Aggregation (Aggregatfunktion ignorieren) | 20101217 | |||
| 7 | I_ODPNAME | Call by reference | Type reference (TYPE) | RODPS_ODPNAME | ODP-Name | 20101217 | |||
| 8 | RT_LINES | Value transfer | Type reference (TYPE) | CL_RODPS_ODP_SQL=>TT_LINES | ODQP SQL | 20101217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20101217 |
Method PARSE_FROM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TOKEN_POSITION | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 2 | E_MAXIMUM_ROWS | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 3 | E_ODPNAME | Call by reference | Type reference (TYPE) | RODPS_ODPNAME | ODP-Name | 20100806 | |||
| 4 | IT_TOKENS | Call by reference | Type reference (TYPE) | TT_TOKENS | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100806 | |||
| 5 | I_CONTEXT | Call by reference | Type reference (TYPE) | IF_RODPS_CONTEXT=>T_CONTEXT | Kontext eines ODP | 20130423 | |||
| 6 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100806 | ||
| 2 | Ungültige Eingabe | 20100806 |
Method PARSE_GROUP_BY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_NO_AGGREGATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Multi-dimensionale Menge | 20100806 | |||
| 2 | C_TOKEN_POSITION | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 3 | IT_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | ODP-Name | 20100806 | |||
| 4 | IT_TOKENS | Call by reference | Type reference (TYPE) | TT_TOKENS | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100806 | |||
| 5 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100806 | ||
| 2 | Ungültige Eingabe | 20100806 |
Method PARSE_IDENTIFIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IDENTIFIER | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100809 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | STOKES | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100809 | |||
| 3 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | (SQL) Syntax-Fehler | 20100809 |
Method PARSE_INTEGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INTEGER | Call by reference | Type reference (TYPE) | I | 20100809 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | STOKES | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100809 | |||
| 3 | I_NEGATIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100809 | ||||
| 4 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | (SQL) Syntax-Fehler | 20100809 |
Method PARSE_KEYWORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TOKEN | Call by reference | Type reference (TYPE) | STOKES | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100809 | |||
| 2 | I_KEYWORD | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100809 | ||||
| 3 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | (SQL) Syntax-Fehler | 20100809 |
Method PARSE_ORDER_BY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TOKEN_POSITION | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 2 | ET_SORT_DESCRIPTIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_SORT_DESCRIPTIONS | 20100806 | ||||
| 3 | IT_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | ODP-Name | 20100806 | |||
| 4 | IT_TOKENS | Call by reference | Type reference (TYPE) | TT_TOKENS | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100806 | |||
| 5 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100806 | ||
| 2 | Ungültige Eingabe | 20100806 |
Method PARSE_SELECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TOKEN_POSITION | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 2 | ET_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | 20100806 | ||||
| 3 | E_NO_AGGREGATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100806 | ||||
| 4 | IT_TOKENS | Call by reference | Type reference (TYPE) | TT_TOKENS | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100806 | |||
| 5 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100806 | ||
| 2 | Ungültige Eingabe | 20100806 |
Method PARSE_SYMBOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SYMBOL | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100809 | ||||
| 2 | IS_TOKEN | Call by reference | Type reference (TYPE) | STOKES | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100809 | |||
| 3 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 | ||||
| 4 | I_SYMBOL | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | (SQL) Syntax-Fehler | 20100809 |
Method PARSE_WHERE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_TOKEN_POSITION | Call by reference | Type reference (TYPE) | I | 20100806 | ||||
| 2 | ER_SELECTION_SET | Call by reference | Object reference (TYPE REF TO) | CL_RSMDS_SET | Multi-dimensionale Menge | 20100806 | |||
| 3 | IR_UNIVERSE | Call by reference | Object reference (TYPE REF TO) | CL_RSMDS_UNIVERSE | ODP-Name | 20100806 | |||
| 4 | IT_TOKENS | Call by reference | Type reference (TYPE) | TT_TOKENS | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100806 | |||
| 5 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100806 | ||
| 2 | Ungültige Eingabe | 20100806 |
Method REMOVE_LINEBREAKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_STRING | Call by reference | Type reference (TYPE) | STRING | 20100805 | ||||
| 2 | ET_OFFSETS | Call by reference | Type reference (TYPE) | TT_OFFSETS | 20100805 |
Method REMOVE_LINEBREAKS on class CL_RODPS_ODP_SQL has no exception.
Method SQL_TO_API Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_SELECTION_SET | Call by reference | Object reference (TYPE REF TO) | CL_RSMDS_SET | Selektion als Mengenobjekt (FEMS = 0) | 20100803 | |||
| 2 | ET_FIELD_AGGREGATIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_FIELD_AGGREGATIONS | Projektion, Umbenennung und Aggregation | 20100803 | |||
| 3 | ET_SORT_DESCRIPTIONS | Call by reference | Type reference (TYPE) | IF_RODPS_ODP_DIRECT_ACCESS=>TT_SORT_DESCRIPTIONS | Sortierung | 20100803 | |||
| 4 | E_MAXIMUM_ROWS | Call by reference | Type reference (TYPE) | I | Maximale Größe der Ergebnismenge in Datensätzen | 20100803 | |||
| 5 | E_NO_AGGREGATION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Keine Aggregation (Aggregatfunktion ignorieren) | 20100803 | |||
| 6 | E_ODPNAME | Call by reference | Type reference (TYPE) | RODPS_ODPNAME | ODP-Name | 20100803 | |||
| 7 | I_CONTEXT | Call by reference | Type reference (TYPE) | RODPS_CONTEXT | Kontext eines ODP | 20130423 | |||
| 8 | I_SQL | Value transfer | Type reference (TYPE) | STRING | ODP-SQL | 20100803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100803 |
Method SUBMIT_SQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STMT | Call by reference | Type reference (TYPE) | STRING | 20100802 |
Method SUBMIT_SQL on class CL_RODPS_ODP_SQL has no exception.
Method SYNTAX_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_TOKEN | Call by reference | Type reference (TYPE) | STOKES | String-Beschr. eines Tokens in der ABAP/4-Source-Analyse | 20100805 | |||
| 2 | IT_OFFSETS | Call by reference | Type reference (TYPE) | TT_OFFSETS | 20100805 | ||||
| 3 | I_STMT | Call by reference | Type reference (TYPE) | STRING | 20100805 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ungültige Eingabe | 20100805 |
Method UNEXPECTED_END_OF_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KEYWORD | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100809 | ||||
| 2 | I_SQL | Call by reference | Type reference (TYPE) | STRING | 20100809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | (SQL) Syntax-Fehler | 20100809 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 703 |