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

ABAP with HTML and CSS

AJeB
Participant
0 Likes
4,051

Hi guys I create an internal table of scarr table and put it in a string_table
something like this


and concat it in a variable
lv_html_scarr = lv_html_scarr && '<tr><td>' && concat_lines_of( table = lt_field sep = '</td><td>' ) && '</td></tr>'.
the value of lv_html_scarr is this

<table border = "1"><tr><td>100</td><td>AA</td><td>American Airlines</td><td>USD</td><td>http://www.aa.com</td></tr></table>
my question is
How to test this and see the result?. I want to try this in email but I don't have access and
additional question can i use CSS here?


1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
3,652

You can display HTML via the embedded browser of SAP GUI, via the class CL_GUI_HTML_VIEWER. There are several programs demonstrating this class, including CL_ABAP_BROWSER=>SHOW_HTML.

2 REPLIES 2
Read only

abo
Active Contributor
3,652

Check out DEMO_HTML_BROWSER

Read only

Sandra_Rossi
Active Contributor
3,653

You can display HTML via the embedded browser of SAP GUI, via the class CL_GUI_HTML_VIEWER. There are several programs demonstrating this class, including CL_ABAP_BROWSER=>SHOW_HTML.