SAP ABAP Class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL (Utility class for workflow minimal gateway implementation)
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_MGW_WORKFLOW_RT_UTIL  
Short Description Utility class for workflow minimal gateway implementation    
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 20141120    
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 /IWWRK/CL_WF_BOP_DOCUMENT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no interface implemented.
Friends
Class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GCS_SORTING_ORDER Constant Public See coding 20110414
2 MT_VISU_TASKS Static Attribute Private Type reference (TYPE) SWNTVT WF Notif: Internal Table for Type SWFVT 20120116
Methods
# Method Level Visibility Method type Description Created on
1 BASE64_DECODE Static method Public Method Decode base64 to binary 20110331
2 BASE64_ENCODE Static method Public Method Encode binary to Base64 20120213
3 BUILD_DATETIME Static method Public Method Build datetime field 20110402
4 BUILD_FILE_NAME Static method Public Method Build file name 20140519
5 BUILD_GUI_LINK_URL Static method Public Method Build Web gui link for executing the workflow item 20110721
6 CHECK_ENTITY_STRING_OPTIONS Static method Public Method Check if entity is filterable according to entity name and 20110724
7 COPY_DATA_TO_REF Static method Public Method Copy data to reference 20110721
8 FILTERING Static method Public Method Dynamic filtering on a feed 20110414
9 GET_EXTENSION_FROM_MIME_TYPE Static method Public Method Get file extension from MIME type 20120416
10 GET_EXTENTION_FROM_DOC_HEAD Static method Public Method Get file extention from object header 20130704
11 GET_MIME_TYPE_FROM_EXTENSION Static method Public Method Get MIME type from file extension 20120509
12 GET_VISU_URL Static method Public Method Get Visalization URL for workitems maintained by ABAP WebDyn 20120116
13 HEX_TAB_TO_XSTRING Static method Public Method 20111124
14 IS_HEADER_PAGING_ALLOWED Static method Public Method Check if paging can be done without WI_Details calls 20120201
15 ORDERBY Static method Public Method Dynamic sorting on a feed 20110414
16 PAGING Static method Public Method Dynamic paging on a feed 20110414
17 PORTION_FILTERING Static method Public Method Filter according to properties string list 20110724
18 PORTION_ORDERBY Static method Public Method Sorted according to properties string list 20110724
19 STRING_TAB_TO_XSTRING Static method Public Method 20111124
20 UTF8_ENCODE Static method Public Method Encode to UTF-8 string 20111004
Events
Class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_MSG_STRUCT Public See coding 20111116 tt_msg_struct TYPE STANDARD TABLE OF swr_messag
Method Signatures

Method BASE64_DECODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BASE64_INPUT Call by reference Type reference (TYPE) STRING 20110331
2 Returning RV_BIN_OUTPUT Value transfer Type reference (TYPE) XSTRING 20110331

Method BASE64_DECODE on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method BASE64_ENCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BIN_INPUT Call by reference Type reference (TYPE) XSTRING 20120213
2 Returning RV_BASE64_OUTPUT Value transfer Type reference (TYPE) STRING 20120213

Method BASE64_ENCODE on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method BUILD_DATETIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) DATS Field of type DATS 20110402
2 Importing IV_TIME Call by reference Type reference (TYPE) TIMS Field of type TIMS 20110402
3 Returning RV_DATETIME Value transfer Type reference (TYPE) STRING UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110402

Method BUILD_DATETIME on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method BUILD_FILE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FILE_EXTENSION Call by reference Type reference (TYPE) STRING 20140519
2 Importing IV_FILE_NAME Call by reference Type reference (TYPE) STRING 20140519
3 Returning RV_FILE_NAME Value transfer Type reference (TYPE) STRING 20140519

Method BUILD_FILE_NAME on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method BUILD_GUI_LINK_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20120524
2 Importing IV_SYS_ALIAS Call by reference Type reference (TYPE) /IWBEP/DEFI_SYSTEM_ALIAS System Alias Information 20120219
3 Importing IV_TASK_ID Call by reference Type reference (TYPE) SWW_TASK Task ID 20120116
4 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20110721
5 Returning RV_GUI_LINK_URL Value transfer Type reference (TYPE) /IWWRK/RT_GUI_LINK_URL SAP WebGUI link URL 20110721

Method BUILD_GUI_LINK_URL on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method CHECK_ENTITY_STRING_OPTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ENTITIES_STRING_LIST Call by reference Type reference (TYPE) STRING 20110724
2 Importing IV_ENTITY_NAME Call by reference Type reference (TYPE) STRING 20110724
3 Returning RV_IS_FILTERABLE Value transfer Type reference (TYPE) FLAG General Flag 20110724

Method CHECK_ENTITY_STRING_OPTIONS on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method COPY_DATA_TO_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_DATA Call by reference Object reference (TYPE REF TO) DATA 20110721
2 Importing IS_DATA Call by reference Type reference (TYPE) ANY 20110721

Method COPY_DATA_TO_REF on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method FILTERING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110414
2 Importing IT_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20110414

Method FILTERING on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method GET_EXTENSION_FROM_MIME_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MIME_TYPE Call by reference Type reference (TYPE) STRING MIME Type 20120416
2 Returning RV_EXTENSION Value transfer Type reference (TYPE) SWR_FILEEXT File Extension 20120416

Method GET_EXTENSION_FROM_MIME_TYPE on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method GET_EXTENTION_FROM_DOC_HEAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_OBJ_HEADER Call by reference Type reference (TYPE) /IWWRK/T_COMMENT_TEXT Comments Text Content 20130704
2 Returning RV_EXTENTION Value transfer Type reference (TYPE) /IWWRK/FILE_EXTENSION Attachment File Extension 20130704

Method GET_EXTENTION_FROM_DOC_HEAD on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method GET_MIME_TYPE_FROM_EXTENSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXTENSION Call by reference Type reference (TYPE) /IWWRK/FILE_EXTENSION Attachment File Extension 20120509
2 Returning RV_MIME_TYPE Value transfer Type reference (TYPE) SAEMIME MIME Type 20120509

Method GET_MIME_TYPE_FROM_EXTENSION on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method GET_VISU_URL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TASK_ID Call by reference Type reference (TYPE) SWW_TASK Task ID 20120116
2 Importing IV_WORKITEM_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20120116
3 Returning RV_VISU_URL Value transfer Type reference (TYPE) SAVWCTXT-FIELDCONT URL for Notification Attachment 20120116

Method GET_VISU_URL on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method HEX_TAB_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CONTENT Call by reference Type reference (TYPE) SOLIX_TAB GBT: SOLIX as Table Type 20111124
2 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING 20111124

Method HEX_TAB_TO_XSTRING on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method IS_HEADER_PAGING_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20120201
2 Importing IT_FILTER_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20120201
3 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20120201
4 Importing IV_HEADER_FILTERABLES Call by reference Type reference (TYPE) STRING List of properties that are in the header and are Filterable 20120222
5 Importing IV_HEADER_ORDERBY Call by reference Type reference (TYPE) STRING List of properties that are in the header and are sortable 20120222
6 Returning RV_ALLOWED Value transfer Type reference (TYPE) ABAP_BOOL 20120201

Method IS_HEADER_PAGING_ALLOWED on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method ORDERBY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110414
2 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20110414

Method ORDERBY on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method PAGING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110414
2 Importing IS_PAGING Call by reference Type reference (TYPE) /IWBEP/S_MGW_PAGING paging structure 20110414

Method PAGING on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method PORTION_FILTERING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110724
2 Importing IT_SELECT_OPTIONS Call by reference Type reference (TYPE) /IWBEP/T_MGW_SELECT_OPTION table of select options 20110724
3 Importing IV_DEADLINES_STRING Call by reference Type reference (TYPE) STRING String of deadline fields 20120829
4 Importing IV_GCS_NAME Call by reference Type reference (TYPE) STRING Mapping structure 20120229
5 Importing IV_PROPS_STRING Call by reference Type reference (TYPE) STRING 20111120

Method PORTION_FILTERING on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method PORTION_ORDERBY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_DATA Call by reference Type reference (TYPE) STANDARD TABLE 20110724
2 Importing IT_ORDER Call by reference Type reference (TYPE) /IWBEP/T_MGW_SORTING_ORDER the sorting order 20110724
3 Importing IV_GCS_NAME Call by reference Type reference (TYPE) STRING GCS full name 20120229
4 Importing IV_PROPS_STRING Call by reference Type reference (TYPE) STRING 20111120

Method PORTION_ORDERBY on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method STRING_TAB_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CONTENT Call by reference Type reference (TYPE) /IWWRK/CL_WF_BOP_DOCUMENT=>__SOLISTI1 20111124
2 Returning RV_XSTRING Value transfer Type reference (TYPE) XSTRING 20111124

Method STRING_TAB_TO_XSTRING on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.

Method UTF8_ENCODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UNENCODED Call by reference Type reference (TYPE) ANY 20111004
2 Returning RV_ENCODED Value transfer Type reference (TYPE) XSTRING 20111004

Method UTF8_ENCODE on class /IWWRK/CL_MGW_WORKFLOW_RT_UTIL has no exception.
History
Last changed by/on SAP  20141120 
SAP Release Created in 200