<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: To Convert Internal table to HTML format. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228384#M770077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using same function module , that is WWW_LIST_TO_HTML , and its workin fine in forground, bt if i use it in backgound, only header is sent to ftp server.&lt;/P&gt;&lt;P&gt;after using WWW_LIST_TO_HTML function, to send to ftp I am using, HTTP_SCRAMBLE , FTP_CONNECT , FTP_R3_TO_SERVER ,FTP_DISCONNECT and RFC_CONNECTION_CLOSE function modules.&lt;/P&gt;&lt;P&gt;so i am trying to find some other way to convert my Internal table to HTML format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2008 04:08:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T04:08:15Z</dc:date>
    <item>
      <title>To Convert Internal table to HTML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228382#M770075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I am working on report in which i need to send the output of report on FTP server in HTML format, I am right now using function WWW_LIST_TO_HTML to convert report output in to html format, its working fine if done manualy, but when we place the report for back ground processing , it is only sending header .&lt;/P&gt;&lt;P&gt;So I am trying to find some other function module that can be used to convert Internal table to html format so that I can send it on FTP server ..&lt;/P&gt;&lt;P&gt;Please help me out....&lt;/P&gt;&lt;P&gt;Good points wll be rewarded for helpful answer.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 03:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228382#M770075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T03:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: To Convert Internal table to HTML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228383#M770076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soni &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          check the below code.. it might help you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: list type table of  abaplist with header line.&lt;/P&gt;&lt;P&gt;data: htmllines type table of w3html with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;data: maildata   like sodocchgi1.&lt;/P&gt;&lt;P&gt;data: mailtxt    like solisti1 occurs 10 with header line.&lt;/P&gt;&lt;P&gt;data: mailrec    like somlrec90 occurs 0  with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Produce a list&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  do 100 times.&lt;/P&gt;&lt;P&gt;    write:/ sy-index, at 30 sy-index, at 50 sy-index.&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Save the list&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'SAVE_LIST'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            listobject         = list&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            list_index_invalid = 1&lt;/P&gt;&lt;P&gt;            others             = 2.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Convert the list&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call function 'WWW_LIST_TO_HTML'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            html = htmllines.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Send mail&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  maildata-obj_name = 'TEST'.&lt;/P&gt;&lt;P&gt;  maildata-obj_descr = 'Test Subject'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  loop at htmllines.&lt;/P&gt;&lt;P&gt;    mailtxt = htmllines.&lt;/P&gt;&lt;P&gt;    append mailtxt.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  mailrec-receiver = 'you@yourcompany.com'.&lt;/P&gt;&lt;P&gt;  mailrec-rec_type  = 'U'.&lt;/P&gt;&lt;P&gt;  append mailrec.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            document_data              = maildata&lt;/P&gt;&lt;P&gt;            document_type              = 'HTM'&lt;/P&gt;&lt;P&gt;            put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            object_header              = mailtxt&lt;/P&gt;&lt;P&gt;            object_content             = mailtxt&lt;/P&gt;&lt;P&gt;            receivers                  = mailrec&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;            document_not_sent          = 2&lt;/P&gt;&lt;P&gt;            document_type_not_exist    = 3&lt;/P&gt;&lt;P&gt;            operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;            parameter_error            = 5&lt;/P&gt;&lt;P&gt;            x_error                    = 6&lt;/P&gt;&lt;P&gt;            enqueue_error              = 7&lt;/P&gt;&lt;P&gt;            others                     = 8.&lt;/P&gt;&lt;P&gt;  if sy-subrc  0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 03:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228383#M770076</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-01-17T03:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: To Convert Internal table to HTML format.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228384#M770077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using same function module , that is WWW_LIST_TO_HTML , and its workin fine in forground, bt if i use it in backgound, only header is sent to ftp server.&lt;/P&gt;&lt;P&gt;after using WWW_LIST_TO_HTML function, to send to ftp I am using, HTTP_SCRAMBLE , FTP_CONNECT , FTP_R3_TO_SERVER ,FTP_DISCONNECT and RFC_CONNECTION_CLOSE function modules.&lt;/P&gt;&lt;P&gt;so i am trying to find some other way to convert my Internal table to HTML format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 04:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-convert-internal-table-to-html-format/m-p/3228384#M770077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T04:08:15Z</dc:date>
    </item>
  </channel>
</rss>

