SAP ABAP Class /IWBEP/CL_MGW_ADM_SUB_DATA (Data provider for Admin Subscriptions)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-SDE (Application Component) Gateway SAP Data Enablement
⤷
/IWBEP/MGW_PUSH (Package) OData Channel - Push
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /IWBEP/CL_MGW_ABS_DATA | Abstract Business Data Provider | 20120125 |
Properties
| Class | /IWBEP/CL_MGW_ADM_SUB_DATA | |
| Short Description | Data provider for Admin Subscriptions | |
| Super Class | /IWBEP/CL_MGW_ABS_DATA | Abstract Business Data Provider |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWBEP/MGW_PUSH | OData Channel - Push |
| Created | 20120125 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWBEP/CL_MGW_ADM_SUB_DATA has no interface implemented.
Friends
Class /IWBEP/CL_MGW_ADM_SUB_DATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | 20120125 | |||||
| 2 | Constant | Private | Type reference (TYPE) | /IWBEP/MGW_ADM_SUB_PRNCPL_TYPE | 'ROLE' | Admin Subscriptions : Principal Type | 20120201 | ||
| 3 | Constant | Private | Type reference (TYPE) | /IWBEP/MGW_ADM_SUB_PRNCPL_TYPE | 'USER' | Admin Subscriptions : Principal Type | 20120201 | ||
| 4 | Constant | Private | See coding | 20120125 | |||||
| 5 | Constant | Private | Type reference (TYPE) | ICFNAME | 'odata' | Name of a Service in Internet Communication Framework | 20120125 | ||
| 6 | Constant | Private | Type reference (TYPE) | ICFNAME | 'sdata' | Name of a Service in Internet Communication Framework | 20120125 | ||
| 7 | Constant | Private | Type reference (TYPE) | STRING | ';mo' | 20120710 | |||
| 8 | Constant | Private | Type reference (TYPE) | STRING | 'Subscription' | Subscription Entity type | 20120201 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/MGW_SUB_ID | Subscription ID | 20120613 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | XSDBOOLEAN | XSD Truth Value: True/False [ext.] | 20120613 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check if Delivery Channel can be provided in the req context | 20120125 | |
| 2 | Instance method | Private | Method | Check if a subscription with a particular change type exists | 20120125 | |
| 3 | Instance method | Private | Method | Validate the values for the change type | 20120125 | |
| 4 | Instance method | Private | Method | Check Multi-destination mode | 20120613 | |
| 5 | Instance method | Private | Method | Check Principal Type and Principal value | 20120201 | |
| 6 | Instance method | Private | Method | Check Authority before any operation | 20120125 | |
| 7 | Instance method | Private | Method | Create Subscription | 20120125 | |
| 8 | Instance method | Private | Method | Delete Subscription | 20120131 | |
| 9 | Instance method | Private | Method | Get Base URL | 20120201 | |
| 10 | Instance method | Private | Method | Get RFC caller context | 20120125 | |
| 11 | Instance method | Private | Method | Get External Service name | 20120202 | |
| 12 | Instance method | Private | Method | Get Notification Format | 20120313 | |
| 13 | Instance method | Private | Method | Get List of subscriptions for validation before update | 20120131 | |
| 14 | Instance method | Private | Method | Check for duplicate Subscription | 20120125 | |
| 15 | Instance method | Private | Method | Read Subscription for User/Role | 20120125 | |
| 16 | Instance method | Private | Method | Read Subscriptions based on filters | 20120125 | |
| 17 | Instance method | Private | Method | Update Subscription | 20120125 | |
| 18 | Instance method | Private | Method | Validate Principal | 20120911 |
Events
Class /IWBEP/CL_MGW_ADM_SUB_DATA has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CALLER_CONTEXT | Public | See coding | 20120125 | BEGIN OF ty_s_caller_context,
client TYPE rfcdisplay-rfcclient,
whoami TYPE rfcdisplay-rfcuser,
system_id TYPE sy-sysid,
END OF ty_s_caller_context
|
Method Signatures
Method ALLOW_DELIVERY_CHANNEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | /IWBEP/S_MGW_DB_SUB_DATA | Subscription Data | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120125 |
Method CHANGE_TYPE_EXISTENCE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CHANGE_TYPE_EXISTS | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120125 | |||
| 2 | IS_SUB_DATA | Call by reference | Type reference (TYPE) | /IWBEP/S_MGW_DB_SUB_DATA | Subscription Data | 20120125 |
Method CHANGE_TYPE_EXISTENCE_CHECK on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method CHECK_CHANGE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHANGE_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/MGW_SUB_ENT_CHANGE_TYPE | Subscription: Entity Change Type | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120125 |
Method CHECK_MDC_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MDC_MODE | Value transfer | Type reference (TYPE) | XSDBOOLEAN | XSD Truth Value: True/False [ext.] | 20120613 |
Method CHECK_MDC_MODE on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method CHECK_PRINCIPAL_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PRINCIPAL | Call by reference | Type reference (TYPE) | /IWBEP/MGW_ADM_SUB_PRINCIPAL | Admin Subscription : Principal | 20120201 | |||
| 2 | IV_PRINCIPAL_TYPE | Call by reference | Type reference (TYPE) | /IWBEP/MGW_ADM_SUB_PRNCPL_TYPE | Admin Subscriptions : Principal Type | 20120201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120201 |
Method CHECK_SUBSCRIPTION_AUTHORITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GRP_TECH_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Technical Service Name | 20120228 | |||
| 2 | IV_OPERATION | Call by reference | Type reference (TYPE) | CHAR2 | Operation | 20120131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical Exception | 20120131 |
Method CREATE_SUBSCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITY | Call by reference | Object reference (TYPE REF TO) | DATA | 20120125 | ||||
| 2 | IO_DATA_PROVIDER | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ENTRY_PROVIDER | MGW Entry Data Provider | 20120125 | |||
| 3 | IO_TECH_REQUEST_CONTEXT | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_REQ_ENTITY_C | Request Details for Entity Read Operation | 20120607 | |||
| 4 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20120125 | |||
| 5 | IT_NAVIGATION_PATH | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120130 | ||
| 2 | Technical Exception | 20120130 |
Method DELETE_SUBSCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20120131 | |||
| 2 | IT_NAVIGATION_PATH | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | 20120131 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120131 | ||
| 2 | Technical Exception | 20120131 |
Method GET_BASE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SRV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_EXTERNAL_NAME | Technical Service Name | 20120201 | |||
| 2 | IV_SRV_ROOT | Call by reference | Type reference (TYPE) | STRING | 20120201 | ||||
| 3 | RV_BASE_URL | Value transfer | Type reference (TYPE) | STRING | 20120201 |
Method GET_BASE_URL on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method GET_CALLER_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_CALLER_CONTEXT | Value transfer | Type reference (TYPE) | TY_S_CALLER_CONTEXT | 20120125 |
Method GET_CALLER_CONTEXT on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method GET_EXT_SRV_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SRV_VERSION | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_VERSION | Service Version | 20120202 | |||
| 2 | IV_TECH_SRV_NAME | Call by reference | Type reference (TYPE) | /IWBEP/MED_GRP_TECHNICAL_NAME | Technical Service Name | 20120202 | |||
| 3 | RV_EXTERNAL_NAME | Value transfer | Type reference (TYPE) | /IWBEP/MED_GRP_EXTERNAL_NAME | External Service Name | 20120202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120203 |
Method GET_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FORMAT | Value transfer | Type reference (TYPE) | STRING | 20120313 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical Exception | 20120313 |
Method GET_SUBSCRIPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SUBSCRIPTIONS | Value transfer | Type reference (TYPE) | /IWBEP/T_MGW_DB_SUB_DATA | Subscription list | 20120131 | |||
| 2 | IS_SUB_DATA | Call by reference | Type reference (TYPE) | /IWBEP/S_MGW_DB_SUB_DATA | Subscription data | 20120131 |
Method GET_SUBSCRIPTIONS on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method IS_SUBSCRIPTION_DUPLICATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | /IWBEP/S_MGW_DB_SUB_DATA | Subscription Data | 20120125 | |||
| 2 | IS_DUPLICATE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120125 |
Method IS_SUBSCRIPTION_DUPLICATE on class /IWBEP/CL_MGW_ADM_SUB_DATA has no exception.
Method READ_SUBSCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITY | Call by reference | Object reference (TYPE REF TO) | DATA | 20120125 | ||||
| 2 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20120125 | |||
| 3 | IT_NAVIGATION_PATH | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120131 | ||
| 2 | Technical Exception | 20120228 |
Method READ_SUBSCRIPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITYSET | Call by reference | Object reference (TYPE REF TO) | DATA | 20120125 | ||||
| 2 | IS_PAGING | Call by reference | Type reference (TYPE) | /IWBEP/S_MGW_PAGING | paging structure | 20120125 | |||
| 3 | IT_FILTER_SELECT_OPTIONS | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_SELECT_OPTION | table of select options | 20120125 | |||
| 4 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20120125 | |||
| 5 | IT_NAVIGATION_PATH | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | 20120125 | |||
| 6 | IT_ORDER | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_SORTING_ORDER | the sorting order | 20120125 | |||
| 7 | IV_SEARCH_STRING | Call by reference | Type reference (TYPE) | STRING | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120125 | ||
| 2 | Technical Exception | 20120125 |
Method UPDATE_SUBSCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_ENTITY | Call by reference | Object reference (TYPE REF TO) | DATA | 20120125 | ||||
| 2 | IO_DATA_PROVIDER | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ENTRY_PROVIDER | MGW Entry Data Provider | 20120125 | |||
| 3 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20120125 | |||
| 4 | IT_NAVIGATION_PATH | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAVIGATION_PATH | table of navigation paths | 20120125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120130 | ||
| 2 | Technical Exception | 20120130 |
Method VALIDATE_PRINCIPAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PRINCIPAL | Call by reference | Type reference (TYPE) | /IWBEP/MGW_ADM_SUB_PRINCIPAL | Principal - User/Role | 20120911 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20120911 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 200 |