SAP ABAP Class CL_PCO_QUERY_XML_BUILDER (PCo Suite Integration: XML Builder for Query)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-PCO (Application Component) Plant Connectivity (Pco): ABAP part
⤷
S_PCO (Package) Plant Connectivity: Business Suite Integration (ABAP Part)
⤷
⤷
Properties
| Class | CL_PCO_QUERY_XML_BUILDER | |
| Short Description | PCo Suite Integration: XML Builder for Query | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_PCO | Plant Connectivity: Business Suite Integration (ABAP Part) |
| Created | 20100624 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_PCO_QUERY_XML_BUILDER has no forward declaration.
Interfaces
Class CL_PCO_QUERY_XML_BUILDER has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_PCO_QUERY | 20100723 | PCo: Superclass for PCo Queries |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | 'pco:mask' | Attribute for Search Template (DB Query) | 20100721 | ||
| 2 | Constant | Protected | Type reference (TYPE) | STRING | 'pco:version' | Version PCo Query Language | 20100626 | ||
| 3 | Constant | Protected | Type reference (TYPE) | STRING | 'pco:table' | Attribute for Database Table (DB Query) | 20100721 | ||
| 4 | Constant | Protected | Type reference (TYPE) | STRING | 'pco' | PCo Prefix | 20100626 | ||
| 5 | Constant | Protected | Type reference (TYPE) | STRING | 'uri:sap-pco-request' | URI for PCo Request | 20100626 | ||
| 6 | Constant | Protected | Type reference (TYPE) | STRING | 'xmlns:pco' | XML Namespace | 20100626 | ||
| 7 | Constant | Public | Type reference (TYPE) | S_PCO_REQUEST_TYPE | 'database' | Request Type Database Query | 20100630 | ||
| 8 | Constant | Public | Type reference (TYPE) | S_PCO_REQUEST_TYPE | 'features' | Request Type Features Query | 20100630 | ||
| 9 | Constant | Public | Type reference (TYPE) | S_PCO_REQUEST_TYPE | 'tag' | Request Type Tag Query | 20100630 | ||
| 10 | Constant | Public | Type reference (TYPE) | S_PCO_REQUEST_TYPE | 'text' | Request Type Text Query | 20100630 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'columns' | Element Tag Name for Table Columns (DB Query) | 20100721 | ||
| 12 | Constant | Protected | Type reference (TYPE) | STRING | 'database' | Element Tag Name for Database (DB Query) | 20100721 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'query' | Element Tag Name for Query (DB Query) | 20100721 | ||
| 14 | Constant | Protected | Type reference (TYPE) | STRING | 'request' | Element Tag Name for Request | 20100626 | ||
| 15 | Constant | Public | Type reference (TYPE) | STRING | 'tables' | Tables (DB Query) | 20100721 | ||
| 16 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_NODE | Current XML Element Object (iXML) | 20100626 | |||
| 17 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | XML Document Object (iXML) | 20100626 | |||
| 18 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | XML Element Object (iXML) | 20100626 | |||
| 19 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML | iXML Object (iXML) | 20100626 | |||
| 20 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_NODE | Parent Element Object (iXML) | 20100626 | |||
| 21 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Element Object for PCo DB Query (iXML) | 20100721 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | STRING | '1.0' | Version of PCo Query Language | 20100726 | ||
| 23 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Element Object for PCo Request (iXML) | 20100626 | |||
| 24 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Element Object for PCo Query Content (iXML) | 20100626 | |||
| 25 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IStream Factory Object (iXML) | 20100626 | |||
| 26 | Instance attribute | Protected | Type reference (TYPE) | STRING | Element/Attribute Value (iXML) | 20100626 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Generates XML File for Database Queries | 20100721 | |
| 2 | Instance method | Public | Method | Generates XML File for PCo Queries | 20100721 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20100626 | |
| 4 | Instance method | Protected | Method | Conversion of XML Object Contents into String/XString Format | 20100721 | |
| 5 | Instance method | Protected | Method | Generates Attribute for XML Element | 20100626 | |
| 6 | Instance method | Protected | Method | Generates Attribute for Database Queries | 20100721 | |
| 7 | Instance method | Protected | Method | Generates Content of a PCo Query Request | 20100721 | |
| 8 | Instance method | Protected | Method | Generates PCo Element | 20100721 | |
| 9 | Instance method | Protected | Method | Generates Header Data of an XML Document for PCo Query | 20100721 |
Events
Class CL_PCO_QUERY_XML_BUILDER has no event.
Types
Class CL_PCO_QUERY_XML_BUILDER has no local type.
Method Signatures
Method BUILD_DB_QUERY_XML_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML_STRING | Call by reference | Type reference (TYPE) | STRING | XML-Dokument als String | 20100721 | |||
| 2 | EV_XML_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | XML-Dokument als XString | 20100721 | |||
| 3 | IV_CHILD_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | Name des Kindelements | 20100721 | |||
| 4 | IV_DB_TAB_NAME | Call by reference | Type reference (TYPE) | S_PCO_DB_TAB_NAME | PCo: Name Datenbanktabelle | 20100721 | |||
| 5 | IV_QUERY_CONTENT | Call by reference | Type reference (TYPE) | STRING | Inhalt der Query | 20100721 | |||
| 6 | IV_SEARCH_MASK | Call by reference | Type reference (TYPE) | S_PCO_SEARCH_MASK | PCo: Maskierungshilfe bei Suche | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PCo Suite Integration: Ausnahmeklasse | 20100827 |
Method BUILD_QUERY_XML_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML_STRING | Call by reference | Type reference (TYPE) | STRING | XML-Dokument als String | 20100721 | |||
| 2 | EV_XML_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | XML-Dokument als XString | 20100721 | |||
| 3 | IV_PCO_QL_VERSION | Call by reference | Type reference (TYPE) | STRING | '1.0' | Version PCo Querysprache | 20100726 | ||
| 4 | IV_QUERY_CONTENT | Call by reference | Type reference (TYPE) | STRING | Inhalt der Query | 20100721 | |||
| 5 | IV_REQUEST_TYPE | Call by reference | Type reference (TYPE) | S_PCO_REQUEST_TYPE | Requesttyp (Tag, Text, Features) | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PCO_QL_VERSION | Call by reference | Type reference (TYPE) | S_PCO_QUERY_LANG_VERSION | '1.0' | Version PCo Querysprache | 20100726 |
Method CONSTRUCTOR on class CL_PCO_QUERY_XML_BUILDER has no exception.
Method CONVERT_XML_DOC_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_XML_STRING | Call by reference | Type reference (TYPE) | STRING | XML-Dokument als String | 20100721 | |||
| 2 | EV_XML_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | XML-Dokument als XString | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CREATE_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100626 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20100626 | |||
| 3 | IV_VALUE | Call by reference | Type reference (TYPE) | STRING | Attributswert | 20100626 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CREATE_DB_QUERY_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CHILD_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | Name des Kindelements | 20100721 | |||
| 2 | IV_DB_TAB_NAME | Call by reference | Type reference (TYPE) | S_PCO_DB_TAB_NAME | PCo: Name Datenbanktabelle | 20100721 | |||
| 3 | IV_QUERY_CONTENT | Call by reference | Type reference (TYPE) | STRING | Inhalt der Query | 20100721 | |||
| 4 | IV_SEARCH_MASK | Call by reference | Type reference (TYPE) | S_PCO_SEARCH_MASK | PCo: Maskierungshilfe bei Suche | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CREATE_PCO_QUERY_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_QUERY_CONTENT | Call by reference | Type reference (TYPE) | STRING | Inhalt der Query | 20100721 | |||
| 2 | IV_REQUEST_TYPE | Call by reference | Type reference (TYPE) | S_PCO_REQUEST_TYPE | Requesttyp (Tag, Text, Features) | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CREATE_PCO_REQUEST_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PCO_QL_VERSION | Call by reference | Type reference (TYPE) | STRING | '1.0' | Version PCo Querysprache | 20100726 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
Method CREATE_XML_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PCO_QL_VERSION | Call by reference | Type reference (TYPE) | STRING | '1.0' | Version PCo Querysprache | 20100726 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100827 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 703 |