SAP ABAP Class /IWWRK/CL_WF_UTIL (General utilities for WF)
Hierarchy
SAP_GWFND (Software Component) SAP Gateway Foundation
   OPU-BSE-WFM (Application Component) Gateway Business Workflow enablement
     /IWWRK/WF_COMMON (Package) Workflow Common dev for Gateway
Properties
Class /IWWRK/CL_WF_UTIL  
Short Description General utilities for WF    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /IWWRK/WF_COMMON   Workflow Common dev for Gateway 
Created 20110328   SAP 
Last change 20141120    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 TRWBO Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /IWWRK/CL_WF_UTIL has no interface implemented.
Friends
Class /IWWRK/CL_WF_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_SYSTEM_LANGU Static Attribute Public Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20111006
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_DATA_TO_TRANSPORT Static method Public Method Append data to customizing transport 20111114
2 AUTO_LEADING_BAPI_MESSAGE Static method Public Method Auto leading message on bapi return tabl 20110712
3 CHECK_CLASS_EXIST Static method Public Method Check if class exist 20140508
4 CHECK_FUNCTION_EXISTENCE Static method Public Method Check if function exists 20110328
5 CONVERT_MSG_LINES_TO_BAPIRET Static method Public Method Convert WAPI message lines to BAPIRET messages 20110330
6 CONVERT_MSG_STRUCT_TO_BAPIRET Static method Public Method Convert WAPI message struct to BAPIRET messages 20110707
7 GET_CUSTOMIZING_REQUEST Static method Public Method Get customizing request 20111114
8 GET_SYSTEM_LANGU Static method Public Method Get system default language kernel 20110404
9 GET_TABLENAME_KEYLENGTH Static method Public Method Get key length of table 20111114
10 HEX_TAB_TO_XSTRING Static method Public Method Transform data in hex to binary content 20111009
11 IS_BAPI_RETURN_TAB_OK Static method Public Method Check if the BADI return table contains errors 20110721
12 STRING_TAB_TO_XSTRING Static method Public Method Tranform string to binary content 20111009
13 WAPI_EXC_TO_BAPI_RETURN Static method Public Method Convert WAPI Exception object to BAPI RETURN TAB 20110721
Events
Class /IWWRK/CL_WF_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_PAR_SUB Private See coding 20110404 BEGIN OF ty_par_sub , status TYPE syindex, pname(60) TYPE c, user_wert(60) TYPE c, default_wert(60) TYPE c, END OF ty_par_sub
Method Signatures

Method APPEND_DATA_TO_TRANSPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_TR_REQUEST Call by reference Type reference (TYPE) TRKORR Request/Task 20111114
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20111114
3 Importing IT_CONTENT Call by reference Type reference (TYPE) ANY TABLE 20111114
4 Importing IV_KEYLENGTH Call by reference Type reference (TYPE) I 20111114
5 Importing IV_TABLENAME Call by reference Type reference (TYPE) TABLENAM Name of table to be processed 20111114

Method APPEND_DATA_TO_TRANSPORT on class /IWWRK/CL_WF_UTIL has no exception.

Method AUTO_LEADING_BAPI_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR_OCCURED Call by reference Type reference (TYPE) ABAP_BOOL 20110713
2 Exporting EV_LEADING_MESSAGE Call by reference Type reference (TYPE) BAPIRET2-MESSAGE Message Text 20110713
3 Importing IT_RETURN_TAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110712
4 Importing IV_ONLY_ERRORS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20110712

Method AUTO_LEADING_BAPI_MESSAGE on class /IWWRK/CL_WF_UTIL has no exception.

Method CHECK_CLASS_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASS_NAME Call by reference Type reference (TYPE) SEOCLSKEY Key structure of a class 20140508
2 Returning RV_FOUND_AND_ACTIVE Value transfer Type reference (TYPE) ABAP_BOOL eturn true if class found and active 20140508

Method CHECK_CLASS_EXIST on class /IWWRK/CL_WF_UTIL has no exception.

Method CHECK_FUNCTION_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCNAME Call by reference Type reference (TYPE) FUNCNAME Function Name 20110328
2 Returning RV_RETURN_CODE Value transfer Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20110328

Method CHECK_FUNCTION_EXISTENCE on class /IWWRK/CL_WF_UTIL has no exception.

Method CONVERT_MSG_LINES_TO_BAPIRET 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 20110405
2 Importing IT_MSG_LINES Call by reference Type reference (TYPE) SAPI_MSG_LINES Table with sap wapi Message (Lines) 20110330

Method CONVERT_MSG_LINES_TO_BAPIRET on class /IWWRK/CL_WF_UTIL has no exception.

Method CONVERT_MSG_STRUCT_TO_BAPIRET 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 20110707
2 Importing IT_MSG_STRUCT Call by reference Type reference (TYPE) SAPI_MSG_STRUC Table with sap wapi Message (Structures) 20110707

Method CONVERT_MSG_STRUCT_TO_BAPIRET on class /IWWRK/CL_WF_UTIL has no exception.

Method GET_CUSTOMIZING_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CUSTOMIZING_REQUEST Call by reference Type reference (TYPE) E070-TRKORR Request/Task 20111114
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20111114
3 Importing IV_TITLE Call by reference Type reference (TYPE) STRING 20111114

Method GET_CUSTOMIZING_REQUEST on class /IWWRK/CL_WF_UTIL has no exception.

Method GET_SYSTEM_LANGU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SYS_LANGU Value transfer Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20110404

Method GET_SYSTEM_LANGU on class /IWWRK/CL_WF_UTIL has no exception.

Method GET_TABLENAME_KEYLENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABLENAME Call by reference Type reference (TYPE) TABNAME Table Name 20111114
2 Returning RV_KEYLENGTH Value transfer Type reference (TYPE) I 20111114

Method GET_TABLENAME_KEYLENGTH on class /IWWRK/CL_WF_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 Exporting EV_XSTRING Call by reference Type reference (TYPE) XSTRING 20111009
2 Importing IT_CONTENT Call by reference Type reference (TYPE) SOLIX_TAB GBT: SOLIX as Table Type 20111009

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

Method IS_BAPI_RETURN_TAB_OK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RETURN_TAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110721
2 Returning RV_OK Value transfer Type reference (TYPE) FLAG General Flag 20110721

Method IS_BAPI_RETURN_TAB_OK on class /IWWRK/CL_WF_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 Exporting EV_XSTRING Call by reference Type reference (TYPE) XSTRING 20111009
2 Importing IT_CONTENT Call by reference Type reference (TYPE) /IWWRK/T_COMMENT_TEXT Comments Text Content 20111009

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

Method WAPI_EXC_TO_BAPI_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 20110721
2 Importing IX_WAPI_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_SWF_RUN_WIM Exception in WIM 20110721

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