SAP ABAP Class CL_O2_CO2_JAVASCRIPT (OXYGEN JavaScript Script Compiler)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BSP (Application Component) Business Server Pages
⤷
SBSP_DEVTIME (Package) Business Server Pages (BSP): Development Environment Objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_O2_CO2_COMPILER | Basis Class OXYGEN Page Compiler | 20000516 |
Properties
| Class | CL_O2_CO2_JAVASCRIPT | |
| Short Description | OXYGEN JavaScript Script Compiler | |
| Super Class | CL_O2_CO2_COMPILER | Basis Class OXYGEN Page Compiler |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SBSP_DEVTIME | Business Server Pages (BSP): Development Environment Objects |
| Created | 20000516 | SAP |
| Last change | 20000516 | 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_O2_CO2_JAVASCRIPT has no interface implemented.
Friends
Class CL_O2_CO2_JAVASCRIPT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | I | Page Key of Input Page | 20000929 | |||
| 2 | Constant | Private | See coding | 'X' | Value for "TRUE" in Flags | 20000525 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | STRING | Comment String "System" | 20000929 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | STRING | Comment String "User" | 20000929 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | STRING | Last Commentary String | 20000930 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | Sequential Page Key | 20000929 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 0 | Sequential Line Number during Script Generation | 20000927 | ||
| 8 | Instance attribute | Private | Type reference (TYPE) | STRING | Name of the variable that contains the OTR array | 20010727 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | UID of the current OTR text | 20010727 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | Name of the variable that specifies the no. of OTR elements | 20020115 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CHAR1 | SPACE | Flag: SY-LANGU | 20000926 | ||
| 12 | Constant | Private | Type reference (TYPE) | I | 48 | JS parameter value "HTML Encoding" | 20000823 | ||
| 13 | Static Attribute | Private | Type reference (TYPE) | STRING | PM Name | 20000823 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | 0 | Counter for numbers of JS auxiliary variable labels | 20000518 | ||
| 15 | Constant | Private | Type reference (TYPE) | I | 32 | JS parameter value "No Encoding" | 20000823 | ||
| 16 | Constant | Private | Type reference (TYPE) | I | 40 | JS parameter value "URL Encoding" | 20000823 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add ABAP Source Text Line to Text Table | 20000518 | |
| 2 | Static method | Public | Constructor | Class Constructor | 20000921 | |
| 3 | Instance method | Private | Method | Assess DSTRING and store in a specified variable | 20000824 | |
| 4 | Instance method | Private | Method | Creates a new JS variable label | 20000518 | |
| 5 | Instance method | Private | Method | Add new entry to MAP table | 20000929 | |
| 6 | Instance method | Private | Method | Code creation for OTR texts | 20000926 | |
| 7 | Instance method | Private | Method | Set current commentary entry | 20000930 |
Events
Class CL_O2_CO2_JAVASCRIPT has no event.
Types
Class CL_O2_CO2_JAVASCRIPT has no local type.
Method Signatures
Method ADDLINETOSRC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSERTATLINE | Call by reference | Type reference (TYPE) | I | 0 | Einfügestelle | 20000525 | ||
| 2 | LINE | Call by reference | Type reference (TYPE) | STRING | ABAP-Quelltextzeile | 20000518 | |||
| 3 | SOURCETAB | Call by reference | Type reference (TYPE) | CO2_STRING_TB | Quelltext-Tabelle | 20000518 |
Method ADDLINETOSRC on class CL_O2_CO2_JAVASCRIPT has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_O2_CO2_JAVASCRIPT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_O2_CO2_JAVASCRIPT has no exception.
Method DSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESTVAR | Call by reference | Type reference (TYPE) | STRING | Name der Variablen, die den DSTRING aufnimmt | 20000824 | |||
| 2 | DSTRING | Call by reference | Type reference (TYPE) | DOM_DSTR_TB | Tabelle mit den Bestandteilen des DSTRINGs | 20000824 | |||
| 3 | RESULT | Call by reference | Type reference (TYPE) | OXYGEN_RVL | Ergebnisstruktur | 20000926 |
Method DSTRING on class CL_O2_CO2_JAVASCRIPT has no exception.
Method NEWJAVASCRIPTVAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VAR | Call by reference | Type reference (TYPE) | STRING | Neuer Variablenname | 20000518 |
Method NEWJAVASCRIPTVAR on class CL_O2_CO2_JAVASCRIPT has no exception.
Method NEWMAPENTRY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COLUMN | Call by reference | Type reference (TYPE) | DOM_ATTR-OFFLINE | Spaltennummer | 20001003 | |||
| 2 | MAP | Call by reference | Type reference (TYPE) | CO2_MAP_TB | Mapping-Tabelle | 20000929 | |||
| 3 | PAGEOFFSET | Call by reference | Type reference (TYPE) | I | Relative Position in der ASP-Seite | 20000929 | |||
| 4 | ROW | Call by reference | Type reference (TYPE) | I | Zeilennummer relativ zum Seitenbeginn | 20001003 |
Method NEWMAPENTRY on class CL_O2_CO2_JAVASCRIPT has no exception.
Method OTRTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTR | Call by reference | Type reference (TYPE) | DOM_ATTR | Attribut-Menge | 20000926 | |||
| 2 | FOUND | Value transfer | Type reference (TYPE) | BOOLEAN | Flag: OTR-Attrbut gefunden | 20000926 | |||
| 3 | RESULT | Call by reference | Type reference (TYPE) | OXYGEN_RVL | Ergebnisstruktur | 20000926 | |||
| 4 | VARIABLE | Value transfer | Type reference (TYPE) | STRING | Name der JS Variablen, die den OTR-Text enthält | 20000926 |
Method OTRTEXT on class CL_O2_CO2_JAVASCRIPT has no exception.
Method SETCOMMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEWCOMMENT | Value transfer | Type reference (TYPE) | STRING | Tatsächlich abzusetzender Kommentarstring | 20000930 | |||
| 2 | NEXTCOMMENT | Call by reference | Type reference (TYPE) | STRING | Nächster abzusetzender Kommentarstring | 20000930 |
Method SETCOMMENT on class CL_O2_CO2_JAVASCRIPT has no exception.
History
| Last changed by/on | SAP | 20000516 |
| SAP Release Created in | 50A |