cancel
Showing results for 
Search instead for 
Did you mean: 

How to Parse XML data directly from context variables in webdynpro

Former Member
0 Kudos

Hello,

I have two requirements:

1) I have a context variable which has string value.

I want to write the this value into a flat file.

How do I do this in WebDynpro.

Any sample code for this.

2) In Webdynpro, I want to parse and process the XML data directly from a string context variable which

has the value in XML format.

How do I achieve this. Any pointers or sample codes for this.

Thanks and Regards,

Anupama.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Anupama,

Here is some link which talks about unpacking xml and converting to HTML.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm</a>

I have done something like this in portal development and not in webdynpro.But in principle it should work very where.

Former Member
0 Kudos

There is nothing special in Web Dynpro for doing this, you do it like you would do it without Web Dynpro.

Armin