SAP ABAP Class CL_M_UTILITY (Utility class for the CRM Mobile tag library)
Hierarchy
WEBCUIF (Software Component) SAP Web UI Framework
   CA-WUI (Application Component) WebClient UI
     CRM_BSP_MOBILE (Package) UIF for BSP-based CRM applications running on mobile devices
Properties
Class CL_M_UTILITY  
Short Description Utility class for the CRM Mobile tag library    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CRM_BSP_MOBILE   UIF for BSP-based CRM applications running on mobile devices 
Created 20080211   SAP 
Last change 20100303   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_M_UTILITY has no forward declaration.
Interfaces
Class CL_M_UTILITY has no interface implemented.
Friends
Class CL_M_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_AM Constant Public Type reference (TYPE) STRING 'AM' AM 20080212
2 CO_HHMMSS_PATTERN Constant Public Type reference (TYPE) STRING '[d]{2}W[d]{2}W[d]{2}' 20080212
3 CO_HHMM_PATTERN Constant Public Type reference (TYPE) STRING '[d]{2}W[d]{2}' 20080212
4 CO_PM Constant Public Type reference (TYPE) STRING 'PM' PM 20080212
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_TO_12HOURS_FORMAT Static method Public Method Convert a time string to a 12 hours format 20080212
2 DELEGATE_EVENT Static method Public Method Delegate an HTMLB event 20080219
3 FORMAT_OUTPUT_STRING Static method Public Method Creates a formatting string 20080211
4 GET_FORCE_UPDATE_HTML Static method Public Method Returns HTML that will force a page update 20080211
5 IS_EQUAL_TO_REQUEST_ATTRIBUTE Static method Public Method Returns true if the specified value matches the request 20080211
6 MAKE_TIME_STRING Static method Public Method Creates a time string according to user settings 20080212
Events
Class CL_M_UTILITY has no event.
Types
Class CL_M_UTILITY has no local type.
Method Signatures

Method CONVERT_TO_12HOURS_FORMAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIME Call by reference Type reference (TYPE) STRING 20080212
2 Returning RV_FMT_TIME Value transfer Type reference (TYPE) STRING 20080212

Method CONVERT_TO_12HOURS_FORMAT on class CL_M_UTILITY has no exception.

Method DELEGATE_EVENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EVENT_DEFINED Call by reference Type reference (TYPE) STRING 20080219
2 Exporting EV_LIBRARY Call by reference Type reference (TYPE) STRING 20080219
3 Exporting EV_SERVER_EVENT Call by reference Type reference (TYPE) STRING 20080219
4 Importing IV_EVENT_DEFINED Call by reference Type reference (TYPE) STRING 20080219
5 Importing IV_SERVER_EVENT Call by reference Type reference (TYPE) STRING 20080219

Method DELEGATE_EVENT on class CL_M_UTILITY has no exception.

Method FORMAT_OUTPUT_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CURRENT_PAGE Call by reference Object reference (TYPE REF TO) IF_BSP_PAGE Reference to current BSP page 20080211
2 Importing IV_DATA_TYPE Call by reference Type reference (TYPE) C Data Type 20080211
3 Importing IV_DISABLE_CUSTOM_FORMATS Call by reference Type reference (TYPE) STRING '' Disable custom formatting created for thtmlb 20080211
4 Importing IV_FORMAT Call by reference Type reference (TYPE) I 0 Format Description (CO_FORMAT_...) 20080211
5 Importing IV_MAX_OUTPUT_LENGTH Call by reference Type reference (TYPE) I -1 Maximum Output Length 20080211
6 Importing IV_NUM_DECIMALS Call by reference Type reference (TYPE) I -1 Number of Decimal Places 20080211
7 Importing IV_REFERENCE_VALUE Call by reference Type reference (TYPE) C Reference (For Example, Currency) 20080211
8 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Value 20080211
9 Returning RV_OUTPUT Value transfer Type reference (TYPE) STRING Output String 20080211

Method FORMAT_OUTPUT_STRING on class CL_M_UTILITY has no exception.

Method GET_FORCE_UPDATE_HTML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FORCE_UPDATE_HTML Value transfer Type reference (TYPE) STRING HTML forcing a page update 20080211

Method GET_FORCE_UPDATE_HTML on class CL_M_UTILITY has no exception.

Method IS_EQUAL_TO_REQUEST_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_REQUEST Call by reference Object reference (TYPE REF TO) IF_HTTP_REQUEST The request in which the value will be retrieved 20080211
2 Importing IV_REQUEST_ATTRIBUTE_ID Call by reference Type reference (TYPE) STRING The ID of the request value to use for comparison 20080211
3 Importing IV_VALUE Call by reference Type reference (TYPE) STRING The value to be compared with a request value 20080211
4 Returning RV_IS_EQUAL Value transfer Type reference (TYPE) FLAG True if the values are equal 20080211

Method IS_EQUAL_TO_REQUEST_ATTRIBUTE on class CL_M_UTILITY has no exception.

Method MAKE_TIME_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FORMAT Call by reference Type reference (TYPE) I 0 Format Description (CO_FORMAT_...) 20080212
2 Importing IV_VALUE Call by reference Type reference (TYPE) ANY Value 20080212
3 Returning RV_OUTPUT Value transfer Type reference (TYPE) STRING Output String 20080212

Method MAKE_TIME_STRING on class CL_M_UTILITY has no exception.
History
Last changed by/on SAP  20100303 
SAP Release Created in 700