<?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: SAve output in html automatically. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357760#M1037434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions please.&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, 14 Aug 2008 15:48:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-14T15:48:07Z</dc:date>
    <item>
      <title>SAve output in html automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357758#M1037432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freinds!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to save the out of my report into html automatically. I have a report which shows the pro-rate factor for a given period and delivers the output, i have an include program added to it which automates the process to directly save this out into html format and store in my N drive for future use as if this si lost its lost forever..&lt;/P&gt;&lt;P&gt;Unfortunatley I am unable to store it on my N drive , but when I change in my report to C drive it does automatically stores it there but not my N drive and an error pops saying Access denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aarav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357758#M1037432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAve output in html automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357759#M1037433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I have inserted is as follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;  Include           ZMM_SAVE_LIST_HMTL
*&amp;amp;---------------------------------------------------------------------*

data: html type table of W3HTML with header line,
      gs_html type w3html,
      g_file type string,
      g_size type i,
      g_entries type i.
data: p_file_o(128) type c.
*
constants: p_file(128) type c value 'C:\'.
*     'N:\private\Production Accounting\Production Accounting\2008 Production\MonthEnd\0108\'.
* ---------------------------------------------------------------
  concatenate p_file syst-tcode p_werks p_lgort '.HTM' into p_file_o.

  CALL FUNCTION 'WWW_LIST_TO_HTML'
*   EXPORTING
*     LIST_INDEX       = 0
    TABLES
      HTML             = html.
  describe table html lines g_entries.
  read table html into gs_html index g_entries.
  g_size = g_entries * 510.
  g_file = p_file_o.
  CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
     BIN_FILESIZE                    = g_size
      FILENAME                        = g_file
      FILETYPE                        = 'BIN'
*     APPEND                          = ' '
*     WRITE_FIELD_SEPARATOR           = ' '
*     HEADER                          = '00'
*     TRUNC_TRAILING_BLANKS           = ' '
*     WRITE_LF                        = 'X'
*     COL_SELECT                      = ' '
*     COL_SELECT_MASK                 = ' '
*     DAT_MODE                        = ' '
*     CONFIRM_OVERWRITE               = ' '
*     NO_AUTH_CHECK                   = ' '
*     CODEPAGE                        = ' '
*     IGNORE_CERR                     = ABAP_TRUE
*     REPLACEMENT                     = '#'
*     WRITE_BOM                       = ' '
*     TRUNC_TRAILING_BLANKS_EOL       = 'X'
*     WK1_N_FORMAT                    = ' '
*     WK1_N_SIZE                      = ' '
*     WK1_T_FORMAT                    = ' '
*     WK1_T_SIZE                      = ' '
*   IMPORTING
*     FILELENGTH                      =
    TABLES
      DATA_TAB                        = html
*     FIELDNAMES                      =
   EXCEPTIONS
     FILE_WRITE_ERROR                = 1
     NO_BATCH                        = 2
     GUI_REFUSE_FILETRANSFER         = 3
     INVALID_TYPE                    = 4
     NO_AUTHORITY                    = 5
     UNKNOWN_ERROR                   = 6
     HEADER_NOT_ALLOWED              = 7
     SEPARATOR_NOT_ALLOWED           = 8
     FILESIZE_NOT_ALLOWED            = 9
     HEADER_TOO_LONG                 = 10
     DP_ERROR_CREATE                 = 11
     DP_ERROR_SEND                   = 12
     DP_ERROR_WRITE                  = 13
     UNKNOWN_DP_ERROR                = 14
     ACCESS_DENIED                   = 15
     DP_OUT_OF_MEMORY                = 16
     DISK_FULL                       = 17
     DP_TIMEOUT                      = 18
     FILE_NOT_FOUND                  = 19
     DATAPROVIDER_EXCEPTION          = 20
     CONTROL_FLUSH_ERROR             = 21
     OTHERS                          = 22
            .
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*        MESSAGE ID SY-MSGID TYPE 'I' NUMBER SY-MSGNO

         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 15:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357759#M1037433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T15:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAve output in html automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357760#M1037434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions please.&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, 14 Aug 2008 15:48:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357760#M1037434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T15:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAve output in html automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357761#M1037435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;stores it there but not my N drive and an error pops saying Access denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Folder which you mentioned might be in the shared network, for that folder you don't have the access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the message i am thinking in that direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 16:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357761#M1037435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-14T16:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAve output in html automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357762#M1037436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think thst right , I will have the user test the report on hi/her stystem so that if they have access they can get throgh .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 17:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-output-in-html-automatically/m-p/4357762#M1037436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T17:20:17Z</dc:date>
    </item>
  </channel>
</rss>

