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
⤷ 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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | IF_BSP_WRITER | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
3 | IXML | 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 | CHANGE_URL | Static method | Public | Method | Changes a URL to a Relative URL | 20011018 |
2 | CREATE_PUBLIC_URL | Static method | Public | Method | Creates a URL on the Public Path Without Redirect | 20020711 |
3 | CREATE_REWRITE_URL | Static method | Public | Method | Creates a URL with URI Parameters | 20020918 |
4 | DATE_TO_STRING_HTTP | Static method | Public | Method | Last Modified Header Field See RFC2068 3.3.1 | 20011010 |
5 | DOWNLOAD | Static method | Public | Method | Binary Object Download | 20020711 |
6 | ENCODE_STRING | Static method | Public | Method | Endcode String | 20030228 |
7 | GET_TAGLIBS | Static method | Public | Method | Returns the BSP Application Signatures Used in a Page | 20010927 |
8 | GET_URI_POSITION | Static method | Public | Method | Fetches the URI Position (Default: 1) | 20020918 |
9 | INSTANTIATE_DATA | Static method | Public | Method | Fills the Data Object from the Specified Fields | 20010118 |
10 | INSTANTIATE_SIMPLE_DATA | Static method | Public | Method | Fills the Data Object from the Specified Fields | 20020321 |
11 | MAKE_STRING | Static method | Public | Method | Creates a Formatting String | 20010816 |
12 | SERIALIZE_DATA | Static method | Public | Method | Creates (Serialized) Fields from the Data Structure | 20010118 |
13 | SET_BROWSER_CACHE | Static method | Public | Method | Sets the Header Fields for Browser Cache | 20020917 |
14 | UPLOAD | 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 | Importing | ORIGINAL_URL | Call by reference | Type reference (TYPE) | STRING | Ursprüngliche URL | 20011018 | ||
2 | Importing | RELATIVE_URL | Call by reference | Type reference (TYPE) | STRING | Relative URL | 20011018 | ||
3 | Returning | 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 | Importing | APPLICATION | Call by reference | Type reference (TYPE) | STRING | Applikationsname | 20020711 | ||
2 | Importing | PAGE | Call by reference | Type reference (TYPE) | STRING | Seitenname | 20020711 | ||
3 | Returning | 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 | Importing | IN_URI_STRING | Call by reference | Type reference (TYPE) | STRING | Alternativ zu tab: String mit URI-Parametern | 20020918 | ||
2 | Importing | IN_URI_TAB | Call by reference | Type reference (TYPE) | TIHTTPNVP | Tabelle mit URI-Parametern | 20020918 | ||
3 | Importing | IN_URL | Call by reference | Type reference (TYPE) | STRING | ursprüngliche URL | 20020918 | ||
4 | Returning | 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 | Returning | RESULT | Value transfer | Type reference (TYPE) | STRING | Header Datumsstring | 20011010 | ||
2 | Importing | 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 | Importing | CONTENT_DISPOSITION | Call by reference | Type reference (TYPE) | STRING | Content Disposition: z.B. 'attachment; file=test.pdf' | 20020711 | ||
2 | Importing | CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | 'application/download' | Content Type; default bringt Popup | 20020711 | |
3 | Importing | NAVIGATION | Call by reference | Object reference (TYPE REF TO) | IF_BSP_NAVIGATION | Business Server Page (BSP) Navigation | 20020711 | ||
4 | Importing | OBJECT_S | Call by reference | Type reference (TYPE) | XSTRING | Inhalt des Objektes als Xstring | 20020715 | ||
5 | Importing | OBJECT_T | Call by reference | Type reference (TYPE) | TABLE | Inhalt des Objektes als Tabelle | 20020715 | ||
6 | Importing | 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 | Importing | ENCODING | Call by reference | Type reference (TYPE) | I | IF_BSP_WRITER=> CO_RAW | CO_URL | CO_HTML | CO_JAVASCRIPT | 20030228 | ||
2 | Importing | IN | Call by reference | Type reference (TYPE) | CSEQUENCE | $REF$ | 20030228 | ||
3 | Returning | 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 | Importing | SOURCE | Call by reference | Type reference (TYPE) | O2PAGELINE_TABLE | O2: Tabelle für OXygen-Page | 20010928 | ||
2 | Returning | TAGLIBS | Value transfer | Type reference (TYPE) | BSPTAGTAB | Tabelle der verwendeten Taglibs mit Prefix | 20010927 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | PARSE_ERROR | 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 | Returning | 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 | Changing | DATA | Call by reference | Type reference (TYPE) | DATA | Zu füllendes Datenobjekt | 20010118 | ||
2 | Importing | DELTAS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Delta-Liste, falls angegeben | 20020311 | ||
3 | Importing | ERRORS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Error-Handler | 20010119 | ||
4 | Importing | FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | Liste von Feldern | 20010118 | ||
5 | Importing | 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 | Changing | DATA | Call by reference | Type reference (TYPE) | DATA | Zu füllendes Datenobjekt | 20020321 | ||
2 | Importing | DELTAS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Delta-Liste, falls angegeben | 20020321 | ||
3 | Importing | ERRORS | Call by reference | Object reference (TYPE REF TO) | CL_BSP_MESSAGES | Error-Handler | 20020321 | ||
4 | Importing | NAME | Value transfer | Type reference (TYPE) | STRING | Name der Datenstruktur in den Feldern | 20020321 | ||
5 | Importing | NO_CONVERSION_EXIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Konvertierungsexit ignorieren | 20030723 | ||
6 | Importing | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | Anzahl Nachkommastellen bei BCD-Daten | 20020503 | ||
7 | Importing | REFERENCE | Call by reference | Type reference (TYPE) | C | Referenz bei Währungsfeldern | 20020503 | ||
8 | Importing | USE_BSP_EXCEPTIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Exceptions abgeleitet von CX_BSP_EXCEPTION | 20030723 | ||
9 | Importing | VALUE | Call by reference | Type reference (TYPE) | STRING | Zuzuweisender Wert als String | 20020321 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_CONVERSION_ERROR | System-Exception bei Konvertierungsfehlern | 20020322 |
Method MAKE_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | NUM_DECIMALS | Call by reference | Type reference (TYPE) | I | -1 | Anzahl Dezimalstellen | 20010816 | |
2 | Returning | OUTPUT | Value transfer | Type reference (TYPE) | STRING | Ausgabestring | 20010816 | ||
3 | Importing | REFERENCE_TYPE | Call by reference | Type reference (TYPE) | C | 'C':Currency, 'Q': Quantity | 20020524 | ||
4 | Importing | REFERENCE_VALUE | Call by reference | Type reference (TYPE) | C | Referenz (z.B. die Währung) | 20010816 | ||
5 | Importing | 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 | Importing | DATA | Call by reference | Type reference (TYPE) | ANY | Datenobjekt | 20010118 | ||
2 | Changing | FIELDS | Call by reference | Type reference (TYPE) | TIHTTPNVP | Serialisiertes Datenobjekt | 20010118 | ||
3 | Importing | 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 | Importing | MAX_AGE | Call by reference | Type reference (TYPE) | I | 36000 | Anzahl Sekunden für Browser-Cache | 20020917 | |
2 | Importing | 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 | Exporting | CONTENT | Value transfer | Type reference (TYPE) | XSTRING | Content | 20030221 | ||
2 | Exporting | CONTENT_LENGTH | Call by reference | Type reference (TYPE) | I | Content Länge | 20030221 | ||
3 | Exporting | CONTENT_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type des Files | 20030221 | ||
4 | Exporting | FILENAME | Call by reference | Type reference (TYPE) | STRING | Name des hochgeladenen Files | 20030221 | ||
5 | Importing | 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 |