SAP ABAP Class CL_ECATT_APL_ODATA_CLIENT (eCATT - OData - Client)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
⤷
SECATT_ODATA_APL (Package) eCATT - OData Core
⤷
⤷
Properties
| Class | CL_ECATT_APL_ODATA_CLIENT | |
| Short Description | eCATT - OData - Client | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECATT_ODATA_APL | eCATT - OData Core |
| Created | 20130902 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ECATT_APL_ODATA_CLIENT has no forward declaration.
Interfaces
Class CL_ECATT_APL_ODATA_CLIENT has no interface implemented.
Friends
Class CL_ECATT_APL_ODATA_CLIENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_ECATT_APL_HTTP_CLIENT | eCATT - HTTP Client Instance | 20130909 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | /IWCOR/IF_REST_ENTITY | REST Entity Object - Latest Response | 20131120 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ECATT_APL_ODATA_METADATA | eCATT - OData - Metadata of a Service | 20131009 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ECATT_APL_REST_CLIENT | eCATT - OData - REST Request | 20130909 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | I | Most Recent HTTP Status | 20130909 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | STRING | URL of Most Recent Request | 20131009 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | STRING | Body of Most Recent Response | 20130909 | |||
| 8 | Instance attribute | Public | Type reference (TYPE) | XSTRING | Body of Most Recent Response - Binary | 20130909 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | STRING | OData Service Root URI | 20130909 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20130909 | |
| 2 | Instance method | Public | Method | Query Service Metadata | 20130909 | |
| 3 | Instance method | Protected | Method | Initialize eCATT HTTP client if necessary | 20130909 | |
| 4 | Instance method | Public | Method | Generate New HTTP Client | 20131204 | |
| 5 | Static method | Public | Method | Raise Exception - Static | 20130909 | |
| 6 | Instance method | Protected | Method | Raise Exception | 20131009 | |
| 7 | Instance method | Protected | Method | Reset Fields Using Last Request | 20131009 | |
| 8 | Instance method | Public | Method | Query Data for Entity | 20130909 | |
| 9 | Instance method | Protected | Method | Get Service Metadata by HTTP Request | 20131009 |
Events
Class CL_ECATT_APL_ODATA_CLIENT has no event.
Types
Class CL_ECATT_APL_ODATA_CLIENT has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_HTTP_LOGON_DATA | Call by reference | Type reference (TYPE) | ETHTTP_LOGON | eCATT HTTP Logon Daten | 20130909 | |||
| 2 | I_HTTP_DEST | Call by reference | Type reference (TYPE) | RFCDEST | logische Destination (Wird bei Funktionsaufruf angegeben) | 20130909 | |||
| 3 | I_URL_SERVICE_ROOT | Call by reference | Type reference (TYPE) | STRING | Service Root URL | 20130909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20130909 |
Method GET_SERVICE_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EP_METADATA | Call by reference | Object reference (TYPE REF TO) | CL_ECATT_APL_ODATA_METADATA | eCATT - OData - Metadaten eines Service | 20131009 | |||
| 2 | E_METADATA_STRING | Call by reference | Type reference (TYPE) | STRING | Service Metadaten als String | 20130909 | |||
| 3 | E_METADATA_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | Service Metadaten als Binär-Stream | 20130909 | |||
| 4 | E_NEW_RETRIEVED | Call by reference | Type reference (TYPE) | ETONOFF | Metadata mit HTTP abgefragt | 20131009 | |||
| 5 | I_EDM_ABAP_MAPPING_STREAM | Call by reference | Type reference (TYPE) | STRING | EDM - ABAP Mapping | 20131120 | |||
| 6 | I_FORCE_RETRIEVE | Call by reference | Type reference (TYPE) | ETONOFF | SPACE | Metadaten vom OData Service per HTTP Request abholen | 20131009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20130909 |
Method INIT_HTTP_CLIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_HTTP_LOGON_DATA | Call by reference | Type reference (TYPE) | ETHTTP_LOGON | eCATT HTTP Logon Daten | 20130909 | |||
| 2 | I_FORCE_INIT | Call by reference | Type reference (TYPE) | ETONOFF | SPACE | Initialisierung | 20130909 | ||
| 3 | I_HTTP_DEST | Call by reference | Type reference (TYPE) | RFCDEST | logische Destination (Wird bei Funktionsaufruf angegeben) | 20130909 | |||
| 4 | I_URL_SERVICE_ROOT | Call by reference | Type reference (TYPE) | STRING | Service Root URL | 20130909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20130909 |
Method NEW_HTTP_CLIENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_HTTP_LOGON_DATA | Call by reference | Type reference (TYPE) | ETHTTP_LOGON | eCATT HTTP Logon Daten | 20131204 | |||
| 2 | I_HTTP_DEST | Call by reference | Type reference (TYPE) | RFCDEST | logische Destination (Wird bei Funktionsaufruf angegeben) | 20131204 | |||
| 3 | I_URL_SERVICE_ROOT | Call by reference | Type reference (TYPE) | STRING | Service Root URL | 20131204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131204 |
Method RAISE_CX_ECATT_APL_ODATA_TST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ABORT_FLAG | Call by reference | Type reference (TYPE) | ETONOFF | Abbruch der Verarbeitung | 20130909 | |||
| 2 | I_CALLED_METHOD | Call by reference | Type reference (TYPE) | STRING | Auslösende Methode | 20131009 | |||
| 3 | I_FREE_TEXT | Call by reference | Type reference (TYPE) | STRING | Beliebiger Text | 20130909 | |||
| 4 | I_OPERATION | Call by reference | Type reference (TYPE) | STRING | REST Operation | 20131204 | |||
| 5 | I_PREVIOUS | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Vorherige Exception | 20130909 | |||
| 6 | I_RFCDEST | Call by reference | Type reference (TYPE) | RFCDEST | HTTP Destination | 20130909 | |||
| 7 | I_TESTSYSTEM | Call by reference | Type reference (TYPE) | ETCMP_CMP | Zielsystem (Schlüssel im Systemdatencontainer) | 20130909 | |||
| 8 | I_TEXTID | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20130909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20130909 |
Method RAISE_EX_ECATT_ODATA_TST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ABORT_FLAG | Call by reference | Type reference (TYPE) | ETONOFF | Abbruch der Verarbeitung | 20131009 | |||
| 2 | I_FREE_TEXT | Call by reference | Type reference (TYPE) | STRING | Beliebiger Text | 20131009 | |||
| 3 | I_PREVIOUS | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Vorherige Exception | 20131009 | |||
| 4 | I_RFCDEST | Call by reference | Type reference (TYPE) | RFCDEST | HTTP Destination | 20131009 | |||
| 5 | I_TESTSYSTEM | Call by reference | Type reference (TYPE) | ETCMP_CMP | Zielsystem (Schlüssel im Systemdatencontainer) | 20131009 | |||
| 6 | I_TEXTID | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20131009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
Method RESET_REQUEST_INFO Signature
Method RESET_REQUEST_INFO on class CL_ECATT_APL_ODATA_CLIENT has no parameter.
Method RESET_REQUEST_INFO on class CL_ECATT_APL_ODATA_CLIENT has no exception.
Method RETRIEVE_ENTITY_SET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Type reference (TYPE) | TABLE | Tabelle von Entities | 20131120 | |||
| 2 | I_ENTITY_SET_NAME | Call by reference | Type reference (TYPE) | STRING | EDM-Name des abzufragenden EntitySets | 20131120 | |||
| 3 | I_URL_QUERY_OPTIONS | Call by reference | Type reference (TYPE) | STRING | URL Suffix - Abfrageoptionen | 20130909 | |||
| 4 | I_URL_RESSOURCE_PATH | Call by reference | Type reference (TYPE) | STRING | URL Suffix - Pfad zur Ressource / Entität | 20130909 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20130909 |
Method RETRIEVE_SERVICE_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EP_METADATA | Call by reference | Object reference (TYPE REF TO) | CL_ECATT_APL_ODATA_METADATA | eCATT - OData - Metadaten eines Service | 20131009 | |||
| 2 | I_EDM_ABAP_MAPPING_STREAM | Call by reference | Type reference (TYPE) | STRING | EDM-ABAP Mapping | 20131120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT - OData Testing - Exceptions | 20131009 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |