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 /IWWRK/CL_MGW_MED_WORKFLOW Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 ABAP 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 MO_DATA_PROV Static Attribute Private Object reference (TYPE REF TO) /IWBEP/IF_MGW_ENTRY_PROVIDER MGW Entry Data Provider 20110331
2 MO_ENTITY Instance attribute Private Object reference (TYPE REF TO) DATA 20111116
3 MT_KEY_TAB Instance attribute Private Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20111116
4 MT_RETURN_TAB Static Attribute Private Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110331
5 MV_ENTITY_NAME Instance attribute Private Type reference (TYPE) STRING 20111116
6 MV_ENTITY_SET_NAME Instance attribute Private Type reference (TYPE) STRING 20111116
7 MV_RETURN_CODE Static Attribute Private Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20110331
8 MV_SOURCE_NAME Instance attribute Private Type reference (TYPE) STRING 20111116
9 MV_WORKITEM_ID Static Attribute Private Type reference (TYPE) SWW_WIID Work item ID 20110331
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20111116
2 CREATE_ENTITY_ATTACHMENT Instance method Private Method Upload an attachment to workflow item 20110724
3 CREATE_ENTITY_SUBSTITUTE Instance method Private Method Add a substitute to session user 20111114
4 EXECUTE_CREATE_ENTITY Instance method Public Method Excecute correct Create entity and set data on class member 20111116
5 GET_ENTITY Instance method Public Method Get Entity result 20111116
6 GET_RETURN Instance method Public Method Return Created entity (to be called after Execute method) 20111116
7 IS_SUBSTITUTE_EXIST Instance method Private Method return abap_true if substitute already exist 20111214
8 SET_WORKITEM_ID 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 Importing IO_DATA_PROVIDER Call by reference Object reference (TYPE REF TO) /IWBEP/IF_MGW_ENTRY_PROVIDER MGW Entry Data Provider 20111116
2 Importing IT_KEY_TAB Call by reference Type reference (TYPE) /IWBEP/T_MGW_NAME_VALUE_PAIR table for name value pairs 20111116
3 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20111116
4 Importing IV_ENTITY_SET_NAME Call by reference Type reference (TYPE) STRING 20111116
5 Importing 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 /IWBEP/CX_MGW_TECH_EXCEPTION 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 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111214
2 /IWBEP/CX_MGW_TECH_EXCEPTION 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 /IWBEP/CX_MGW_BUSI_EXCEPTION Business Exception 20111214
2 /IWBEP/CX_MGW_TECH_EXCEPTION Technical Exception 20111116

Method GET_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20111116
2 Exporting 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 Importing IS_SUBSTITUTED_OBJECT Call by reference Type reference (TYPE) SWRAGENT Role Resolution Result 20111214
2 Importing IV_CHECKED_USER Call by reference Type reference (TYPE) SY-UNAME User Name 20111214
3 Importing IV_END_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20111214
4 Importing IV_START_DATE Call by reference Type reference (TYPE) SYDATUM Current Date of Application Server 20111214
5 Returning 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 Importing 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