<?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 needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816755#M918011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rakhi Bose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have understood ur problem correctly... the solution is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you require to use the internal table EVENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort the internal table by plant and material...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at internal table into workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*define a temporary internal table for getting the part of records.&lt;/P&gt;&lt;P&gt;append the workarea to internaltable2. &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;on change of material.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do what u want to do.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;STRONG&gt;endon.&lt;/STRONG&gt;&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;This is one solution to decive the records into parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is as per my understanding .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenivasulu Nallani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2008 06:52:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-22T06:52:08Z</dc:date>
    <item>
      <title>logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816749#M918005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have report where in the selection screen i have one parameter for plant and one select-option for material..I am fetching data depending upon this plant/material combination...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I run the report for Gb20. The system finds 1204 Plant/Material combinations for Gb20. Instead of submitting 1 job for 1204 combinations, I would like the system to submit 5 jobs for 1204/5 combinations each. i need the logic to devide the records based on Plant/Material combinations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 08:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816749#M918005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816750#M918006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please give some more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 10:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816750#M918006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T10:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816751#M918007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have an internal table i_marc where i have to device the records fetched into parts based on plant/material combination..&lt;/P&gt;&lt;P&gt;for plant GB20 and MATERIAL A i will have a set of data into one part.&lt;/P&gt;&lt;P&gt;for plant GB20 and MATERIAL B i will have a set of data into one part.&lt;/P&gt;&lt;P&gt;and so on..&lt;/P&gt;&lt;P&gt;how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 12:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816751#M918007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816752#M918008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope what you meant to say is based on material and plant selection, records should be processed for some other purpose. What is that ? On selected records you wanted to loop for 5 times. Am i right? So where is the problem? Just explain clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rama C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 14:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816752#M918008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T14:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816753#M918009</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;If I have usnderstood you need a internal table lt_marc with the fields matnr and werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you have to replace your parameter werks to a select-options werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the code you need the select :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr werks from marc &lt;/P&gt;&lt;P&gt;       into table t_marc&lt;/P&gt;&lt;P&gt;       where werks in so_werks&lt;/P&gt;&lt;P&gt;           and matnr in so_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to show only one field for werks, you can declare your select-options using no intervals and no extensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 15:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816753#M918009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-21T15:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816754#M918010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my question was not that..in i_marc i have some records based on matnr and plant..now i have to devide those records based on plant/material combination....and then i have to do parallel processing on those records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: rakhi bose on May 22, 2008 5:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 03:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816754#M918010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T03:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: logic needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816755#M918011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rakhi Bose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have understood ur problem correctly... the solution is as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you require to use the internal table EVENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort the internal table by plant and material...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at internal table into workarea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*define a temporary internal table for getting the part of records.&lt;/P&gt;&lt;P&gt;append the workarea to internaltable2. &lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;on change of material.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;do what u want to do.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  &lt;STRONG&gt;endon.&lt;/STRONG&gt;&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;This is one solution to decive the records into parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is as per my understanding .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenivasulu Nallani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2008 06:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/logic-needed/m-p/3816755#M918011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-22T06:52:08Z</dc:date>
    </item>
  </channel>
</rss>

