SAP ABAP Class CL_WUI_UTIL (Generic Services and Constants)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PLM-PPM-PDN (Application Component) Product Designer
     PLM_PDN_WUI_CNTL (Package) Controls for the Web User Interface
Properties
Class CL_WUI_UTIL  
Short Description Generic Services and Constants    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PLM_PDN_WUI_CNTL   Controls for the Web User Interface 
Created 20010807   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WUI_UTIL has no forward declaration.
Interfaces
Class CL_WUI_UTIL has no interface implemented.
Friends
Class CL_WUI_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_DEFAULT_LABELCLASS Constant Public Type reference (TYPE) STRING 'sapTxtLbl' Default Style for Labels 20010816
2 CO_DEFAULT_LABELWIDTH Constant Public Type reference (TYPE) STRING '120px' Default Label Width in UI Controls 20010816
3 CO_HTML_AMP Constant Public Type reference (TYPE) TEXT10 '&' Unicode Character Entity "&", XML Escaped 20010823
4 CO_HTML_LT Constant Public Type reference (TYPE) TEXT10 '<' Unicode Character "<", XML Escaped 20010823
5 CO_HTML_NBSP Constant Public Type reference (TYPE) TEXT10 ' ' Unicode Character nbsp (blanc), XML Escaped 20010823
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_STR_2_TABLE Static method Public Method String -> Table 20011213
2 CREATE_URL_FOR_ITS_SERVICE Static method Public Method ->URL for Calling ITS Service from BSP page 20020208
3 ESCAPE_HTML Static method Public Method Convert Input String to Browser-Compatible HTML Display 20010807
4 GET_USER_DESCRIPTION Static method Public Method Output Text for User for User Interface Display 20020419
5 SEND_EMAIL Static method Public Method Send E-Mail 20020210
6 STR_TRUNC Static method Public Method Truncates String After N Characters and Selects the Cut 20010807
Events
Class CL_WUI_UTIL has no event.
Types
Class CL_WUI_UTIL has no local type.
Method Signatures

Method CONVERT_STR_2_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHARTAB Value transfer Type reference (TYPE) TABLE erzeugte Tabelle mit Zeichen 20011213
2 Importing IV_STRING Call by reference Type reference (TYPE) STRING Zeichenkette 20011213

Method CONVERT_STR_2_TABLE on class CL_WUI_UTIL has no exception.

Method CREATE_URL_FOR_ITS_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_URL Value transfer Type reference (TYPE) STRING URL der Seite 20020208
2 Importing IV_CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT Mandant 20020208
3 Importing IV_LANGU Call by reference Type reference (TYPE) SYLANGU SY-LANGU Aktuelle Sprache 20020208
4 Importing IV_PARAMETER_STRING Call by reference Type reference (TYPE) STRING Parameter in URL 20020208
5 Importing IV_PROTOCOL Call by reference Type reference (TYPE) WEB_PROTCL 'http' Protokoll für die Web-Verbindung des Web-GUIs 20020208
6 Importing IV_SERVICENAME Call by reference Type reference (TYPE) ITSAPPL Service-Name 20020208
# Exception Resumable Description Created on
1 ERROR_OCCURED 20020208

Method ESCAPE_HTML Signature

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

Method ESCAPE_HTML on class CL_WUI_UTIL has no exception.

Method GET_USER_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_NAME_AS_TEXT Value transfer Type reference (TYPE) STEXT Benutzername 20020419
2 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE 'US' Objekttyp 20020419
3 Importing IV_USER Call by reference Type reference (TYPE) SYUNAME Benutzername 20020419

Method GET_USER_DESCRIPTION on class CL_WUI_UTIL has no exception.

Method SEND_EMAIL 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) CHAR1 Fehler ist aufgetreten (->messages gefüllt) 20020210
2 Importing IR_BSP_PAGE Call by reference Object reference (TYPE REF TO) IF_BSP_PAGE BSP-Seite -> Messagehandler 20020210
3 Importing IV_DO_COMMIT_WORK Call by reference Type reference (TYPE) CHAR1 'X' Mailrequest sichern; (Mail wird im Batch versendet) 20020210
4 Importing IV_HYPERLINK Call by reference Type reference (TYPE) STRING URL (->hinter Mailtext) 20020210
5 Importing IV_MAILHEADER Call by reference Type reference (TYPE) STRING Betreff 20020210
6 Importing IV_MAILTEXT Call by reference Type reference (TYPE) STRING Mitteilung 20020210
7 Importing IV_MAILTO Call by reference Type reference (TYPE) STRING Internetadresse 20020210

Method SEND_EMAIL on class CL_WUI_UTIL has no exception.

Method STR_TRUNC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_POS Value transfer Type reference (TYPE) I 20010807
2 Importing I_POSTFIX Value transfer Type reference (TYPE) CHAR3 20010807
3 Importing I_STR Call by reference Type reference (TYPE) STRING 20010807
4 Returning R_STR Value transfer Type reference (TYPE) STRING 20010807

Method STR_TRUNC on class CL_WUI_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 110