SAP ABAP Class CL_BSP_UTILITY (Business Server Pages (BSP) Utility Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BSP (Application Component) Business Server Pages
⤷
SBSP_RUNTIME (Package) Business Server Pages (BSP): Runtime Objects
⤷
⤷
Properties
| Class | CL_BSP_UTILITY | |
| Short Description | Business Server Pages (BSP) Utility Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SBSP_RUNTIME | Business Server Pages (BSP): Runtime Objects |
| Created | 20001130 | SAP |
| Last change | 20130531 | SAP |
| 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_BSP_UTILITY has no interface implemented.
Friends
Class CL_BSP_UTILITY has no friend class.
Attributes
Class CL_BSP_UTILITY has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Changes a URL to a Relative URL | 20011018 | |
| 2 | Static method | Public | Method | Creates a URL on the Public Path Without Redirect | 20020711 | |
| 3 | Static method | Public | Method | Creates a URL with URI Parameters | 20020918 | |
| 4 | Static method | Public | Method | Last Modified Header Field See RFC2068 3.3.1 | 20011010 | |
| 5 | Static method | Public | Method | Binary Object Download | 20020711 | |
| 6 | Static method | Public | Method | Endcode String | 20030228 | |
| 7 | Static method | Public | Method | Returns the BSP Application Signatures Used in a Page | 20010927 | |
| 8 | Static method | Public | Method | Fetches the URI Position (Default: 1) | 20020918 | |
| 9 | Static method | Public | Method | Fills the Data Object from the Specified Fields | 20010118 | |
| 10 | Static method | Public | Method | Fills the Data Object from the Specified Fields | 20020321 | |
| 11 | Static method | Public | Method | Creates a Formatting String | 20010816 | |
| 12 | Static method | Public | Method | Creates (Serialized) Fields from the Data Structure | 20010118 | |
| 13 | Static method | Public | Method | Sets the Header Fields for Browser Cache | 20020917 | |
| 14 | Static method | Public | Method | Receives Upload Data | 20030221 |
Events
Class CL_BSP_UTILITY has no event.
Types
Class CL_BSP_UTILITY has no local type.
Method Signatures
Method CHANGE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ORIGINAL_URL | Call by reference | Type reference (TYPE) | STRING | Ursprüngliche URL | 20011018 | |||
| 2 | RELATIVE_URL | Call by reference | Type reference (TYPE) | STRING | Relative URL | 20011018 | |||
| 3 | TARGET_URL | Value transfer | Type reference (TYPE) | STRING | Ergebnis-URL | 20011018 |
Method CHANGE_URL on class CL_BSP_UTILITY has no exception.
Method CREATE_PUBLIC_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPLICATION | Call by reference | Type reference (TYPE) | STRING | Applikationsname | 20020711 | |||
| 2 | PAGE | Call by reference | Type reference (TYPE) | STRING | Seitenname | 20020711 | |||
| 3 | URL | Value transfer | Type reference (TYPE) | STRING | erzeugte URL | 20020711 |
Method CREATE_PUBLIC_URL on class CL_BSP_UTILITY has no exception.
Method CREATE_REWRITE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IN_URI_STRING | Call by reference | Type reference (TYPE) | STRING | Alternativ zu tab: String mit URI-Parametern | 20020918 | |||
| 2 | IN_URI_TAB | Call by reference | Type reference (TYPE) | TIHTTPNVP | Tabelle mit URI-Parametern | 20020918 | |||
| 3 | IN_URL | Call by reference | Type reference (TYPE) | STRING | ursprüngliche URL | 20020918 | |||
| 4 | OUT_URL | Value transfer | Type reference (TYPE) | STRING | Ausgabe-URL | 20020918 |
Method CREATE_REWRITE_URL on class CL_BSP_UTILITY has no exception.
Method DATE_TO_STRING_HTTP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | Header Datumsstring | 20011010 | |||
| 2 | TIMESTAMP | Call by reference | Type reference (TYPE) | CHAR14 | Datum&Zeit der letzten Aenderung YYYYMMTTHHMMSS | 20011010 |
Method DATE_TO_STRING_HTTP on class CL_BSP_UTILITY has no exception.
Method DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT_DISPOSITION | Call by reference | Type reference (TYPE) | STRING | Content Disposition: z.B. 'attachment; file=test.pdf' | 20020711 | |||
| 2 | CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 'application/download' | Content Type; default bringt Popup | 20020711 | ||
| 3 | NAVIGATION | Call by reference | Object reference (TYPE REF TO) | IF_BSP_NAVIGATION | Business Server Page (BSP) Navigation | 20020711 | |||
| 4 | OBJECT_S | Call by reference | Type reference (TYPE) | XSTRING | Inhalt des Objektes als Xstring | 20020715 | |||
| 5 | OBJECT_T | Call by reference | Type reference (TYPE) | TABLE | Inhalt des Objektes als Tabelle | 20020715 | |||
| 6 | RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP Framework (iHTTP) HTTP Response | 20020711 |
Method DOWNLOAD on class CL_BSP_UTILITY has no exception.
Method ENCODE_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENCODING | Call by reference | Type reference (TYPE) | I | IF_BSP_WRITER=> CO_RAW | CO_URL | CO_HTML | CO_JAVASCRIPT | 20030228 | |||
| 2 | IN | Call by reference | Type reference (TYPE) | CSEQUENCE | $REF$ | 20030228 | |||
| 3 | OUT | Value transfer | Type reference (TYPE) | STRING | $REF$ | 20030228 |
Method ENCODE_STRING on class CL_BSP_UTILITY has no exception.
Method GET_TAGLIBS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE | Call by reference | Type reference (TYPE) | O2PAGELINE_TABLE | O2: Tabelle für OXygen-Page | 20010928 | |||
| 2 | TAGLIBS | Value transfer | Type reference (TYPE) | BSPTAGTAB | Tabelle der verwendeten Taglibs mit Prefix | 20010927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Parsen des Dokuments | 20010928 |
Method GET_URI_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | POSITION | Value transfer | Type reference (TYPE) | I | Uri-Position | 20020918 |
Method GET_URI_POSITION on class CL_BSP_UTILITY has no exception.
Method INSTANTIATE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | DATA | Zu füllendes Datenobjekt | 20010118 | |||
| 2 | DELTAS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Delta-Liste, falls angegeben | 20020311 | |||
| 3 | ERRORS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Error-Handler | 20010119 | |||
| 4 | FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | Liste von Feldern | 20010118 | |||
| 5 | NAME | Value transfer | Type reference (TYPE) | STRING | Name der Datenstruktur in den Feldern | 20010118 |
Method INSTANTIATE_DATA on class CL_BSP_UTILITY has no exception.
Method INSTANTIATE_SIMPLE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | DATA | Zu füllendes Datenobjekt | 20020321 | |||
| 2 | DELTAS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Delta-Liste, falls angegeben | 20020321 | |||
| 3 | ERRORS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Error-Handler | 20020321 | |||
| 4 | NAME | Value transfer | Type reference (TYPE) | STRING | Name der Datenstruktur in den Feldern | 20020321 | |||
| 5 | NO_CONVERSION_EXIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Konvertierungsexit ignorieren | 20030723 | |||
| 6 | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | Anzahl Nachkommastellen bei BCD-Daten | 20020503 | |||
| 7 | REFERENCE | Call by reference | Type reference (TYPE) | C | Referenz bei Währungsfeldern | 20020503 | |||
| 8 | USE_BSP_EXCEPTIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Exceptions abgeleitet von CX_BSP_EXCEPTION | 20030723 | |||
| 9 | VALUE | Call by reference | Type reference (TYPE) | STRING | Zuzuweisender Wert als String | 20020321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020322 |
Method MAKE_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | -1 | Anzahl Dezimalstellen | 20010816 | ||
| 2 | OUTPUT | Value transfer | Type reference (TYPE) | STRING | Ausgabestring | 20010816 | |||
| 3 | REFERENCE_TYPE | Call by reference | Type reference (TYPE) | C | 'C':Currency, 'Q': Quantity | 20020524 | |||
| 4 | REFERENCE_VALUE | Call by reference | Type reference (TYPE) | C | Referenz (z.B. die Währung) | 20010816 | |||
| 5 | VALUE | Call by reference | Type reference (TYPE) | ANY | Wert | 20010816 |
Method MAKE_STRING on class CL_BSP_UTILITY has no exception.
Method SERIALIZE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | Datenobjekt | 20010118 | |||
| 2 | FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | Serialisiertes Datenobjekt | 20010118 | |||
| 3 | NAME | Value transfer | Type reference (TYPE) | STRING | Name des Datenobjektes | 20010118 |
Method SERIALIZE_DATA on class CL_BSP_UTILITY has no exception.
Method SET_BROWSER_CACHE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_AGE | Call by reference | Type reference (TYPE) | I | 36000 | Anzahl Sekunden für Browser-Cache | 20020917 | ||
| 2 | SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20020917 |
Method SET_BROWSER_CACHE on class CL_BSP_UTILITY has no exception.
Method UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Value transfer | Type reference (TYPE) | XSTRING | Content | 20030221 | |||
| 2 | CONTENT_LENGTH | Call by reference | Type reference (TYPE) | I | Content Länge | 20030221 | |||
| 3 | CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type des Files | 20030221 | |||
| 4 | FILENAME | Call by reference | Type reference (TYPE) | STRING | Name des hochgeladenen Files | 20030221 | |||
| 5 | REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | $REF$ | 20030221 |
Method UPLOAD on class CL_BSP_UTILITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 610 |