<?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: Reading Excel file from Application Server into ABAP Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494516#M16829</link>
    <description>&lt;P&gt;I used the same transformation as described in the link I shared , in fact my real strcuture is very different I'm just trying to re-do the same example but it's not working.&lt;/P&gt;
  &lt;P&gt;What would you do if you were using the same transformation?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2017 07:43:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2017-10-25T07:43:39Z</dc:date>
    <item>
      <title>Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494511#M16824</link>
      <description>&lt;P&gt;Dear Experts, &lt;/P&gt;
  &lt;P&gt;I'm having trouble reading an Excel file from application server. I tried implementing this solution &lt;A href="https://wiki.scn.sap.com/wiki/display/Snippets/Reading+Excel+file+from+Application+Server+into+ABAP+Internal+Table" target="test_blank"&gt;https://wiki.scn.sap.com/wiki/display/Snippets/Reading+Excel+file+from+Application+Server+into+ABAP+Internal+Table&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;but I'm still facing some issue with the structure of I_DATA1&lt;/P&gt;
  &lt;P&gt;I'm not sure how schould I be defining it &lt;/P&gt;
  &lt;P&gt;This is my type definition :&lt;/P&gt;
  &lt;P&gt;types:begin of i_data,&lt;BR /&gt; A type string,&lt;BR /&gt; B type string,&lt;BR /&gt; C type string,&lt;BR /&gt; D type string,&lt;BR /&gt;&lt;BR /&gt; end of i_data.&lt;/P&gt;
  &lt;P&gt;My Excel file has 4 columns&lt;/P&gt;
  &lt;P&gt;Please advise me .&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Houriya&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 23:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494511#M16824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-24T23:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494512#M16825</link>
      <description>&lt;P&gt;hi &lt;/P&gt;
  &lt;P&gt;use this fm TEXT_CONVERT_XLS_TO_SAP&lt;/P&gt;
  &lt;P&gt;example:&lt;/P&gt;
  &lt;P&gt;DATA:LT_RAW TYPE TRUXS_T_TEXT_DATA,&lt;BR /&gt; LV_FILE TYPE RLGRAP-FILENAME.&lt;BR /&gt; &lt;BR /&gt;REFRESH:CT_UPLOAD[].&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; CLEAR LV_FILE.&lt;BR /&gt; LV_FILE = PA_FILE.&lt;BR /&gt; &lt;BR /&gt; CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;BR /&gt; EXPORTING&lt;BR /&gt; I_FIELD_SEPERATOR = 'X'&lt;BR /&gt; I_TAB_RAW_DATA = LT_RAW&lt;BR /&gt; I_FILENAME = LV_FILE&lt;BR /&gt; TABLES&lt;BR /&gt; I_TAB_CONVERTED_DATA = CT_UPLOAD&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; CONVERSION_FAILED = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;adv: in ur code dont use string.&lt;/P&gt;
  &lt;P&gt;use char or text with length&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 03:37:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494512#M16825</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-10-25T03:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494513#M16826</link>
      <description>&lt;P&gt;like below.&lt;/P&gt;
  &lt;P&gt;TYPES:BEGIN OF TY_UPLOAD,&lt;BR /&gt; PERNR TYPE TEXT8,&lt;BR /&gt; SPL_ALW TYPE TEXT15,&lt;BR /&gt; LEV_WG TYPE TEXT15,&lt;BR /&gt; END OF TY_UPLOAD,&lt;BR /&gt; TT_UPLOAD TYPE STANDARD TABLE OF TY_UPLOAD.&lt;/P&gt;
  &lt;BR /&gt;
  &lt;P&gt;DATA:GT_UPLOAD TYPE TT_UPLOAD.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 03:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494513#M16826</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-10-25T03:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494514#M16827</link>
      <description>&lt;P&gt;So... when you use that type definition, what happens?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 05:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494514#M16827</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-10-25T05:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494515#M16828</link>
      <description>&lt;P&gt;Your transformation should reflect the name of your internal table and names of its fields.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 05:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494515#M16828</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-10-25T05:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494516#M16829</link>
      <description>&lt;P&gt;I used the same transformation as described in the link I shared , in fact my real strcuture is very different I'm just trying to re-do the same example but it's not working.&lt;/P&gt;
  &lt;P&gt;What would you do if you were using the same transformation?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 07:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494516#M16829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-25T07:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494517#M16830</link>
      <description>&lt;P&gt;I've already tried this, it's not working&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 07:44:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494517#M16830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-25T07:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494518#M16831</link>
      <description>&lt;P&gt;Nothing, I_DATA1 is still intial , no data &lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 08:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494518#M16831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-25T08:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494519#M16832</link>
      <description>&lt;P&gt;I'd debug it and see how the transformation handles my data.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 05:54:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494519#M16832</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2017-10-26T05:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494520#M16833</link>
      <description>&lt;P&gt;present i am using&lt;/P&gt;
  &lt;P&gt;it is working&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 08:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494520#M16833</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-10-26T08:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494521#M16834</link>
      <description>&lt;P&gt;Are you reading the file from sever or local PC?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 10:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494521#M16834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-10-26T10:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494522#M16835</link>
      <description>&lt;P&gt;local PC (desktop)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 04:41:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494522#M16835</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-10-27T04:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494523#M16836</link>
      <description>&lt;P&gt;Limitations of function module TEXT_CONVERT_XLS_TO_SAP :&lt;/P&gt;
  &lt;UL&gt;
   &lt;LI&gt;It's only provided in SAP ECC systems, not in other ABAP-based systems (BI, SRM, CRM, etc.)&lt;/LI&gt;
   &lt;LI&gt;It works only in dialog (not in background)&lt;/LI&gt;
   &lt;LI&gt;The fields of the internal table must exactly match the columns in the Excel file (same order, don't omit columns)&lt;/LI&gt;
   &lt;LI&gt;It doesn't work with a file on the application server (only on the desktop)&lt;/LI&gt;
   &lt;LI&gt;...&lt;/LI&gt;
  &lt;/UL&gt;</description>
      <pubDate>Fri, 27 Oct 2017 06:24:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494523#M16836</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2017-10-27T06:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494524#M16837</link>
      <description>&lt;P&gt;use dataset coding techinics&lt;/P&gt;
  &lt;P&gt;open data set&lt;/P&gt;
  &lt;P&gt;read dataset&lt;/P&gt;
  &lt;P&gt;close dataset.&lt;/P&gt;
  &lt;P&gt;using these u can read data from application server&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 04:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494524#M16837</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-11-03T04:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494525#M16838</link>
      <description>&lt;P&gt;EX:&lt;/P&gt;
  &lt;P&gt;here lv_str is application server file path in AL11.&lt;/P&gt;
  &lt;P&gt;OPEN DATASET LV_STR FOR INPUT IN BINARY MODE.&lt;BR /&gt; &lt;BR /&gt; DO.&lt;BR /&gt; &lt;BR /&gt; READ DATASET LV_STR INTO LS_STR.&lt;BR /&gt; &lt;BR /&gt; IF SY-SUBRC = 0.&lt;BR /&gt; &lt;BR /&gt; APPEND LS_STR TO LT_STR.&lt;BR /&gt; &lt;BR /&gt; ELSE.&lt;BR /&gt; EXIT.&lt;BR /&gt; &lt;BR /&gt; ENDIF.&lt;BR /&gt; &lt;BR /&gt; ENDDO.&lt;BR /&gt; &lt;BR /&gt; CLOSE DATASET LV_STR.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 04:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494525#M16838</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2017-11-03T04:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494526#M16839</link>
      <description>&lt;P&gt;I'm pretty sure OP already knows this. It's part of the code in the Wiki referenced in the original question. &lt;/P&gt;
  &lt;P&gt;Sorry but I don't see how generic information about OPEN DATASET (which is available in ABAP Help) could possibly help OP in reading Excel format.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 20:50:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494526#M16839</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2017-11-07T20:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494527#M16840</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;
  &lt;P&gt;After debugging the program, I came across the things that were missing :&lt;/P&gt;
  &lt;P&gt;1 - if you plan to reproduce the same example giving by Praveen Singh, in the function module ZEXCEL_TO_ABAP, &lt;/P&gt;
  &lt;P&gt; * while loading the XML data you need to put 'c_shared_str_xml' variable instead of the variable 'c_sheet_xml'.&lt;/P&gt;
  &lt;P&gt; *while loading the sheet data you need to put 'c_sheet_xml' variable instead of the variable 'c_shared_str_xml'.&lt;/P&gt;
  &lt;P&gt;2 - When it comes to the XLST Transformation, it needs to have the same name of the internal table and its fields.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 15:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494527#M16840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-22T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Excel file from Application Server into ABAP Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494528#M16841</link>
      <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/16490/h-mjadli.html"&gt;Houriya MJADLI&lt;/A&gt;, &lt;/P&gt;
  &lt;P&gt;Could you solve your problem?&lt;/P&gt;</description>
      <pubDate>Sun, 03 Dec 2017 19:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-excel-file-from-application-server-into-abap-internal-table/m-p/494528#M16841</guid>
      <dc:creator>former_member544763</dc:creator>
      <dc:date>2017-12-03T19:21:32Z</dc:date>
    </item>
  </channel>
</rss>

