‎2009 Apr 15 7:52 AM
Hi there, sometimes when I want to emphasize some header in my ABAP programm, the standard functionalities are not enough (input field, grid's title ...) So maybe I could use a HTML in order to create some kind of 'header', so for example ...
HEADER IN HTML CONTAINER
content ...
content ...
content ...
content ...
do You know some clear demo programm which I could follow, or some essential tutorial which could help me to create a simple HTML cpntainer and add some simple text (for example bold or italic ...) inside?
I'd be thankful for help. Greetings. P.
‎2009 Apr 15 7:58 AM
Can you please check this program, 'BCALV_TEST_FULLSCREEN_HTML'.
‎2009 Apr 15 7:58 AM
Can you please check this program, 'BCALV_TEST_FULLSCREEN_HTML'.
‎2009 Apr 15 8:33 AM
Muthukumar Ram
BCALV_TEST_FULLSCREEN_HTML calls a REUSE_ALV_GRID_DISPLAY function with a parameter
i_callback_top_of_page = l_callback_top_of_page where text is set,
but I'd like to create a container in the screen, and then put HTML content into it
‎2009 Apr 15 8:37 AM
Try this:
DATA : gref_document TYPE REF TO cl_dd_document.
CALL METHOD gref_document->add_text
EXPORTING
text = text-001"'Header Information'
sap_fontsize = 'MEDIUM'
sap_emphasis = 'STRONG'.
CALL METHOD gref_document->display_document
EXPORTING
parent = gref_header_container
EXCEPTIONS
html_display_error = 1
OTHERS = 2
‎2009 Apr 15 7:58 AM
Hi,
Check this demo program BCALV_TEST_HTML_HEADER
Check the method add_text and its parameters
Regards
‎2009 Apr 15 8:10 AM
Rajvansh Ravi
I039643
Unfortunately there is no BCALV_TEST_HTML_HEADER in our SAP 4.6c
‎2009 Apr 15 8:03 AM