SAP ABAP Class CL_IDOC_XML1 (IDocs in XML Format)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-ALE (Application Component) ALE Integration Technology
⤷
SXML1 (Package) Services for IDoc/XML Processing
⤷
⤷
Properties
| Class | CL_IDOC_XML1 | |
| Short Description | IDocs in XML Format | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SXML1 | Services for IDoc/XML Processing |
| Created | 19990721 | SAP |
| Last change | 20090618 | 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_IDOC_XML1 has no interface implemented.
Friends
Class CL_IDOC_XML1 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) | EDIDC | Control Record | 19991027 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | STRING | IDoc as String in XML Format | 19990721 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 19990721 | |
| 2 | Instance method | Public | Method | Creates New Transformation and Generates New View | 20011031 | |
| 3 | Instance method | Public | Method | Generates a View of the IDoc | 19990721 | |
| 4 | Instance method | Private | Method | Checks the Authorization of the User | 19991111 | |
| 5 | Instance method | Public | Method | IDoc Control Record | 19991027 | |
| 6 | Instance method | Public | Method | IDoc in XML Format in String of Type C | 20000410 | |
| 7 | Instance method | Public | Method | IDoc in XML Format in Table of Type C | 20000411 | |
| 8 | Instance method | Public | Method | IDoc in XML Format in String of Type X | 20000411 | |
| 9 | Instance method | Public | Method | IDoc in XML Format in Table of Type X | 20000411 |
Events
Class CL_IDOC_XML1 has no event.
Types
Class CL_IDOC_XML1 has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCNUM | Call by reference | Type reference (TYPE) | EDI_DOCNUM | IDocnummer | 19990721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Aufbau des XML-Formats | 19991216 | ||
| 2 | Fehler beim Lesen des IDocs von der Datenbank | 19991117 |
Method CREATE_TRANSFORM_NEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IDOC | Call by reference | Object reference (TYPE REF TO) | CL_IDOC_XML1 | IDocs in XML-Format | 20011031 | |||
| 2 | PROGRAM | Call by reference | Type reference (TYPE) | CXSLTDESC | Name eines XSLT-Programms | 20011031 | |||
| 3 | STYLE_ID | Call by reference | Type reference (TYPE) | EDI_STYLE | Style-ID | 20011031 |
Method CREATE_TRANSFORM_NEW on class CL_IDOC_XML1 has no exception.
Method CREATE_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARENT | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Parent Container der Sicht | 19990721 | |||
| 2 | VIEW | Value transfer | Object reference (TYPE REF TO) | CL_IDOC_XML1_VIEW | Instanz der erzeugten Sicht | 19990721 | |||
| 3 | XSLID | Call by reference | Type reference (TYPE) | EDI_STYLE | ID des Stylesheets | 19990721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler beim Erzeugen der Anzeige | 19991116 | ||
| 2 | keine Berechtigung zur Anzeige des IDocs | 19991111 |
Method DO_AUTHORITY_CHECK Signature
Method DO_AUTHORITY_CHECK on class CL_IDOC_XML1 has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | keine Berechtigung zur Anzeige des IDocs | 19991111 |
Method GET_CONTROLRECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTROLRECORD | Value transfer | Type reference (TYPE) | EDIDC | Kontrollsatz des IDocs | 19991027 |
Method GET_CONTROLRECORD on class CL_IDOC_XML1 has no exception.
Method GET_XMLDATA_AS_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_STRING | Call by reference | Type reference (TYPE) | STRING | IDoc in XML-Format | 20000410 | |||
| 2 | LEN | Call by reference | Type reference (TYPE) | I | Länge des Strings | 20000411 |
Method GET_XMLDATA_AS_STRING on class CL_IDOC_XML1 has no exception.
Method GET_XMLDATA_AS_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_TABLE | Call by reference | Type reference (TYPE) | TAB_CHAR512 | IDoc in XML-Format | 20000411 | |||
| 2 | LEN | Call by reference | Type reference (TYPE) | I | Länge der Tabelle | 20000411 |
Method GET_XMLDATA_AS_TABLE on class CL_IDOC_XML1 has no exception.
Method GET_XMLDATA_AS_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_STRING | Call by reference | Type reference (TYPE) | XSTRING | IDoc in XML-Format | 20000411 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Eingabezeichenformat | 20000411 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Eingabebytereihenfolge | 20000411 | |||
| 4 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000411 | ||
| 5 | LEN | Call by reference | Type reference (TYPE) | I | Länge des Strings | 20000411 | |||
| 6 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersetzungszeichen/-string für Zeichensatzkonvertierung | 20000411 |
Method GET_XMLDATA_AS_XSTRING on class CL_IDOC_XML1 has no exception.
Method GET_XMLDATA_AS_XTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_TABLE | Call by reference | Type reference (TYPE) | TAB_RAW512 | IDoc in XML-Format | 20000411 | |||
| 2 | ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | Eingabezeichenformat | 20000411 | ||
| 3 | ENDIAN | Call by reference | Type reference (TYPE) | ABAP_ENDIAN | Eingabebytereihenfolge | 20000411 | |||
| 4 | IGNORE_CERR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag: Ignoriere Fehler bei Zeichensatzkonvertierung | 20000411 | ||
| 5 | LEN | Call by reference | Type reference (TYPE) | I | Länge der Tabelle | 20000411 | |||
| 6 | REPLACEMENT | Call by reference | Type reference (TYPE) | ABAP_REPL | '#' | Ersetzungszeichen/-string für Zeichensatzkonvertierung | 20000411 |
Method GET_XMLDATA_AS_XTABLE on class CL_IDOC_XML1 has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in |