<?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: Function module:EXCEL_OLE_STANDARD_DAT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803408#M344853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to use FM like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'EXCEL_OLE_STANDARD_DAT'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          file_name                 = 'C:\USR03.XLS'&lt;/P&gt;&lt;P&gt;          data_sheet_name           = 'USER LIST'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;         data_tab                  =  itabusr03&lt;/P&gt;&lt;P&gt;         fieldnames                =  flditab&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;         file_not_exist            = 1&lt;/P&gt;&lt;P&gt;         filename_expected         = 2&lt;/P&gt;&lt;P&gt;         communication_error       = 3&lt;/P&gt;&lt;P&gt;         ole_object_method_error   = 4&lt;/P&gt;&lt;P&gt;         ole_object_property_error = 5&lt;/P&gt;&lt;P&gt;         invalid_filename          = 6&lt;/P&gt;&lt;P&gt;         invalid_pivot_fields      = 7&lt;/P&gt;&lt;P&gt;         download_problem          = 8&lt;/P&gt;&lt;P&gt;         others                    = 9.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;         with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise just try to use FM gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2006 05:50:32 GMT</pubDate>
    <dc:creator>former_member508729</dc:creator>
    <dc:date>2006-12-29T05:50:32Z</dc:date>
    <item>
      <title>Function module:EXCEL_OLE_STANDARD_DAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803406#M344851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem in downloading the records into the excel sheet using the function module: &amp;lt;b&amp;gt;EXCEL_OLE_STANDARD_DAT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I have passed my internal table&amp;lt;it_tab1&amp;gt; (for a structure) into the function module.&lt;/P&gt;&lt;P&gt;My output goes to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thasneem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 05:40:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803406#M344851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T05:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Function module:EXCEL_OLE_STANDARD_DAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803407#M344852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF FLDITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;         FLDNAME(21) TYPE C,&lt;/P&gt;&lt;P&gt;       END OF FLDITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of t_excel1 occurs 0,&lt;/P&gt;&lt;P&gt;        cmpmatnr like wa_SUM-cmpmatnr,&lt;/P&gt;&lt;P&gt;        CMPMAKTX like wa_SUM-CMPMAKTX,&lt;/P&gt;&lt;P&gt;        ACTBI(15), " like wa_SUM-ACTBI,&lt;/P&gt;&lt;P&gt;        ACTPR(15), " like wa_SUM-ACTPR,&lt;/P&gt;&lt;P&gt;        ACTST(15), " like wa_SUM-ACTST,&lt;/P&gt;&lt;P&gt;        ACTEI(15), " like wa_SUM-ACTEI,&lt;/P&gt;&lt;P&gt;        WIP_BI(15), " like wa_SUM-WIP_BI,&lt;/P&gt;&lt;P&gt;        WIP_EI(15), " like wa_SUM-WIP_EI,&lt;/P&gt;&lt;P&gt;        WIP_BSU(15), " like wa_SUM-WIP_BSU,&lt;/P&gt;&lt;P&gt;        USAGE(15), " like wa_SUM-USAGE,&lt;/P&gt;&lt;P&gt;        theo_usg(15), " type p decimals 2,&lt;/P&gt;&lt;P&gt;        waste(15), " type p decimals 2,&lt;/P&gt;&lt;P&gt;        std_price(15), " like wa_sum-std_price,&lt;/P&gt;&lt;P&gt;      end of t_excel1.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
     EXPORTING
          FILE_NAME                 = 'c:Total_Plant Waste.xls'
    TABLES
*         PIVOT_FIELD_TAB           =
         DATA_TAB                  = T_EXCEL1
         FIELDNAMES                = FLDITAB
     EXCEPTIONS
          FILE_NOT_EXIST            = 1
          FILENAME_EXPECTED         = 2
          COMMUNICATION_ERROR       = 3
          OLE_OBJECT_METHOD_ERROR   = 4
          OLE_OBJECT_PROPERTY_ERROR = 5
          INVALID_FILENAME          = 6
          INVALID_PIVOT_FIELDS      = 7
          DOWNLOAD_PROBLEM          = 8
          OTHERS                    = 9.
  clear: T_EXCEL1,FLDITAB.
  REFRESH: T_EXCEL1,FLDITAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 05:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803407#M344852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T05:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function module:EXCEL_OLE_STANDARD_DAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803408#M344853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try to use FM like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'EXCEL_OLE_STANDARD_DAT'&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;          file_name                 = 'C:\USR03.XLS'&lt;/P&gt;&lt;P&gt;          data_sheet_name           = 'USER LIST'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;         data_tab                  =  itabusr03&lt;/P&gt;&lt;P&gt;         fieldnames                =  flditab&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;         file_not_exist            = 1&lt;/P&gt;&lt;P&gt;         filename_expected         = 2&lt;/P&gt;&lt;P&gt;         communication_error       = 3&lt;/P&gt;&lt;P&gt;         ole_object_method_error   = 4&lt;/P&gt;&lt;P&gt;         ole_object_property_error = 5&lt;/P&gt;&lt;P&gt;         invalid_filename          = 6&lt;/P&gt;&lt;P&gt;         invalid_pivot_fields      = 7&lt;/P&gt;&lt;P&gt;         download_problem          = 8&lt;/P&gt;&lt;P&gt;         others                    = 9.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;         with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise just try to use FM gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 05:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803408#M344853</guid>
      <dc:creator>former_member508729</dc:creator>
      <dc:date>2006-12-29T05:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function module:EXCEL_OLE_STANDARD_DAT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803409#M344854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The type of filename must be: data: l_file type RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; Luck&lt;/P&gt;&lt;P&gt;Marcos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2007 07:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-excel-ole-standard-dat/m-p/1803409#M344854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-26T07:35:52Z</dc:date>
    </item>
  </channel>
</rss>

