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 | Constant | Public | Type reference (TYPE) | STRING | 'sapTxtLbl' | Default Style for Labels | 20010816 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | '120px' | Default Label Width in UI Controls | 20010816 | ||
| 3 | Constant | Public | Type reference (TYPE) | TEXT10 | '&' | Unicode Character Entity "&", XML Escaped | 20010823 | ||
| 4 | Constant | Public | Type reference (TYPE) | TEXT10 | '<' | Unicode Character "<", XML Escaped | 20010823 | ||
| 5 | Constant | Public | Type reference (TYPE) | TEXT10 | ' ' | Unicode Character nbsp (blanc), XML Escaped | 20010823 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | String -> Table | 20011213 | |
| 2 | Static method | Public | Method | ->URL for Calling ITS Service from BSP page | 20020208 | |
| 3 | Static method | Public | Method | Convert Input String to Browser-Compatible HTML Display | 20010807 | |
| 4 | Static method | Public | Method | Output Text for User for User Interface Display | 20020419 | |
| 5 | Static method | Public | Method | Send E-Mail | 20020210 | |
| 6 | 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 | ET_CHARTAB | Value transfer | Type reference (TYPE) | TABLE | erzeugte Tabelle mit Zeichen | 20011213 | |||
| 2 | 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 | EV_URL | Value transfer | Type reference (TYPE) | STRING | URL der Seite | 20020208 | |||
| 2 | IV_CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Mandant | 20020208 | ||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | SYLANGU | SY-LANGU | Aktuelle Sprache | 20020208 | ||
| 4 | IV_PARAMETER_STRING | Call by reference | Type reference (TYPE) | STRING | Parameter in URL | 20020208 | |||
| 5 | IV_PROTOCOL | Call by reference | Type reference (TYPE) | WEB_PROTCL | 'http' | Protokoll für die Web-Verbindung des Web-GUIs | 20020208 | ||
| 6 | IV_SERVICENAME | Call by reference | Type reference (TYPE) | ITSAPPL | Service-Name | 20020208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20020208 |
Method ESCAPE_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_STR | Call by reference | Type reference (TYPE) | STRING | 20010807 | ||||
| 2 | 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 | EV_NAME_AS_TEXT | Value transfer | Type reference (TYPE) | STEXT | Benutzername | 20020419 | |||
| 2 | IV_OTYPE | Call by reference | Type reference (TYPE) | OTYPE | 'US' | Objekttyp | 20020419 | ||
| 3 | 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 | EV_ERROR_OCCURED | Call by reference | Type reference (TYPE) | CHAR1 | Fehler ist aufgetreten (->messages gefüllt) | 20020210 | |||
| 2 | IR_BSP_PAGE | Call by reference | Object reference (TYPE REF TO) | IF_BSP_PAGE | BSP-Seite -> Messagehandler | 20020210 | |||
| 3 | IV_DO_COMMIT_WORK | Call by reference | Type reference (TYPE) | CHAR1 | 'X' | Mailrequest sichern; (Mail wird im Batch versendet) | 20020210 | ||
| 4 | IV_HYPERLINK | Call by reference | Type reference (TYPE) | STRING | URL (->hinter Mailtext) | 20020210 | |||
| 5 | IV_MAILHEADER | Call by reference | Type reference (TYPE) | STRING | Betreff | 20020210 | |||
| 6 | IV_MAILTEXT | Call by reference | Type reference (TYPE) | STRING | Mitteilung | 20020210 | |||
| 7 | 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 | I_POS | Value transfer | Type reference (TYPE) | I | 20010807 | ||||
| 2 | I_POSTFIX | Value transfer | Type reference (TYPE) | CHAR3 | 20010807 | ||||
| 3 | I_STR | Call by reference | Type reference (TYPE) | STRING | 20010807 | ||||
| 4 | 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 |