SAP ABAP Class CL_DD_EX_VIEW (External View)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-DIC-AC (Application Component) Activation Program, Conversion Program, DB Utility, MC, SPDD
⤷
SDVI (Package) ABAP/4 Dictionary: Views, Lock Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DD_VIEW | View Handling | 20120508 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DD_VIEW_ADAPTER | View Handling for AIE | 20120511 |
Properties
| Class | CL_DD_EX_VIEW | |
| Short Description | External View | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDVI | ABAP/4 Dictionary: Views, Lock Objects |
| Created | 20120508 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_DD_EX_VIEW has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_DD_VIEW | View Handling | 20120508 | ||
| 2 | IF_DD_VIEW_ADAPTER | View Handling for AIE | 20120511 |
Friends
Class CL_DD_EX_VIEW has no friend class.
Attributes
Class CL_DD_EX_VIEW has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check External View (DDIC and DB) | 20120515 | |
| 2 | Instance method | Private | Method | Generates an external view in Dictionary from a DB view | 20120514 | |
| 3 | Instance method | Private | Method | Generates an external view in Dictionary from a DB view | 20120514 | |
| 4 | Instance method | Private | Method | Reads database columns of view | 20120515 | |
| 5 | Instance method | Private | Method | Determines whether a DB view is an analytical view | 20120919 | |
| 6 | Static method | Private | Method | Checks on Database System SAP HANA Database | 20120830 | |
| 7 | Static method | Private | Method | Checks on Database System SAP HANA Database | 20120830 | |
| 8 | Instance method | Private | Method | Read View Sources | 20120511 | |
| 9 | Instance method | Private | Method | Read View Sources | 20120511 |
Events
Class CL_DD_EX_VIEW has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_DD26V | Private | Type reference (TYPE) | DD26V | Row for Base Table | 20120511 | |
| 2 | TY_S_DD27P | Private | Type reference (TYPE) | DD27P | Row for View Fields (Including Type Information) | 20120511 | |
| 3 | TY_S_DD27V | Private | Type reference (TYPE) | DD27V | Row for View Field | 20120511 | |
| 4 | TY_S_DD28V | Private | Type reference (TYPE) | DD28V | Row for Join | 20120511 | |
| 5 | TY_T_DD26V | Private | See coding | Information on Base Tables | 20120511 | ty_t_dd26v type table of ty_s_dd26v
|
|
| 6 | TY_T_DD27P | Private | See coding | Information on View Fields (Including Type Information) | 20120511 | ty_t_dd27p type table of ty_s_dd27p
|
|
| 7 | TY_T_DD27V | Private | See coding | Information for View Fields | 20120511 | ty_t_dd27v type table of ty_s_dd27v
|
|
| 8 | TY_T_DD28V | Private | See coding | Information on Joins | 20120511 | ty_t_dd28v type table of ty_s_dd28v
|
Method Signatures
Method EX_VIEW_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | '' | Logischer Name einer Datenbankverbindung | 20120515 | ||
| 2 | DB_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Prüfe gegen DB | 20120604 | ||
| 3 | DB_RC | Call by reference | Type reference (TYPE) | SYSUBRC | 0: o.k., 4: Warnung, 8: Fehler bei DB Prüfung | 20120515 | |||
| 4 | DD25V_WA_IN | Call by reference | Type reference (TYPE) | DD25V | View-Header Source | 20120604 | |||
| 5 | DD26V_TAB_IN | Call by reference | Type reference (TYPE) | DD26VTAB | Joins | 20120604 | |||
| 6 | DD27P_TAB_IN | Call by reference | Type reference (TYPE) | DD27PTAB | Felder eines Views | 20120604 | |||
| 7 | DD_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Prüfe im Dictionary | 20120604 | ||
| 8 | DD_RC | Call by reference | Type reference (TYPE) | SYSUBRC | 0: o.k., 4: Warnung, 8: Fehler bei Dd Prüfung | 20120515 | |||
| 9 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | 0 | Id für Protokollschreiber | 20120515 | ||
| 10 | READ_SOURCES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Sourcen lesen | 20120604 | ||
| 11 | SCHEMA_NAME | Call by reference | Type reference (TYPE) | DDSCHEMA | 'SYS_BIC' | Schema Name | 20120515 | ||
| 12 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120515 |
Method EX_VIEW_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPLICATION | Call by reference | Type reference (TYPE) | DDAPPLICATION | DD: Anwendung (z.B. HPA) | 20120514 | |||
| 2 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | 0 | Id für Protokollschreiber | 20120514 | ||
| 3 | RC | Call by reference | Type reference (TYPE) | SYSUBRC | 0: o.k., 4: Warnung, 8: Fehler | 20120514 | |||
| 4 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120515 |
Method EX_VIEW_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXISTS_IN_DB | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_true: Ex. in DB, ABAP_false: Ex. nicht in DB | 20120514 | |||
| 2 | EXISTS_IN_DD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_true: Version ex., ABAP_false: Version ex. nicht | 20120514 | |||
| 3 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | 0 | Id für Protokollschreiber | 20120514 | ||
| 4 | VERSION_IN | Call by reference | Type reference (TYPE) | OBJSTATE | M: neuste Version, N: neue/inaktive Version, A: aktive Versi | 20120514 | |||
| 5 | VERSION_RETRIEVED | Call by reference | Type reference (TYPE) | OBJSTATE | N: neue/inaktive Version, A: aktive Version | 20120514 | |||
| 6 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120514 |
Method GET_DB_COLUMNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logischer Name einer Datenbankverbindung | 20120515 | |||
| 2 | DBCOLS | Call by reference | Type reference (TYPE) | DBFIELDTABL | Feldbeschreibung für Datenbanktabellen | 20120515 | |||
| 3 | DBVIEWNAME | Call by reference | Type reference (TYPE) | DBVIEWNAME | DD: Name des Views auf der Datenbank | 20120515 | |||
| 4 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | Id für Protokollschreiber | 20120515 | |||
| 5 | SCHEMA_NAME | Call by reference | Type reference (TYPE) | DDSCHEMA | Schema Name | 20120515 | |||
| 6 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120515 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120515 |
Method IS_ANALYTICAL_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBVIEWNAME | Call by reference | Type reference (TYPE) | DBVIEWNAME | Name des Views auf der Datenbank | 20120919 | |||
| 2 | IS_ANALYTICAL_VIEW | Value transfer | Type reference (TYPE) | ABAP_BOOL | Id für Protokollschreiber | 20120919 | |||
| 3 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | -1 | Index interner Tabellen | 20120919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120919 |
Method IS_EXTVIEW_SUPPORTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBSYS | Call by reference | Type reference (TYPE) | SYDBSYS | SYST-DBSYS | DB-System | 20120913 | ||
| 2 | SUPPORTED | Value transfer | Type reference (TYPE) | ABAP_BOOL | Feature ist unterstützt | 20120830 |
Method IS_EXTVIEW_SUPPORTED on class CL_DD_EX_VIEW has no exception.
Method IS_EXTVIEW_SUPP_WITHEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DBSYS | Call by reference | Type reference (TYPE) | SYDBSYS | SYST-DBSYS | Datenbanksystem | 20120913 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120830 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CON_NAME | Call by reference | Type reference (TYPE) | DBCON_NAME | '' | Logischer Name einer Datenbankverbindung | 20120515 | ||
| 2 | GOT_STATE | Call by reference | Type reference (TYPE) | OBJSTATE | Gelesener Zustand (N: neu/überarbeitet, A: aktiv) | 20120511 | |||
| 3 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | Index interner Tabellen | 20120511 | |||
| 4 | READ_STATE | Call by reference | Type reference (TYPE) | OBJSTATE | Lese Status (M: neuste Version, A: aktive Version) | 20120511 | |||
| 5 | SCHEMA_NAME | Call by reference | Type reference (TYPE) | DDSCHEMA | 'SYS_BIC' | Schema Name | 20120515 | ||
| 6 | VIEWCOLS | Call by reference | Type reference (TYPE) | DD27PRTAB | DD: Viewfelder mit Texten - eingeschränkte Sicht | 20120511 | |||
| 7 | VIEWHD | Call by reference | Type reference (TYPE) | DD25VR | DD: Views mit Texten - restriktive Sicht | 20120511 | |||
| 8 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120511 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PRID | Call by reference | Type reference (TYPE) | SYTABIX | Index interner Tabellen | 20120511 | |||
| 2 | SET_EDITFLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Flag für 'nur Anzeige erlaubt' | 20120629 | ||
| 3 | VIEWCOLS | Call by reference | Type reference (TYPE) | DD27PRTAB | DD: Viewfelder mit Texten - eingeschränkte Sicht | 20120511 | |||
| 4 | VIEWHD | Call by reference | Type reference (TYPE) | DD25VR | DD: Views mit Texten - restriktive Sicht | 20120511 | |||
| 5 | VIEWNAME | Call by reference | Type reference (TYPE) | VIEWNAME | Name eines SAP-Tabellenviews | 20120511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Externe Views | 20120511 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |