Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

display xml on a dynpro screen

michael_habermueller
Product and Topic Expert
Product and Topic Expert
0 Likes
500

Hello,

I have developed a service which generates some xml based on business data.

Now I want to develop a dynpro to test my programs.

the Dynpro should contain some input fields and a button "Generate".

This button calls my logic and the result should be displayed in

text area below.

What is the easiest way to do this ?

There is calls cl_gui_html_viewer, but I do not see how can I pass my xml to this control

Thank you very much for your help.

Michael

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
358

Take a look at [SAP HTML Viewer (BC-CI)|http://help.sap.com/saphelp_nw04/helpdata/en/c9/147a36c70d2354e10000009b38f839/frameset.htm]

Methods of interest for you

- [load_html_document|http://help.sap.com/saphelp_nw04/helpdata/en/18/d3e521a93111d2bd6e080009b4534c/frameset.htm] or [load_data|http://help.sap.com/saphelp_nw04/helpdata/en/18/d3e50ca93111d2bd6e080009b4534c/frameset.htm]

- [show_url|http://help.sap.com/saphelp_nw04/helpdata/en/18/d3e518a93111d2bd6e080009b4534c/frameset.htm]

Regards,

Raymond

PS: There is a sample in this sdn wiki [About CL_GUI_HTML_VIEWER|https://www.sdn.sap.com/irj/scn/wiki?path=/display/profile/2007/08/30/about+cl_gui_html_viewer&showcomments=true]