SAP ABAP Class CL_POWLR_UTILITY (Remote POWL Utility Class)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MUS-POW (Application Component) Personal Object Worklist
     POWL_REMOTE (Package) Remote Feeder Class Processing
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 C_POWLR_ROOT Constant Private Type reference (TYPE) STRING 'RESULT' 20080228
2 G_DOCUMENT Static Attribute Private Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20080506
3 G_IXML Static Attribute Private Object reference (TYPE REF TO) IF_IXML IF_IXML 20080506
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_JSON Static method Private Method Builds the JSON string recursively 20080228
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080228
3 CREATE_LOG Static method Public Method Creating Log in Case of Error 20080325
4 CREATE_XMLDOC Static method Private Method Creates a xml document from a given xml string 20080228
5 DESERIALIZE_XML Static method Public Method De-serializes the xml String 20080204
6 DESERIALIZE_XML2RTTI Static method Public Method Gets the data reference from the description 20080228
7 DESERIALZIE_XML2DATA Static method Public Method Deserializes the XML data and fills it to the table 20080228
8 FORMAT_MESSAGES Static method Public Method Format messages reported in remote system 20080430
9 GET_ADDITIONAL_PARAMS Static method Public Method Gets the additional runtime parameters 20080313
10 GET_DATA_SCHEMA Static method Private Method Generate XML Schema for ABAP Data Types 20080506
11 GET_DESC_REC Static method Private Method Recursively builds the type info 20080228
12 GET_REFERENCE_REC Static method Private Method Recursively builds RTTI 20080228
13 GET_XSD_FOR_ELEMENTARY_TYPES Static method Private Method Schema for Elementary ABAP Data Types 20080506
14 IS_COMPATIBLE Static method Public Method Checks if two RTTIs are same 20080307
15 IS_ELEMENTARY_ABAP Static method Private Method Check: Elementary ABAP Data Type? 20080506
16 IS_IN_DDIC Static method Private Method Check: DDIC Data Type? 20080506
17 NORMALIZE_SEL_CRITERIA Static method Public Method Updates the data type definition for the sel criteria 20080305
18 RENDER_XMLDOC Static method Private Method Renders the xml document as string 20080228
19 SERIALIZE_DATA2JSON Static method Public Method Serializes the result as a JSON string 20080228
20 SERIALIZE_DATA2XML Static method Public Method Serialize the data Object as XML STRING 20080228
21 SERIALIZE_RTTI2XML Static method Public Method Gets the data description 20080228
22 SERIALIZE_RTTI2XSD Static method Public Method Serialize the data type info as XSD schema 20080312
23 SERIALIZE_XML Static method Public Method Serilize the XML String 20080213
24 SET_ADDITIONAL_PARAMS Static method Public Method Sets the additional runtime parameters 20080313
25 UPDATE_ACTION_DEFINITION 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 Importing I_DATA Call by reference Type reference (TYPE) DATA 20080228
2 Importing I_DATADESCR Call by reference Type reference (TYPE) POWLR_DATA_DESC_TTY Table of data description 20080228
3 Importing I_INDEX Call by reference Type reference (TYPE) I 20080228
4 Returning 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 Importing MSG_ID Call by reference Type reference (TYPE) STRING 20080325
2 Importing MSG_NO Call by reference Type reference (TYPE) STRING 20080325
3 Importing 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 Returning DOCUMENT Value transfer Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20080228
2 Importing 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 Exporting E_DATAREF Call by reference Object reference (TYPE REF TO) DATA 20080204
2 Importing I_SCHEMA Call by reference Type reference (TYPE) STRING 20080204
3 Importing 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 Returning DATA_RTTI Value transfer Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080228
2 Importing 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 Exporting DATA_OBJECT Call by reference Type reference (TYPE) DATA 20080228
2 Importing 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 Changing 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 Returning 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 Importing DATATYPES Call by reference Type reference (TYPE) LTYPES_TY List of ABAP Types 20080506
2 Importing XSDNSP Call by reference Type reference (TYPE) STRING Namespace ID for Schema 20080506
3 Returning 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 Returning DATADESCR Value transfer Type reference (TYPE) POWLR_DATA_DESC_TTY Table of data description 20080228
2 Importing I_DATA_RTTI Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080228
3 Importing I_LEVEL Call by reference Type reference (TYPE) INT2 Current level of the component 20080228
4 Importing 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 Returning DATA_RTTI Value transfer Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080228
2 Importing I_DATADESCR Call by reference Type reference (TYPE) POWLR_DATA_DESC_TTY Table of data description 20080228
3 Importing 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 Importing ELEM_ABAP_TYPES Call by reference Type reference (TYPE) LTYPES_TY List of ABAP Elementary Types 20080506
2 Returning IXML_ELEMENTS Value transfer Type reference (TYPE) DCXMLELEMS Return Elements 20080506
3 Importing 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 Returning IS_COMPATIBLE Value transfer Type reference (TYPE) POWL_XFLAG_TY X-Flag 20080307
2 Importing RTTI_ONE Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080307
3 Importing 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 Returning RC Value transfer Type reference (TYPE) CHAR1 Single-Character Flag 20080506
2 Importing 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 Returning RC Value transfer Type reference (TYPE) CHAR1 Single-Character Flag 20080506
2 Importing 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 Importing I_IGNORE_TYPE_VALIDATION Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20090129
2 Importing RTTI_INFO Call by reference Type reference (TYPE) POWLR_SELCRIT_FIELD_TTY Remote POWL Selection critiria return value 20080305
3 Changing 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 Importing I_ELEMENT Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20080228
2 Returning 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 Importing I_DATA Call by reference Type reference (TYPE) DATA 20080228
2 Returning 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 Importing I_DATA Call by reference Type reference (TYPE) DATA 20080228
2 Returning 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 Importing I_DATA Call by reference Type reference (TYPE) DATA 20080228
2 Importing I_DATA_RTTI Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080228
3 Returning 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 Importing I_DATA Call by reference Type reference (TYPE) DATA 20080312
2 Importing I_DATA_RTTI Call by reference Object reference (TYPE REF TO) CL_ABAP_TYPEDESCR Runtime Type Services 20080312
3 Returning 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 Exporting E_XML_STRING Call by reference Type reference (TYPE) STRING 20080213
2 Importing 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 Importing 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 Changing C_ACTION_DEF Call by reference Type reference (TYPE) POWL_ACTDESCR_TTY action meta description 20080305
2 Importing I_ACTION_LIST Call by reference Type reference (TYPE) POWL_ACTDESCR_TTY Actios which were validated against 20080305
3 Importing I_SEL_INDEX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20080305
4 Importing 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