on 12-18-2008 6:16 AM
Hi Experts,
I know there is a method in IF_WD_CONTEXT_NODE called TO_XML( ). And the method is so cool, which can export the data of the context to XML string easily.
But the question is how can I do the reverse operation?
For example, I export the data of root context node to XML string. And then how can I get the data back onto the context nodes?
Best Regards,
Guo Guo Qing
I worked it out myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello guoqing guo,
Just try this method from class CL_WDR_XML_CONVERT_UTIL.
IF_WD_CLIENT_CONVERSION_UTIL~STRING_TO_STRUCT
The converted data is bind back to the context node susing bind_table method from the IF_WD_CONTEXT_NODE.
Regards,
Bharath.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the following classes and interfaces -
CL_SALV_WD_XML_20
CL_WDR_XML_CONVERT_UTIL
IF_IXML_NODE* You can related interfaces for the XML.
Give them a try to read the XML string.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.