SAP ABAP Class /IWWRK/CL_WF_MGW_CREATE_ENTITY (Create (POST) operation for workflow minumal gateway imp.)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-BSE-WFM (Application Component) Gateway Business Workflow enablement
⤷
/IWWRK/WF_ODC_RUNTIME (Package) Workflow ODC Runtime for Gateway - Runtime
⤷
⤷
Properties
| Class | /IWWRK/CL_WF_MGW_CREATE_ENTITY | |
| Short Description | Create (POST) operation for workflow minumal gateway imp. | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWWRK/WF_ODC_RUNTIME | Workflow ODC Runtime for Gateway - Runtime |
| Created | 20110331 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no interface implemented.
Friends
Class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ENTRY_PROVIDER | MGW Entry Data Provider | 20110331 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20111116 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20111116 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110331 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | STRING | 20111116 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | 20111116 | ||||
| 7 | Static Attribute | Private | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20110331 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | STRING | 20111116 | ||||
| 9 | Static Attribute | Private | Type reference (TYPE) | SWW_WIID | Work item ID | 20110331 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20111116 | |
| 2 | Instance method | Private | Method | Upload an attachment to workflow item | 20110724 | |
| 3 | Instance method | Private | Method | Add a substitute to session user | 20111114 | |
| 4 | Instance method | Public | Method | Excecute correct Create entity and set data on class member | 20111116 | |
| 5 | Instance method | Public | Method | Get Entity result | 20111116 | |
| 6 | Instance method | Public | Method | Return Created entity (to be called after Execute method) | 20111116 | |
| 7 | Instance method | Private | Method | return abap_true if substitute already exist | 20111214 | |
| 8 | Instance method | Private | Method | Set Workflow item ID from key table | 20111024 |
Events
Class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_MSG_STRUCT | Public | See coding | 20111115 | tt_msg_struct TYPE STANDARD TABLE OF swr_messag
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DATA_PROVIDER | Call by reference | Object reference (TYPE REF TO) | /IWBEP/IF_MGW_ENTRY_PROVIDER | MGW Entry Data Provider | 20111116 | |||
| 2 | IT_KEY_TAB | Call by reference | Type reference (TYPE) | /IWBEP/T_MGW_NAME_VALUE_PAIR | table for name value pairs | 20111116 | |||
| 3 | IV_ENTITY_NAME | Call by reference | Type reference (TYPE) | STRING | 20111116 | ||||
| 4 | IV_ENTITY_SET_NAME | Call by reference | Type reference (TYPE) | STRING | 20111116 | ||||
| 5 | IV_SOURCE_NAME | Call by reference | Type reference (TYPE) | STRING | 20111116 |
Method CONSTRUCTOR on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no exception.
Method CREATE_ENTITY_ATTACHMENT Signature
Method CREATE_ENTITY_ATTACHMENT on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Technical Exception | 20110724 |
Method CREATE_ENTITY_SUBSTITUTE Signature
Method CREATE_ENTITY_SUBSTITUTE on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20111214 | ||
| 2 | Technical Exception | 20111116 |
Method EXECUTE_CREATE_ENTITY Signature
Method EXECUTE_CREATE_ENTITY on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Business Exception | 20111214 | ||
| 2 | Technical Exception | 20111116 |
Method GET_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_ENTITY | Value transfer | Object reference (TYPE REF TO) | DATA | 20111116 |
Method GET_ENTITY on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no exception.
Method GET_RETURN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20111116 | |||
| 2 | EV_RETURN_CODE | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20111116 |
Method GET_RETURN on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no exception.
Method IS_SUBSTITUTE_EXIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SUBSTITUTED_OBJECT | Call by reference | Type reference (TYPE) | SWRAGENT | Role Resolution Result | 20111214 | |||
| 2 | IV_CHECKED_USER | Call by reference | Type reference (TYPE) | SY-UNAME | User Name | 20111214 | |||
| 3 | IV_END_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20111214 | |||
| 4 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Current Date of Application Server | 20111214 | |||
| 5 | RV_EXIST | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20111214 |
Method IS_SUBSTITUTE_EXIST on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no exception.
Method SET_WORKITEM_ID 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 | 20111024 |
Method SET_WORKITEM_ID on class /IWWRK/CL_WF_MGW_CREATE_ENTITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 200 |