SAP ABAP Class /MRSS/CL_RM_UTILITIES (Utilities)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC-CP (Application Component) Capacity and Resource Planning
     /MRSS/RMS (Package) Resource Management Service Layer
Properties
Class /MRSS/CL_RM_UTILITIES  
Short Description Utilities    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/RMS   Resource Management Service Layer 
Created 20070709   SAP 
Last change 20141109    
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 CL_WD_DYNAMIC_TOOL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class /MRSS/CL_RM_UTILITIES has no interface implemented.
Friends
Class /MRSS/CL_RM_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ABAP_FALSE Constant Public Type reference (TYPE) /MRSS/T_RM_FLAG ' ' Indicator 20070820
2 GC_ABAP_TRUE Constant Public Type reference (TYPE) /MRSS/T_RM_FLAG 'X' Indicator 20070820
3 GC_EMAIL_RECPT_LVL Constant Public See coding 20070929
4 GC_RM_DATE_SEP Constant Public Type reference (TYPE) C '.' 20070921
5 GC_RM_DATE_TIME_PATTERN Constant Public Type reference (TYPE) STRING '(d{2}.d{2}.d{4}), (d{2}:d{2})' 20070922
6 GC_RM_TIME_SEP Constant Public Type reference (TYPE) C ':' 20070921
7 GC_RM_WORKFLOW_OBJ_TYPE Constant Private Type reference (TYPE) SWO_OBJTYP 'ZAFVC_AGNT' Object Type 20070827
8 GC_TIMEZONE_SYS_TO_USER Constant Public Type reference (TYPE) I 0 Time Zone conversion System to User 20080206
9 GC_TIMEZONE_USER_TO_SYS Constant Public Type reference (TYPE) I 1 Time Zone conversion User to Sys 20080206
10 GR_WD_MSG_MGR Static Attribute Private Object reference (TYPE REF TO) IF_WD_MESSAGE_MANAGER Reference to Message manager 20071016
11 GV_USER_TIMEZONE Static Attribute Public Type reference (TYPE) TIMEZONE Time Zone 20090421
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_RM_WD_MANDATORY_ATTRIB Static method Public Method Check Mandatory Attributes 20090929
2 CLEAR_MSGS_ON_F4WD_WINDOW_OPEN Static method Private Event handling method For internal windows 20071016
3 CONVERT_DATETIME_ZONE Static method Public Method Change given date time to either system or user timezone 20070920
4 CONV_OTF_TO_PDF Static method Public Method 20070922
5 CONV_SYS_TS_TO_USER_DATE Static method Public Method Convert Time Stamp in Sys timezone to Date in user timezone 20071009
6 CREATE_VARIANT Static method Public Method Create Variant 20080916
7 GET_ROWCOUNT_FROM_FILESIZE Static method Public Method Retrieves the number of table rows for a given filesize 20070726
8 GET_SEARCH_DEFAULT_OBJECT_TYPE Static method Public Method 20081205
9 GET_SEARCH_DEFAULT_OBJID Static method Public Method 20081205
10 GET_SO_DOC_HEX_CONTENT Static method Public Method Retrieves SAP Off. document hex content 20070906
11 GET_WORKING_DAY Static method Public Method Get the next working day 20070914
12 HIDE_ALV_COLUMS Static method Public Method To hide columns based on customising settings 20080507
13 LOAD_VARIANT Static method Public Method Load Variant 20080916
14 SET_WD_F4_WINDOW_OPEN_HANDLER Static method Public Method Window open event handler 20071016
15 SPLIT_FILENAME_EXT Static method Public Method Splits Filename and Extension 20070830
16 SPLIT_FILENAME_FROM_PATH Static method Public Method Returns filename from Path 20070719
17 SPLIT_STRING_TO_TABLE Static method Private Method Splits STRING, XSTRING into STRING/XSTRING Table - obselete 20070731
18 SPLIT_STRING_TO_TABLE2 Static method Public Method Splits string to table 20070920
Events
Class /MRSS/CL_RM_UTILITIES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_CL_MAX_LEN Public See coding 20070801 t_cl_max_len(25) TYPE n
2 T_RTAB_EMAIL Public See coding 20090618 BEGIN OF t_rtab_email, sign TYPE tvarv_sign, option TYPE tvarv_opti, low TYPE comm_id_long, high TYPE comm_id_long, END OF t_rtab_email
3 T_SEL_SCR_EMAIL Public See coding 20090513 BEGIN OF t_sel_scr_email, last_name TYPE RANGE OF /mrss/nachna, first_name TYPE RANGE OF pad_vorna, email_id TYPE RANGE OF comm_id_long, END OF t_sel_scr_email
4 T_STRING Public See coding 20090617 BEGIN OF t_string, string TYPE string, END OF t_string
Method Signatures

Method CHECK_RM_WD_MANDATORY_ATTRIB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) CL_WD_DYNAMIC_TOOL=>T_CHECK_RESULT_MESSAGE_TAB 20090929
2 Exporting EV_FAILED Call by reference Type reference (TYPE) WDY_BOOLEAN Supplement for True Boolean Type: 'X' == True '' == False 20090929
3 Importing IR_VIEW_CTRL Call by reference Object reference (TYPE REF TO) IF_WD_VIEW_CONTROLLER Web Dynpro: View Controller 20090929
4 Importing IV_DISP_MSGS Call by reference Type reference (TYPE) WDY_BOOLEAN Supplement for True Boolean Type: 'X' == True '' == False 20090929
5 Importing IV_RM_WD_CTRL_ID Call by reference Type reference (TYPE) I 20090929

Method CHECK_RM_WD_MANDATORY_ATTRIB on class /MRSS/CL_RM_UTILITIES has no exception.

Method CLEAR_MSGS_ON_F4WD_WINDOW_OPEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SENDER Value transfer Attribute reference (LIKE) 20071016

Method CLEAR_MSGS_ON_F4WD_WINDOW_OPEN on class /MRSS/CL_RM_UTILITIES has no exception.

Method CONVERT_DATETIME_ZONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Call by reference Type reference (TYPE) DATUM Date 20070920
2 Exporting EV_TIME Call by reference Type reference (TYPE) TIMS Time in CHAR Format 20070920
3 Importing IV_CONVERT Value transfer Type reference (TYPE) I 0=system to user 1= user to sys 20070920
4 Importing IV_DATE Value transfer Type reference (TYPE) DATUM SY-DATUM Date 20070920
5 Importing IV_TIME Value transfer Type reference (TYPE) TIMS SY-UZEIT Time in CHAR Format 20070920
6 Importing IV_UNAME Value transfer Type reference (TYPE) SYUNAME SY-UNAME User Name 20070920

Method CONVERT_DATETIME_ZONE on class /MRSS/CL_RM_UTILITIES has no exception.

Method CONV_OTF_TO_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OTF_PDF Call by reference Type reference (TYPE) TLINE_TAB List of SAPscript Lines 20070922
2 Exporting EV_PDF_XSTR Call by reference Type reference (TYPE) XSTRING PDF Data in Raw String 20070922
3 Importing IT_OTF Call by reference Type reference (TYPE) TLINE_TAB List of SAPscript Lines 20070922
# Exception Resumable Description Created on
1 CONVERSION_ERROR 20070922

Method CONV_SYS_TS_TO_USER_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STRDATETIME Call by reference Type reference (TYPE) STRING 20080718
2 Exporting EV_USER_TZ_DATE Call by reference Type reference (TYPE) DATUM Date in User Time Zone 20071009
3 Exporting EV_USER_TZ_TIME Call by reference Type reference (TYPE) UZEIT Time 20071116
4 Importing IV_SYS_TZ_TIMESTAMP Call by reference Type reference (TYPE) TZNTSTMPLL TimeStamp in System Time Zone 20071009
5 Importing IV_UNAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME User Name 20071009
# Exception Resumable Description Created on
1 ERROR_CONVERSION 20071009
2 ERROR_TIMEZONE 20071009

Method CREATE_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GLOBAL Call by reference Type reference (TYPE) SYCHAR01 CHAR01 data element for SYST 20080916
2 Importing I_REGION Call by reference Type reference (TYPE) /MRSS/T_RM_SUB_REG Sub-region 20080916
3 Importing I_SELCRIT_VALUES Call by reference Type reference (TYPE) RSPARAMS_TT Selection parameters of the respective query 20080916
4 Importing I_VARIANT_NAME Call by reference Type reference (TYPE) RALDB_VARI Variant Names 20080916

Method CREATE_VARIANT on class /MRSS/CL_RM_UTILITIES has no exception.

Method GET_ROWCOUNT_FROM_FILESIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NO_OF_ROWS Call by reference Type reference (TYPE) I No of Rows 20070726
2 Importing I_FILESIZE Value transfer Type reference (TYPE) N File Size 20070726
3 Importing I_TABLE_ROW_LEN Value transfer Type reference (TYPE) N Each Table Row Len 20070726
# Exception Resumable Description Created on
1 DIVIDE_BY_ZERO When the Table Row length is inital or zero 20070726

Method GET_SEARCH_DEFAULT_OBJECT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OBJECT_TYPE Call by reference Type reference (TYPE) OTYPE Object Type 20081205
2 Importing IV_VIEW Call by reference Type reference (TYPE) /MRSS/T_RM_SEARCH_VIEW_TYPE Search View Type 20081205

Method GET_SEARCH_DEFAULT_OBJECT_TYPE on class /MRSS/CL_RM_UTILITIES has no exception.

Method GET_SEARCH_DEFAULT_OBJID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OBJECT_ID Call by reference Type reference (TYPE) PD_OBJID_R 20081205
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) OTYPE Object Type 20081205

Method GET_SEARCH_DEFAULT_OBJID on class /MRSS/CL_RM_UTILITIES has no exception.

Method GET_SO_DOC_HEX_CONTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SO_DOC_HEX_CONTENT Call by reference Type reference (TYPE) SOLIX_TAB SAP Office Document Hex Content 20070906
2 Exporting EV_LINES Value transfer Type reference (TYPE) I 20070906
3 Exporting EV_SIZE Value transfer Type reference (TYPE) SO_DOC_SIZ Size of SAPoffice Document (for API1) 20070906
4 Importing IV_SO_DOC_ID Value transfer Type reference (TYPE) SO_ENTRYID Folder Entry ID (Obj+Fol+Forwarder Name) 20070906
# Exception Resumable Description Created on
1 ATTACHMENT_READ_ERROR 20070906

Method GET_WORKING_DAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DATE Value transfer Type reference (TYPE) DATUM Date 20070914
2 Importing IV_DATE Value transfer Type reference (TYPE) DATUM SY-DATUM Date 20070914
# Exception Resumable Description Created on
1 NO_CALENDAR Factory Calendar is missing for the plant 20070914
2 NO_PLANT Plant is not maintained 20070914

Method HIDE_ALV_COLUMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CR_MODEL Call by reference Object reference (TYPE REF TO) CL_SALV_WD_CONFIG_TABLE Configuration of the ALV Output 20080507
2 Importing IV_STRUCTNAME Value transfer Type reference (TYPE) DDIC_OBJ Dictionary object 20080507

Method HIDE_ALV_COLUMS on class /MRSS/CL_RM_UTILITIES has no exception.

Method LOAD_VARIANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VALUETAB Call by reference Type reference (TYPE) RSPARAMS_TT ABAP: General Structure for PARAMETERS and SELECT-OPTIONS 20080916
2 Importing IV_REPORT Call by reference Type reference (TYPE) RALDB_REPO Report Name 20080916
3 Importing IV_VARIANT Call by reference Type reference (TYPE) RALDB_VARI Variant Name 20080916
# Exception Resumable Description Created on
1 VARIANT_NON_EXISTENT Variant does not exist 20080916
2 VARIANT_OBSOLETE Report does not exist 20080916

Method SET_WD_F4_WINDOW_OPEN_HANDLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_WD_MSG_MGR Call by reference Object reference (TYPE REF TO) IF_WD_MESSAGE_MANAGER Message Manager 20071016

Method SET_WD_F4_WINDOW_OPEN_HANDLER on class /MRSS/CL_RM_UTILITIES has no exception.

Method SPLIT_FILENAME_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EXTENSION Call by reference Type reference (TYPE) STRING Extension 20070830
2 Exporting EV_FILENAME Call by reference Type reference (TYPE) STRING Filename 20070830
3 Importing IV_FILENAME_WITH_EXT Value transfer Type reference (TYPE) STRING Filename with Extension 20070830

Method SPLIT_FILENAME_EXT on class /MRSS/CL_RM_UTILITIES has no exception.

Method SPLIT_FILENAME_FROM_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILENAME Call by reference Type reference (TYPE) STRING 20070719
2 Importing I_FILEPATH Value transfer Type reference (TYPE) STRING 20070719

Method SPLIT_FILENAME_FROM_PATH on class /MRSS/CL_RM_UTILITIES has no exception.

Method SPLIT_STRING_TO_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TABLE Call by reference Type reference (TYPE) TABLE Result Table 20070731
2 Importing IV_STRING Value transfer Type reference (TYPE) ANY Input String/Raw String 20070731
3 Importing IV_TABLE_LENGTH Value transfer Type reference (TYPE) N Table Length 20070731
# Exception Resumable Description Created on
1 WRONG_INPUT_DATA 20070802

Method SPLIT_STRING_TO_TABLE2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_TABLE_LINE_BUFFER Call by reference Type reference (TYPE) ANY Line type of Output Table for Buffering in method 20070921
2 Exporting ET_TABLE Call by reference Type reference (TYPE) TABLE Output Table 20070920
3 Importing IV_STRING Call by reference Type reference (TYPE) ANY Input String/Xstring 20070920
4 Importing IV_TABLE_COMPONENT_NUM Call by reference Type reference (TYPE) I Field pos of Output Tab, 0 for tables of basic types 20070920
# Exception Resumable Description Created on
1 TABLE_ERROR 20070920
History
Last changed by/on SAP  20141109 
SAP Release Created in 606