<?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 HI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138857#M745890</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 am uploading one file with matnr,vkorg,vtweg through internal table(t_file)....and after calling GUI_UPLOAD,I have to check the internal table data with MVKE(matnr,vkorg,vtweg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record exists then I have to delete the record and I have to send the record to as an errored  record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me the logic????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward will be given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 04:54:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-19T04:54:12Z</dc:date>
    <item>
      <title>HI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138857#M745890</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 am uploading one file with matnr,vkorg,vtweg through internal table(t_file)....and after calling GUI_UPLOAD,I have to check the internal table data with MVKE(matnr,vkorg,vtweg).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record exists then I have to delete the record and I have to send the record to as an errored  record..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me the logic????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward will be given.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 04:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138857#M745890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T04:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: HI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138858#M745891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;1   first fetch the records to a internal table(itab) GUI UPLOAD&lt;/P&gt;&lt;P&gt;2   loop through the internal table(itab) and check the condition u want.&lt;/P&gt;&lt;P&gt;3   if the conditon is true then move the record to another internal      table(jtab) and delete the record from the present table(itab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4 loop at jtab and display in output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 05:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138858#M745891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T05:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: HI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138859#M745892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. data into t_file gui_upload&lt;/P&gt;&lt;P&gt;2. select * from MVKE &lt;/P&gt;&lt;P&gt;         into t_mvke.&lt;/P&gt;&lt;P&gt;3.  loop at smaller table and sort and read t_mvke with key and use binary search for quick processing.&lt;/P&gt;&lt;P&gt;4. loop at t_file &lt;/P&gt;&lt;P&gt;            read table t_mvke.&lt;/P&gt;&lt;P&gt;     if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;       delete t_file.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 05:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138859#M745892</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-19T05:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: HI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138860#M745893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data: t_index type sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select matnr vkorg vtweg from mvke into it_mvke for all entries in t_file where matnr = t_file-matnr and vkorg in t_file-vkorg and vtweg in t_file-vtweg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at t_file.&lt;/P&gt;&lt;P&gt; t_index = sy-tabix.&lt;/P&gt;&lt;P&gt;  Read table it_mvke with key matnr = t_file-matnr vkorg =  t_file- vkorg vtweg = t_file-vtweg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  delete t_file index t_index.&lt;/P&gt;&lt;P&gt; Endif.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 05:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138860#M745893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T05:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: HI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138861#M745894</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;Check this code.I think this will help you.&lt;/P&gt;&lt;P&gt;loop at t_file into wa_file.&lt;/P&gt;&lt;P&gt; Read table t_mvke into wa_mvke with key matnr = wa_file-matnr&lt;/P&gt;&lt;P&gt;                                                              vkorg = wa_file-vkorg&lt;/P&gt;&lt;P&gt;                                                              vtweg = wa_file-vtweg.&lt;/P&gt;&lt;P&gt;if sy-subrc = '0'.&lt;/P&gt;&lt;P&gt; append wa_file into t_error.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt; append wa_file into t_file2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shibin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 06:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3138861#M745894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T06:34:06Z</dc:date>
    </item>
  </channel>
</rss>

