<?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: update the data into excel sheet . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483598#M837532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowrishankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I guess, you are making use of the tables parameter 'FIELDNAMES' for writing &lt;/P&gt;&lt;P&gt;column headings in the excel. If yes, refresh this table before calling the FM for other than &lt;/P&gt;&lt;P&gt;initial time execution of the program.&lt;/P&gt;&lt;P&gt;If you have any ztable to store the constants, then maintain one entry in that table for this program&lt;/P&gt;&lt;P&gt;when this program is executed for the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need any more help, get back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 05:08:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T05:08:49Z</dc:date>
    <item>
      <title>update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483592#M837526</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;&lt;/P&gt;&lt;P&gt;If I run the program it want to store the data into  excel sheet(first few lines) , if i run the program again I want to store the next result in the same excel sheet after that data(first time data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it any solution available to store the data in the same excel sheet again again in different row of that excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 05:13:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483592#M837526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T05:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483593#M837527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am not sure which FM u r using for downloading. The FM GUI_DOWNLOAD will work for your requirement. Set the parameter Append to value 'A'. Every time it will append the data to ur file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BIN_FILESIZE                  =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    filename                      = l_file&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILETYPE                      = 'ASC'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   &lt;STRONG&gt;APPEND                        = 'A'&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_FIELD_SEPARATOR         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                        = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_LF                      = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT_MASK               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    data_tab                      = i_tab&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_WRITE_ERROR              = 1&lt;/P&gt;&lt;P&gt;   NO_BATCH                      = 2&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER       = 3&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                  = 4&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                  = 5&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                 = 6&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED            = 7&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED         = 8&lt;/P&gt;&lt;P&gt;   FILESIZE_NOT_ALLOWED          = 9&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG               = 10&lt;/P&gt;&lt;P&gt;   DP_ERROR_CREATE               = 11&lt;/P&gt;&lt;P&gt;   DP_ERROR_SEND                 = 12&lt;/P&gt;&lt;P&gt;   DP_ERROR_WRITE                = 13&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR              = 14&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                 = 15&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY              = 16&lt;/P&gt;&lt;P&gt;   DISK_FULL                     = 17&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                    = 18&lt;/P&gt;&lt;P&gt;   FILE_NOT_FOUND                = 19&lt;/P&gt;&lt;P&gt;   DATAPROVIDER_EXCEPTION        = 20&lt;/P&gt;&lt;P&gt;   CONTROL_FLUSH_ERROR           = 21&lt;/P&gt;&lt;P&gt;   OTHERS                        = 22&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 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;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 05:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483593#M837527</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-11T05:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483594#M837528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowrishankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           First, let me know where do you want to place the excel file( Presentation or Application servers).&lt;/P&gt;&lt;P&gt;If you want to update the file on presentation server with your data every time, you can&lt;/P&gt;&lt;P&gt;use the FM 'GUI_DOWNLOAD' and set the parameter 'APPEND' so that it appends the &lt;/P&gt;&lt;P&gt;data to the same file instead of overwriting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a demo prog, you can refer to the FM documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need any more help, get back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 06:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483594#M837528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-11T06:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483595#M837529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jalendar Thanks For your reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine.. i have one more requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the data from internal tables are updated into excel sheet &lt;/P&gt;&lt;P&gt;perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before that i need to give the headings for that columns in excel sheet.if i enter the headings manually the datas are not updated in excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how can i give the heading for that columns..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 03:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483595#M837529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T03:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483596#M837530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowrishankar,&lt;/P&gt;&lt;P&gt;Append the column headings to the internal table before u append the data so that column headings will also be downloaded in to the excell. So ur internal table first row will be column headings and subsequent rows will be actual data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483596#M837530</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-24T04:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483597#M837531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok vinod thanks for your reply..&lt;/P&gt;&lt;P&gt;I think u mis undersatnd my requirment..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;datas are in integer formet.&lt;/P&gt;&lt;P&gt;headings are c format.&lt;/P&gt;&lt;P&gt;and every time I run this program it appends in the excel sheet&lt;/P&gt;&lt;P&gt;i append 1 row in the excel sheet at every time execution of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every periodic time I run this program it appends one row in the excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but heading should displayed only once..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 04:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483597#M837531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T04:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483598#M837532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowrishankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          I guess, you are making use of the tables parameter 'FIELDNAMES' for writing &lt;/P&gt;&lt;P&gt;column headings in the excel. If yes, refresh this table before calling the FM for other than &lt;/P&gt;&lt;P&gt;initial time execution of the program.&lt;/P&gt;&lt;P&gt;If you have any ztable to store the constants, then maintain one entry in that table for this program&lt;/P&gt;&lt;P&gt;when this program is executed for the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need any more help, get back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jallu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 05:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483598#M837532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T05:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483599#M837533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gowrishankar,&lt;/P&gt;&lt;P&gt;Got one idea. First upload the file using &lt;STRONG&gt;GUI_UPLOAD&lt;/STRONG&gt; or &lt;STRONG&gt;KCD_EXCELL_OLE_TO_INT_CONVERT&lt;/STRONG&gt; FMs. and read the first record. If it doenot has headers then download the headers(Only) to the file using &lt;STRONG&gt;GUI_DOWNLOAD&lt;/STRONG&gt;. Later download the actual data. This logic will work even if the user gives different file name which does not exist in the system(New file name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar Vemuru on Mar 24, 2008 11:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 06:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483599#M837533</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-03-24T06:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483600#M837534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jalendar..&lt;/P&gt;&lt;P&gt;Thanks for reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i did is.. simply stored the headings in internal table and call it from gui_download.&lt;/P&gt;&lt;P&gt;I wrote separate gui_download for data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to execute the first gui_download once in a day,I want to execute the second gui_download in every hour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its my exact requirment..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any solution available inform to me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 06:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483600#M837534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T06:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: update the data into excel sheet .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483601#M837535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use set &amp;amp; get parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check the value in SAP memory using GET, if the value is same as today's date then execute second gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the value is different then store the todays date in to SAP memory using SET, And execute both gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u don't want to use Memory concept, then create one z table, with one field type date. And check the value of the field with today's date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 06:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-the-data-into-excel-sheet/m-p/3483601#M837535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T06:39:49Z</dc:date>
    </item>
  </channel>
</rss>

