<?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: Problem in uplaoding a file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282239#M496926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more question. How could I import table with header line.&lt;/P&gt;&lt;P&gt;For example I have table in excel :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date               cost&lt;/P&gt;&lt;P&gt;1.1.2008         200&lt;/P&gt;&lt;P&gt;2.1.2008         300&lt;/P&gt;&lt;P&gt;3.1.2008         250&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the program &lt;A href="http://www.sapdev.co.uk/file/file_upexcel.htm" target="test_blank"&gt;http://www.sapdev.co.uk/file/file_upexcel.htm&lt;/A&gt; the resault is without header line.&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.1.2008         200&lt;/P&gt;&lt;P&gt;2.1.2008         300&lt;/P&gt;&lt;P&gt;3.1.2008         250&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;How could I become whole table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how could I modify this program that there will be dinamic structure of internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2008 09:42:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-07T09:42:53Z</dc:date>
    <item>
      <title>Problem in uplaoding a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282237#M496924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What data should I pass to the field I_TAB_RAW_DATA while using the function module TEXT_CONVERT_CSV_TO_SAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 03:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282237#M496924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T03:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uplaoding a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282238#M496925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope its optional parameter, still you want to pass....check the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS: TRUXS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF T_DATATAB,&lt;/P&gt;&lt;P&gt;      COL1(30)    TYPE C,&lt;/P&gt;&lt;P&gt;      COL2(30)    TYPE C,&lt;/P&gt;&lt;P&gt;      COL3(30)    TYPE C,&lt;/P&gt;&lt;P&gt;      END OF T_DATATAB.&lt;/P&gt;&lt;P&gt;DATA: IT_DATATAB TYPE STANDARD TABLE OF T_DATATAB,&lt;/P&gt;&lt;P&gt;      WA_DATATAB TYPE T_DATATAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IT_RAW TYPE TRUXS_T_TEXT_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FIELD_NAME = 'P_FILE'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME  = P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    I_FIELD_SEPERATOR        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      I_LINE_HEADER            =  'X'&lt;/P&gt;&lt;P&gt;      I_TAB_RAW_DATA           =  IT_RAW       " WORK TABLE&lt;/P&gt;&lt;P&gt;      I_FILENAME               =  P_FILE&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      I_TAB_CONVERTED_DATA     = IT_DATATAB[]    "ACTUAL DATA&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;      CONVERSION_FAILED        = 1&lt;/P&gt;&lt;P&gt;      OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_DATATAB INTO WA_DATATAB.&lt;/P&gt;&lt;P&gt;    WRITE:/ WA_DATATAB-COL1,&lt;/P&gt;&lt;P&gt;            WA_DATATAB-COL2,&lt;/P&gt;&lt;P&gt;            WA_DATATAB-COL3.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 04:06:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282238#M496925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T04:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in uplaoding a file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282239#M496926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have one more question. How could I import table with header line.&lt;/P&gt;&lt;P&gt;For example I have table in excel :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date               cost&lt;/P&gt;&lt;P&gt;1.1.2008         200&lt;/P&gt;&lt;P&gt;2.1.2008         300&lt;/P&gt;&lt;P&gt;3.1.2008         250&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the program &lt;A href="http://www.sapdev.co.uk/file/file_upexcel.htm" target="test_blank"&gt;http://www.sapdev.co.uk/file/file_upexcel.htm&lt;/A&gt; the resault is without header line.&lt;/P&gt;&lt;P&gt;The result is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.1.2008         200&lt;/P&gt;&lt;P&gt;2.1.2008         300&lt;/P&gt;&lt;P&gt;3.1.2008         250&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;How could I become whole table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how could I modify this program that there will be dinamic structure of internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 09:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-uplaoding-a-file/m-p/2282239#M496926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T09:42:53Z</dc:date>
    </item>
  </channel>
</rss>

