‎2010 May 18 5:30 AM
Hi Gurus,
I am converting Spool to HTML format and then i am sending the same as attachment in email.
My problem is when i conver the Spool to Html the lines are coming ups and downs.
Where the lines has to appear in HTM as box, i am not getting those boxes.
For eg: box should appear as line has(_____________________)
but for me it is appearing it has dotted lines has(----
) and end vertical lines | is coming in next line.
How can get box in terms of lines.
I am using following code.
Submit report to convert the spool to HTML format
SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
WITH rqident = p_spoolno.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = gt_listobj
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert the spool to HTML format
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
EXPORTING
template_name = text-t01
TABLES
html = p_html_tab
listobject = gt_listobj.
‎2010 Jun 09 5:52 AM