<?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: logic help! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768136#M906707</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;You might try out this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT gt_po BY lifnr ebeln.   "if you have performance issues, use SORT&lt;/P&gt;&lt;P&gt;LOOP AT gt_vendor INTO gs_vendor.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LOOP AT gt_po INTO gs_po WHERE lifnr = gs_vendor-lifnr.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamás&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tamás Nyisztor on Apr 29, 2008 11:14 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Apr 2008 09:14:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-29T09:14:01Z</dc:date>
    <item>
      <title>logic help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768135#M906706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi frnds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the requirement is for contract details report..&lt;/P&gt;&lt;P&gt;i have to first select first vendor then process corresponding po's individually&lt;/P&gt;&lt;P&gt;then come back to second vendor and process its po's individually ... goes on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that, i took two loops for vendor and po of same content..&lt;/P&gt;&lt;P&gt;i am doing with on change of ..&lt;/P&gt;&lt;P&gt;for the first vendor and and its po's its working..&lt;/P&gt;&lt;P&gt;its coming back to vendor and when it goes into second loop for its po's ... it processing the first po of the&lt;/P&gt;&lt;P&gt;table ... but i want to take and process its corresponding po's and repeat..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768135#M906706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: logic help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768136#M906707</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;You might try out this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT gt_po BY lifnr ebeln.   "if you have performance issues, use SORT&lt;/P&gt;&lt;P&gt;LOOP AT gt_vendor INTO gs_vendor.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;LOOP AT gt_po INTO gs_po WHERE lifnr = gs_vendor-lifnr.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamás&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tamás Nyisztor on Apr 29, 2008 11:14 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768136#M906707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: logic help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768137#M906708</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;read the second loop using where condition ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at po_tab where vendor = vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768137#M906708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: logic help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768138#M906709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     One thing you can do is get all then vendors into an internal table, so based on vendors u can select the relevant vendors by using loop statement. the other way if you want to process using only one internal table,&lt;/P&gt;&lt;P&gt;make sure lifnr is set as 1st field of the internal table and then the PO field. now use AT NEW or AT END OF based on your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravind M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 09:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-help/m-p/3768138#M906709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-29T09:20:08Z</dc:date>
    </item>
  </channel>
</rss>

