After creating all the necessary data structures and rendering class in Part 2, followed by a test template and a demo report in Part 3, we now have our first initial sample:
This is just a test. Of course, you are more than welcomed to discover the possibilities and limits of this framework. Also, any kind of extensions, bug fixes, or suggestions will be greatly considered.
PS: I forgot to mention the hyperlinks in Part 2, so I’ll just add it here.
First step, you need to create the following structure:
Step two: Enhance the rendering class with an extra SET_HYPERLINKS method:
lv_value type string value is initial.
<fs_hyperlink> type yerf_str_hyperlink.
loop at it_hyperlinks assigning <fs_hyperlink>.
concatenate ‘<a href=”‘ <fs_hyperlink>–url ‘”>’ <fs_hyperlink>–tag ‘</a>’ into lv_value.
replace <fs_hyperlink>–tag in mv_content with lv_value. clear lv_value.