Hierarchy
⤷
⤷
Properties
| Class | CL_POWLR_UTILITY | |
| Short Description | Remote POWL Utility Class | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | POWL_REMOTE | Remote Feeder Class Processing |
| Created | 20080204 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_POWLR_UTILITY has no forward declaration.
Interfaces
Class CL_POWLR_UTILITY has no interface implemented.
Friends
Class CL_POWLR_UTILITY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | 'RESULT' | 20080228 | |||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20080506 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20080506 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Builds the JSON string recursively | 20080228 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20080228 | |
| 3 | Static method | Public | Method | Creating Log in Case of Error | 20080325 | |
| 4 | Static method | Private | Method | Creates a xml document from a given xml string | 20080228 | |
| 5 | Static method | Public | Method | De-serializes the xml String | 20080204 | |
| 6 | Static method | Public | Method | Gets the data reference from the description | 20080228 | |
| 7 | Static method | Public | Method | Deserializes the XML data and fills it to the table | 20080228 | |
| 8 | Static method | Public | Method | Format messages reported in remote system | 20080430 | |
| 9 | Static method | Public | Method | Gets the additional runtime parameters | 20080313 | |
| 10 | Static method | Private | Method | Generate XML Schema for ABAP Data Types | 20080506 | |
| 11 | Static method | Private | Method | Recursively builds the type info | 20080228 | |
| 12 | Static method | Private | Method | Recursively builds RTTI | 20080228 | |
| 13 | Static method | Private | Method | Schema for Elementary ABAP Data Types | 20080506 | |
| 14 | Static method | Public | Method | Checks if two RTTIs are same | 20080307 | |
| 15 | Static method | Private | Method | Check: Elementary ABAP Data Type? | 20080506 | |
| 16 | Static method | Private | Method | Check: DDIC Data Type? | 20080506 | |
| 17 | Static method | Public | Method | Updates the data type definition for the sel criteria | 20080305 | |
| 18 | Static method | Private | Method | Renders the xml document as string | 20080228 | |
| 19 | Static method | Public | Method | Serializes the result as a JSON string | 20080228 | |
| 20 | Static method | Public | Method | Serialize the data Object as XML STRING | 20080228 | |
| 21 | Static method | Public | Method | Gets the data description | 20080228 | |
| 22 | Static method | Public | Method | Serialize the data type info as XSD schema | 20080312 | |
| 23 | Static method | Public | Method | Serilize the XML String | 20080213 | |
| 24 | Static method | Public | Method | Sets the additional runtime parameters | 20080313 | |
| 25 | Static method | Public | Method | Updates the remote action defintion | 20080305 |
Events
Class CL_POWLR_UTILITY has no event.
Types
Class CL_POWLR_UTILITY has no local type.
Method Signatures
Method BUILD_JSON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA | Call by reference | Type reference (TYPE) | DATA | 20080228 | ||||
| 2 | I_DATADESCR | Call by reference | Type reference (TYPE) | POWLR_DATA_DESC_TTY | Table of data description | 20080228 | |||
| 3 | I_INDEX | Call by reference | Type reference (TYPE) | I | 20080228 | ||||
| 4 | JSON_STRING | Value transfer | Type reference (TYPE) | STRING | JSON String | 20080228 |
Method BUILD_JSON on class CL_POWLR_UTILITY has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_POWLR_UTILITY has no parameter.
Method CONSTRUCTOR on class CL_POWLR_UTILITY has no exception.
Method CREATE_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSG_ID | Call by reference | Type reference (TYPE) | STRING | 20080325 | ||||
| 2 | MSG_NO | Call by reference | Type reference (TYPE) | STRING | 20080325 | ||||
| 3 | MSG_TYPE | Call by reference | Type reference (TYPE) | STRING | 20080325 |
Method CREATE_LOG on class CL_POWLR_UTILITY has no exception.
Method CREATE_XMLDOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20080228 | |||
| 2 | I_STRING | Call by reference | Type reference (TYPE) | STRING | 20080228 |
Method CREATE_XMLDOC on class CL_POWLR_UTILITY has no exception.
Method DESERIALIZE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_DATAREF | Call by reference | Object reference (TYPE REF TO) | DATA | 20080204 | ||||
| 2 | I_SCHEMA | Call by reference | Type reference (TYPE) | STRING | 20080204 | ||||
| 3 | I_XMLDATA | Call by reference | Type reference (TYPE) | STRING | 20080204 |
Method DESERIALIZE_XML on class CL_POWLR_UTILITY has no exception.
Method DESERIALIZE_XML2RTTI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_RTTI | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080228 | |||
| 2 | I_XMLSTRING | Call by reference | Type reference (TYPE) | STRING | Table of data description | 20080228 |
Method DESERIALIZE_XML2RTTI on class CL_POWLR_UTILITY has no exception.
Method DESERIALZIE_XML2DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_OBJECT | Call by reference | Type reference (TYPE) | DATA | 20080228 | ||||
| 2 | I_XMLSTRING | Call by reference | Type reference (TYPE) | STRING | 20080228 |
Method DESERIALZIE_XML2DATA on class CL_POWLR_UTILITY has no exception.
Method FORMAT_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_MESSAGES | Call by reference | Type reference (TYPE) | POWL_MSG_TTY | Message META description | 20080430 |
Method FORMAT_MESSAGES on class CL_POWLR_UTILITY has no exception.
Method GET_ADDITIONAL_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ADDITIONAL_PARAS | Value transfer | Type reference (TYPE) | POWL_NAMEVALUE_TTY | Name/Value set | 20080313 |
Method GET_ADDITIONAL_PARAMS on class CL_POWLR_UTILITY has no exception.
Method GET_DATA_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATATYPES | Call by reference | Type reference (TYPE) | LTYPES_TY | List of ABAP Types | 20080506 | |||
| 2 | XSDNSP | Call by reference | Type reference (TYPE) | STRING | Namespace ID for Schema | 20080506 | |||
| 3 | XSD_NODES | Value transfer | Type reference (TYPE) | DCXMLELEMS | List of Corresponding iXML Elements | 20080506 |
Method GET_DATA_SCHEMA on class CL_POWLR_UTILITY has no exception.
Method GET_DESC_REC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATADESCR | Value transfer | Type reference (TYPE) | POWLR_DATA_DESC_TTY | Table of data description | 20080228 | |||
| 2 | I_DATA_RTTI | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080228 | |||
| 3 | I_LEVEL | Call by reference | Type reference (TYPE) | INT2 | Current level of the component | 20080228 | |||
| 4 | I_NAME | Call by reference | Type reference (TYPE) | STRING | 20080228 |
Method GET_DESC_REC on class CL_POWLR_UTILITY has no exception.
Method GET_REFERENCE_REC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_RTTI | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080228 | |||
| 2 | I_DATADESCR | Call by reference | Type reference (TYPE) | POWLR_DATA_DESC_TTY | Table of data description | 20080228 | |||
| 3 | I_INDEX | Call by reference | Type reference (TYPE) | I | 20080228 |
Method GET_REFERENCE_REC on class CL_POWLR_UTILITY has no exception.
Method GET_XSD_FOR_ELEMENTARY_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEM_ABAP_TYPES | Call by reference | Type reference (TYPE) | LTYPES_TY | List of ABAP Elementary Types | 20080506 | |||
| 2 | IXML_ELEMENTS | Value transfer | Type reference (TYPE) | DCXMLELEMS | Return Elements | 20080506 | |||
| 3 | XSDNSP | Call by reference | Type reference (TYPE) | STRING | Namespace? | 20080506 |
Method GET_XSD_FOR_ELEMENTARY_TYPES on class CL_POWLR_UTILITY has no exception.
Method IS_COMPATIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMPATIBLE | Value transfer | Type reference (TYPE) | POWL_XFLAG_TY | X-Flag | 20080307 | |||
| 2 | RTTI_ONE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080307 | |||
| 3 | RTTI_TWO | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080307 |
Method IS_COMPATIBLE on class CL_POWLR_UTILITY has no exception.
Method IS_ELEMENTARY_ABAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20080506 | |||
| 2 | TYPE_TO_CHECK | Call by reference | Type reference (TYPE) | C | 20080506 |
Method IS_ELEMENTARY_ABAP on class CL_POWLR_UTILITY has no exception.
Method IS_IN_DDIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RC | Value transfer | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20080506 | |||
| 2 | TYPE_TO_CHECK | Call by reference | Type reference (TYPE) | C | 20080506 |
Method IS_IN_DDIC on class CL_POWLR_UTILITY has no exception.
Method NORMALIZE_SEL_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_IGNORE_TYPE_VALIDATION | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20090129 | |||
| 2 | RTTI_INFO | Call by reference | Type reference (TYPE) | POWLR_SELCRIT_FIELD_TTY | Remote POWL Selection critiria return value | 20080305 | |||
| 3 | SELCRIT_DEF | Call by reference | Type reference (TYPE) | POWL_SELCRIT_TTY | Selection criteria meta description | 20080305 |
Method NORMALIZE_SEL_CRITERIA on class CL_POWLR_UTILITY has no exception.
Method RENDER_XMLDOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20080228 | |||
| 2 | XMLSTRING | Value transfer | Type reference (TYPE) | STRING | Rendered xml string | 20080228 |
Method RENDER_XMLDOC on class CL_POWLR_UTILITY has no exception.
Method SERIALIZE_DATA2JSON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA | Call by reference | Type reference (TYPE) | DATA | 20080228 | ||||
| 2 | JSON_STRING | Value transfer | Type reference (TYPE) | STRING | JSON String | 20080228 |
Method SERIALIZE_DATA2JSON on class CL_POWLR_UTILITY has no exception.
Method SERIALIZE_DATA2XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA | Call by reference | Type reference (TYPE) | DATA | 20080228 | ||||
| 2 | XML_STRING | Value transfer | Type reference (TYPE) | STRING | 20080228 |
Method SERIALIZE_DATA2XML on class CL_POWLR_UTILITY has no exception.
Method SERIALIZE_RTTI2XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA | Call by reference | Type reference (TYPE) | DATA | 20080228 | ||||
| 2 | I_DATA_RTTI | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080228 | |||
| 3 | XMLSTRING | Value transfer | Type reference (TYPE) | STRING | 20080228 |
Method SERIALIZE_RTTI2XML on class CL_POWLR_UTILITY has no exception.
Method SERIALIZE_RTTI2XSD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DATA | Call by reference | Type reference (TYPE) | DATA | 20080312 | ||||
| 2 | I_DATA_RTTI | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Runtime Type Services | 20080312 | |||
| 3 | XMLSTRING | Value transfer | Type reference (TYPE) | STRING | 20080312 |
Method SERIALIZE_RTTI2XSD on class CL_POWLR_UTILITY has no exception.
Method SERIALIZE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_XML_STRING | Call by reference | Type reference (TYPE) | STRING | 20080213 | ||||
| 2 | I_DATA_OBJECT | Call by reference | Object reference (TYPE REF TO) | DATA | 20080213 |
Method SERIALIZE_XML on class CL_POWLR_UTILITY has no exception.
Method SET_ADDITIONAL_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ADDITIONAL_PARAS | Call by reference | Type reference (TYPE) | POWL_NAMEVALUE_TTY | Name/Value set | 20080313 |
Method SET_ADDITIONAL_PARAMS on class CL_POWLR_UTILITY has no exception.
Method UPDATE_ACTION_DEFINITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_ACTION_DEF | Call by reference | Type reference (TYPE) | POWL_ACTDESCR_TTY | action meta description | 20080305 | |||
| 2 | I_ACTION_LIST | Call by reference | Type reference (TYPE) | POWL_ACTDESCR_TTY | Actios which were validated against | 20080305 | |||
| 3 | I_SEL_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080305 | |||
| 4 | I_VAL_RESULT | Call by reference | Type reference (TYPE) | POWLR_VAL_ACTION_RESULT_TTY | Remote POWL Value Result | 20080305 |
Method UPDATE_ACTION_DEFINITION on class CL_POWLR_UTILITY has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 701 |