<?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: Uploading data to four different table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997994#M708152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try calling the upload function in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;upload&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and set a counter to increase itself till 4 then exit.&lt;/P&gt;&lt;P&gt;loop.&lt;/P&gt;&lt;P&gt;call func 'upload'.&lt;/P&gt;&lt;P&gt;counter = counter + 1.&lt;/P&gt;&lt;P&gt;check counter le 4.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2007 21:55:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-01T21:55:34Z</dc:date>
    <item>
      <title>Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997993#M708151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question. I have to write an interface that is suppose to read data from four different flat files and then upload the data using GUI_UPLOAD in four appropriate tables. The tables are: &lt;/P&gt;&lt;P&gt;ZERC_PRISM	Custom general compensation information&lt;/P&gt;&lt;P&gt;ZERC_PRISM_LOC	Custom geographic information&lt;/P&gt;&lt;P&gt;ZERC_PRISM_SAL	Custom salary by location information&lt;/P&gt;&lt;P&gt;ZERC_JOB_KEY_CODE	Custom job code to job key translation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flat files are P_FILE1 for PRSIM TABLE, P_FILE2 for PRISM_LOC, P_FILE3 for PRISM_SAL  and P_FILE4 for JOB_KEY_CODE tables . Once the data is read from the flat files than it has to be downloaded in the appropriate table. The data is all coma delimited.&lt;/P&gt;&lt;P&gt;Can you help, please.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 21:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997993#M708151</guid>
      <dc:creator>fhfarooqui1913</dc:creator>
      <dc:date>2007-11-01T21:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997994#M708152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try calling the upload function in loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;upload&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and set a counter to increase itself till 4 then exit.&lt;/P&gt;&lt;P&gt;loop.&lt;/P&gt;&lt;P&gt;call func 'upload'.&lt;/P&gt;&lt;P&gt;counter = counter + 1.&lt;/P&gt;&lt;P&gt;check counter le 4.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 21:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997994#M708152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T21:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997995#M708153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Samir for the help. I am wondering if you have a similar program that I can look at. I understand it better by actually looking at a program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 13:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997995#M708153</guid>
      <dc:creator>fhfarooqui1913</dc:creator>
      <dc:date>2007-11-02T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997996#M708154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want someone to code it for you???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you try and when you are stuck at someplace you ask a question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I would also say that people who help you in this way are even worse since they are getting duped into creating a program for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Nishant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you don't even know that GUI_UPLOAD is not used for uploading data in TABLES !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Nishant Rustagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 13:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997996#M708154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T13:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997997#M708155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GUI_UPLOAD is for uploading into internal table not for custom tables...you smart ass....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 17:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997997#M708155</guid>
      <dc:creator>fhfarooqui1913</dc:creator>
      <dc:date>2007-11-02T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997998#M708156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey hey hey guys....hold ur horses !! we are all proffessionals here not college kids ! lets mind our language plz.&lt;/P&gt;&lt;P&gt;Farhan&lt;/P&gt;&lt;P&gt;I think Nishant meant internal tables and not custom tables , thats understandable.&lt;/P&gt;&lt;P&gt;And what he has said , maybe the language was a little rude but believe me ites for ur good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Nishant we are not coding for him , we are just giving hime coding guidelines,he has to do the job himself eventually. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont have a sample program but you can upload in loop (see my earlier thread) into internal tables. and from those itabs you can use update modify or insert to populate your custom tables. &lt;/P&gt;&lt;P&gt;a. U have to make sure that ur internal tables have the exact same structure as ur custom table.&lt;/P&gt;&lt;P&gt;eg. data begin of itab1 occurs 100&lt;/P&gt;&lt;P&gt;       include structure ztable&lt;/P&gt;&lt;P&gt;     data end of itab1.&lt;/P&gt;&lt;P&gt;IIarly define itab2 itab3 and itab4.&lt;/P&gt;&lt;P&gt;then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt; c = c + 1.&lt;/P&gt;&lt;P&gt; case c&lt;/P&gt;&lt;P&gt;  when 1&lt;/P&gt;&lt;P&gt;  assign itab1 to &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;  when 2 &lt;/P&gt;&lt;P&gt;  assign itab2 to &amp;lt;fs&amp;gt;.....&lt;/P&gt;&lt;P&gt;  when '5'.&lt;/P&gt;&lt;P&gt;   exit.&lt;/P&gt;&lt;P&gt; call function gui_upload&lt;/P&gt;&lt;P&gt; tables&lt;/P&gt;&lt;P&gt; DATA_TAB = &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;this way u wud have all itabs uploaded.&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; move-corresponding itab1 to ztable.&lt;/P&gt;&lt;P&gt; modify ztable.&lt;/P&gt;&lt;P&gt; commit work.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Simillarly you can modify all ur ztables.&lt;/P&gt;&lt;P&gt;Disclaimer   &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Of course there are many ways of doing this, and it soes not take into &lt;/P&gt;&lt;P&gt;consideration the business complexities at ur end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Peace !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 19:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997998#M708156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-02T19:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data to four different table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997999#M708157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Samir. This time I understand, and I never meant you to write the code for me. I don't know where Nishant came from. What he doesn'tunderstand is who is going to test the program for us if I have you write the code for me and who will do the knowledge transfer. You are right, Nishant is RUDE. &lt;/P&gt;&lt;P&gt;Thanks again Samir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2007 22:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-to-four-different-table/m-p/2997999#M708157</guid>
      <dc:creator>fhfarooqui1913</dc:creator>
      <dc:date>2007-11-02T22:47:27Z</dc:date>
    </item>
  </channel>
</rss>

