<?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: Background function to convert CSV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895676#M1327098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to upload a CSV file  from front end and load into SAP in Back ground mode, Then 'GUI_*' functions will not work as it won't support B/G execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, You can always upload a file( Using CG3Z) in AL11 and your program can make use of the file in B/G mode.&lt;/P&gt;&lt;P&gt;This can be done using OPEN DATA SET, TRANSFER, CLOSE DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jul 2009 10:53:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-10T10:53:31Z</dc:date>
    <item>
      <title>Background function to convert CSV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895674#M1327096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you know if a function to convert CSV into SAP with the opportunity to use background execution exists?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for you collaboration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fuffo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 10:47:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895674#M1327096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T10:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Background function to convert CSV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895675#M1327097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;li&amp;gt;It is not possible to download data to presentation server in background. So no such function modules.&lt;/P&gt;&lt;P&gt;&amp;lt;li&amp;gt;To convert CSV to SAP . There is one function module &lt;STRONG&gt;TEXT_CONVERT_CSV_TO_SAP&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat.O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 10:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895675#M1327097</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-10T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Background function to convert CSV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895676#M1327098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to upload a CSV file  from front end and load into SAP in Back ground mode, Then 'GUI_*' functions will not work as it won't support B/G execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, You can always upload a file( Using CG3Z) in AL11 and your program can make use of the file in B/G mode.&lt;/P&gt;&lt;P&gt;This can be done using OPEN DATA SET, TRANSFER, CLOSE DATASET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 10:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895676#M1327098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T10:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Background function to convert CSV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895677#M1327099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use this one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here itab is ur internal table of same format as the .csv file is having&lt;/P&gt;&lt;P&gt; background processing&lt;/P&gt;&lt;P&gt;    OPEN DATASET l_file FOR INPUT IN TEXT MODE ENCODING DEFAULT MESSAGE l_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      DO.&lt;/P&gt;&lt;P&gt;        READ DATASET l_file INTO gs_tab.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          CLOSE DATASET l_file.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       APPEND gs_file TO gt_file.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        APPEND gs_tab TO gt_tab.&lt;/P&gt;&lt;P&gt;      ENDDO.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE e000 WITH text-012.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       g_exit = '1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2009 06:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895677#M1327099</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-07-13T06:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Background function to convert CSV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895678#M1327100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any update....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if problem is solved please close this thread...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-function-to-convert-csv/m-p/5895678#M1327100</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2009-07-15T06:09:00Z</dc:date>
    </item>
  </channel>
</rss>

