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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | /MRSS/T_RM_FLAG | ' ' | Indicator | 20070820 | ||
| 2 | Constant | Public | Type reference (TYPE) | /MRSS/T_RM_FLAG | 'X' | Indicator | 20070820 | ||
| 3 | Constant | Public | See coding | 20070929 | |||||
| 4 | Constant | Public | Type reference (TYPE) | C | '.' | 20070921 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | '(d{2}.d{2}.d{4}), (d{2}:d{2})' | 20070922 | |||
| 6 | Constant | Public | Type reference (TYPE) | C | ':' | 20070921 | |||
| 7 | Constant | Private | Type reference (TYPE) | SWO_OBJTYP | 'ZAFVC_AGNT' | Object Type | 20070827 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 0 | Time Zone conversion System to User | 20080206 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 1 | Time Zone conversion User to Sys | 20080206 | ||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_WD_MESSAGE_MANAGER | Reference to Message manager | 20071016 | |||
| 11 | Static Attribute | Public | Type reference (TYPE) | TIMEZONE | Time Zone | 20090421 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check Mandatory Attributes | 20090929 | |
| 2 | Static method | Private | Event handling method | For internal windows | 20071016 | |
| 3 | Static method | Public | Method | Change given date time to either system or user timezone | 20070920 | |
| 4 | Static method | Public | Method | 20070922 | ||
| 5 | Static method | Public | Method | Convert Time Stamp in Sys timezone to Date in user timezone | 20071009 | |
| 6 | Static method | Public | Method | Create Variant | 20080916 | |
| 7 | Static method | Public | Method | Retrieves the number of table rows for a given filesize | 20070726 | |
| 8 | Static method | Public | Method | 20081205 | ||
| 9 | Static method | Public | Method | 20081205 | ||
| 10 | Static method | Public | Method | Retrieves SAP Off. document hex content | 20070906 | |
| 11 | Static method | Public | Method | Get the next working day | 20070914 | |
| 12 | Static method | Public | Method | To hide columns based on customising settings | 20080507 | |
| 13 | Static method | Public | Method | Load Variant | 20080916 | |
| 14 | Static method | Public | Method | Window open event handler | 20071016 | |
| 15 | Static method | Public | Method | Splits Filename and Extension | 20070830 | |
| 16 | Static method | Public | Method | Returns filename from Path | 20070719 | |
| 17 | Static method | Private | Method | Splits STRING, XSTRING into STRING/XSTRING Table - obselete | 20070731 | |
| 18 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | CL_WD_DYNAMIC_TOOL=>T_CHECK_RESULT_MESSAGE_TAB | 20090929 | ||||
| 2 | EV_FAILED | Call by reference | Type reference (TYPE) | WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | 20090929 | |||
| 3 | IR_VIEW_CTRL | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW_CONTROLLER | Web Dynpro: View Controller | 20090929 | |||
| 4 | IV_DISP_MSGS | Call by reference | Type reference (TYPE) | WDY_BOOLEAN | Supplement for True Boolean Type: 'X' == True '' == False | 20090929 | |||
| 5 | 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 | 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 | EV_DATE | Call by reference | Type reference (TYPE) | DATUM | Date | 20070920 | |||
| 2 | EV_TIME | Call by reference | Type reference (TYPE) | TIMS | Time in CHAR Format | 20070920 | |||
| 3 | IV_CONVERT | Value transfer | Type reference (TYPE) | I | 0=system to user 1= user to sys | 20070920 | |||
| 4 | IV_DATE | Value transfer | Type reference (TYPE) | DATUM | SY-DATUM | Date | 20070920 | ||
| 5 | IV_TIME | Value transfer | Type reference (TYPE) | TIMS | SY-UZEIT | Time in CHAR Format | 20070920 | ||
| 6 | 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 | ET_OTF_PDF | Call by reference | Type reference (TYPE) | TLINE_TAB | List of SAPscript Lines | 20070922 | |||
| 2 | EV_PDF_XSTR | Call by reference | Type reference (TYPE) | XSTRING | PDF Data in Raw String | 20070922 | |||
| 3 | IT_OTF | Call by reference | Type reference (TYPE) | TLINE_TAB | List of SAPscript Lines | 20070922 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070922 |
Method CONV_SYS_TS_TO_USER_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STRDATETIME | Call by reference | Type reference (TYPE) | STRING | 20080718 | ||||
| 2 | EV_USER_TZ_DATE | Call by reference | Type reference (TYPE) | DATUM | Date in User Time Zone | 20071009 | |||
| 3 | EV_USER_TZ_TIME | Call by reference | Type reference (TYPE) | UZEIT | Time | 20071116 | |||
| 4 | IV_SYS_TZ_TIMESTAMP | Call by reference | Type reference (TYPE) | TZNTSTMPLL | TimeStamp in System Time Zone | 20071009 | |||
| 5 | IV_UNAME | Call by reference | Type reference (TYPE) | SYUNAME | SY-UNAME | User Name | 20071009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20071009 | |||
| 2 | 20071009 |
Method CREATE_VARIANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_GLOBAL | Call by reference | Type reference (TYPE) | SYCHAR01 | CHAR01 data element for SYST | 20080916 | |||
| 2 | I_REGION | Call by reference | Type reference (TYPE) | /MRSS/T_RM_SUB_REG | Sub-region | 20080916 | |||
| 3 | I_SELCRIT_VALUES | Call by reference | Type reference (TYPE) | RSPARAMS_TT | Selection parameters of the respective query | 20080916 | |||
| 4 | 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 | E_NO_OF_ROWS | Call by reference | Type reference (TYPE) | I | No of Rows | 20070726 | |||
| 2 | I_FILESIZE | Value transfer | Type reference (TYPE) | N | File Size | 20070726 | |||
| 3 | I_TABLE_ROW_LEN | Value transfer | Type reference (TYPE) | N | Each Table Row Len | 20070726 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | OTYPE | Object Type | 20081205 | |||
| 2 | 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 | EV_OBJECT_ID | Call by reference | Type reference (TYPE) | PD_OBJID_R | 20081205 | ||||
| 2 | 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 | ET_SO_DOC_HEX_CONTENT | Call by reference | Type reference (TYPE) | SOLIX_TAB | SAP Office Document Hex Content | 20070906 | |||
| 2 | EV_LINES | Value transfer | Type reference (TYPE) | I | 20070906 | ||||
| 3 | EV_SIZE | Value transfer | Type reference (TYPE) | SO_DOC_SIZ | Size of SAPoffice Document (for API1) | 20070906 | |||
| 4 | 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 | 20070906 |
Method GET_WORKING_DAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATE | Value transfer | Type reference (TYPE) | DATUM | Date | 20070914 | |||
| 2 | IV_DATE | Value transfer | Type reference (TYPE) | DATUM | SY-DATUM | Date | 20070914 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Factory Calendar is missing for the plant | 20070914 | ||
| 2 | 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 | CR_MODEL | Call by reference | Object reference (TYPE REF TO) | CL_SALV_WD_CONFIG_TABLE | Configuration of the ALV Output | 20080507 | |||
| 2 | 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 | ET_VALUETAB | Call by reference | Type reference (TYPE) | RSPARAMS_TT | ABAP: General Structure for PARAMETERS and SELECT-OPTIONS | 20080916 | |||
| 2 | IV_REPORT | Call by reference | Type reference (TYPE) | RALDB_REPO | Report Name | 20080916 | |||
| 3 | IV_VARIANT | Call by reference | Type reference (TYPE) | RALDB_VARI | Variant Name | 20080916 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Variant does not exist | 20080916 | ||
| 2 | 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 | 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 | EV_EXTENSION | Call by reference | Type reference (TYPE) | STRING | Extension | 20070830 | |||
| 2 | EV_FILENAME | Call by reference | Type reference (TYPE) | STRING | Filename | 20070830 | |||
| 3 | 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 | E_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20070719 | ||||
| 2 | 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 | ET_TABLE | Call by reference | Type reference (TYPE) | TABLE | Result Table | 20070731 | |||
| 2 | IV_STRING | Value transfer | Type reference (TYPE) | ANY | Input String/Raw String | 20070731 | |||
| 3 | IV_TABLE_LENGTH | Value transfer | Type reference (TYPE) | N | Table Length | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070802 |
Method SPLIT_STRING_TO_TABLE2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TABLE_LINE_BUFFER | Call by reference | Type reference (TYPE) | ANY | Line type of Output Table for Buffering in method | 20070921 | |||
| 2 | ET_TABLE | Call by reference | Type reference (TYPE) | TABLE | Output Table | 20070920 | |||
| 3 | IV_STRING | Call by reference | Type reference (TYPE) | ANY | Input String/Xstring | 20070920 | |||
| 4 | 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 | 20070920 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 606 |