SAP ABAP Class CL_XTC_COMPILER (XTC compiler (exclusively for use by workbench))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-XML (Application Component) ABAP XML Processing
⤷
SXSLT_COMP (Package) XTC Compiler
⤷
⤷
Properties
| Class | CL_XTC_COMPILER | |
| Short Description | XTC compiler (exclusively for use by workbench) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SXSLT_COMP | XTC Compiler |
| Created | 20001215 | 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) |
Interfaces
Class CL_XTC_COMPILER has no interface implemented.
Friends
Class CL_XTC_COMPILER 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) | %_C_POINTER | pointer to kernel mirror object | 20001215 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | check XSLT source from XML input stream | 20001215 | |
| 2 | Instance method | Public | Method | check XSLT source, return header information | 20030818 | |
| 3 | Instance method | Public | Constructor | constructor | 20001215 | |
| 4 | Instance method | Public | Destructor | destructor (internal, not at end of mode) | 20001215 | |
| 5 | Instance method | Public | Method | generate XSLT load to DB | 20001215 | |
| 6 | Instance method | Public | Method | get program-block information | 20011016 | |
| 7 | Instance method | Public | Method | get program signature (after check/generate) | 20010207 | |
| 8 | Instance method | Public | Method | get message by index | 20001215 | |
| 9 | Instance method | Public | Method | get number of messages from last check/generate | 20001215 | |
| 10 | Instance method | Public | Method | symbolic compile | 20030814 | |
| 11 | Instance method | Public | Method | test validity of breakpoint position | 20010806 |
Events
Class CL_XTC_COMPILER has no event.
Types
Class CL_XTC_COMPILER has no local type.
Method Signatures
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | Programmname | 20001221 | |||
| 2 | RVAL | Value transfer | Type reference (TYPE) | I | Rückgabewert | 20001215 | |||
| 3 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | Programmquelle | 20001221 | |||
| 4 | TEXT_IDS | Call by reference | Type reference (TYPE) | SXSLTTXTIDS | text IDs | 20011012 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method CHECK_WITH_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHG_HEADER | Call by reference | Type reference (TYPE) | C | change header | 20030818 | |||
| 2 | NEW_HEADER | Call by reference | Type reference (TYPE) | STRING | new header | 20030818 | |||
| 3 | OLD_HEADERCHARS | Call by reference | Type reference (TYPE) | I | old header characters | 20030818 | |||
| 4 | OLD_HEADERLINES | Call by reference | Type reference (TYPE) | I | old header lines | 20030818 | |||
| 5 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | program name | 20030818 | |||
| 6 | RVAL | Value transfer | Type reference (TYPE) | I | return value | 20030818 | |||
| 7 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | program source | 20030818 | |||
| 8 | TEXT_IDS | Call by reference | Type reference (TYPE) | SXSLTTXTIDS | text IDs | 20030818 |
Method CHECK_WITH_HEADER on class CL_XTC_COMPILER has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_XTC_COMPILER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | XSLT-Ausnahme | 20001221 |
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_XTC_COMPILER has no parameter.
Method DESTRUCTOR on class CL_XTC_COMPILER has no exception.
Method GENERATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PREVIOUS | Value transfer | Type reference (TYPE) | CHAR1 | ' ' | Ladung aus voriger Prüfung verwenden | 20001215 | ||
| 2 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | Programmname | 20001215 | |||
| 3 | RVAL | Value transfer | Type reference (TYPE) | I | Rückgabewert | 20001215 | |||
| 4 | TEXT_IDS | Call by reference | Type reference (TYPE) | SXSLTTXTIDS | text IDs | 20011012 |
Method GENERATE on class CL_XTC_COMPILER has no exception.
Method GET_BLOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BLOCK | Call by reference | Type reference (TYPE) | SXSLTBNAME | block name | 20011016 | |||
| 2 | BLOCKTYPE | Call by reference | Type reference (TYPE) | SXSLTBTYPE | block type | 20011016 | |||
| 3 | INDEX | Call by reference | Type reference (TYPE) | I | block index (>=0) | 20011016 | |||
| 4 | LINE | Call by reference | Type reference (TYPE) | I | start line of block | 20011016 | |||
| 5 | MAINPROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | '' | main program name (if not current) | 20011016 | ||
| 6 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | name of program containing block | 20011016 | |||
| 7 | RVAL | Value transfer | Type reference (TYPE) | I | return value | 20011016 | |||
| 8 | VARIABLES | Call by reference | Type reference (TYPE) | I | number of variables in block | 20011016 |
Method GET_BLOCK on class CL_XTC_COMPILER has no exception.
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NUM_OBJPARDECLS | Value transfer | Type reference (TYPE) | I | Anzahl Deklarationen externer Objekte | 20010208 | |||
| 2 | NUM_PARDECLS | Value transfer | Type reference (TYPE) | I | Anzahl Deklarationen globaler Parameter | 20010208 | |||
| 3 | OBJPARDECLS | Call by reference | Type reference (TYPE) | SXSLTOPARDS | Parameterdeklarationen externer Objekte | 20010208 | |||
| 4 | PARDECLS | Call by reference | Type reference (TYPE) | SXSLTPARDS | Deklarationen globaler Parameter | 20010208 |
Method GET_INFO on class CL_XTC_COMPILER has no exception.
Method GET_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDEX | Call by reference | Type reference (TYPE) | I | Nachrichtenindex | 20001215 | |||
| 2 | MCODE | Call by reference | Type reference (TYPE) | I | Nachrichtencode | 20001215 | |||
| 3 | MLINE | Call by reference | Type reference (TYPE) | I | Quellzeile | 20001219 | |||
| 4 | MPROG | Call by reference | Type reference (TYPE) | STRING | Quellenname | 20010927 | |||
| 5 | MTEXT | Call by reference | Type reference (TYPE) | STRING | Nachrichtentext | 20001215 | |||
| 6 | MTYPE | Call by reference | Type reference (TYPE) | I | Nachrichtentyp | 20001215 |
Method GET_MESSAGE on class CL_XTC_COMPILER has no exception.
Method NUM_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Type reference (TYPE) | I | Anzahl Nachrichten | 20001215 |
Method NUM_MESSAGES on class CL_XTC_COMPILER has no exception.
Method SYMBCOMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | result document | 20030814 | |||
| 2 | MODE | Value transfer | Type reference (TYPE) | C | ' ' | mode | 20030825 | ||
| 3 | RVAL | Call by reference | Type reference (TYPE) | I | return value | 20030814 | |||
| 4 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | source stream | 20030814 |
Method SYMBCOMP on class CL_XTC_COMPILER has no exception.
Method TEST_BREAKPOINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BLOCK | Call by reference | Type reference (TYPE) | SXSLTBNAME | '' | Blockname | 20010806 | ||
| 2 | BLOCKTYPE | Call by reference | Type reference (TYPE) | SXSLTBTYPE | 0 | Blocktyp (0 bei Zeilen-Breakpoint) | 20010806 | ||
| 3 | LINE | Call by reference | Type reference (TYPE) | I | 0 | Quellzeile (0 bei Block-Breakpoint) | 20010806 | ||
| 4 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | Programmname | 20010806 | |||
| 5 | RVAL | Value transfer | Type reference (TYPE) | I | Rückgabewert | 20010806 |
Method TEST_BREAKPOINT on class CL_XTC_COMPILER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 610 |