<?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 need logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933901#M691357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a scenario like i have 8 different assigment process and i am giving COUNT in the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if my count = 6, then only first 6 process should be done. how can i do this?&lt;/P&gt;&lt;P&gt;if it is = 4, then only first 4 should be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do th is? kindly provide the code&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;points will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 07:16:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-16T07:16:41Z</dc:date>
    <item>
      <title>need logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933901#M691357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a scenario like i have 8 different assigment process and i am giving COUNT in the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if my count = 6, then only first 6 process should be done. how can i do this?&lt;/P&gt;&lt;P&gt;if it is = 4, then only first 4 should be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do th is? kindly provide the code&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;points will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 07:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933901#M691357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T07:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: need logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933902#M691358</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;DO &amp;lt;count&amp;gt; times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_index = sy-index&lt;/P&gt;&lt;P&gt;CASE l_index.&lt;/P&gt;&lt;P&gt;WHEN 1..&lt;/P&gt;&lt;P&gt;-do process 1&lt;/P&gt;&lt;P&gt;WHEN 2.&lt;/P&gt;&lt;P&gt;do process 2..&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 07:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933902#M691358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T07:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: need logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933903#M691359</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;try this&lt;/P&gt;&lt;P&gt;i am not getting your requirement clearly &lt;/P&gt;&lt;P&gt;so i am giving you an example .... to the extent what i understood..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you give a number then it will process that many times....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: count TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: a TYPE c VALUE 'A',&lt;/P&gt;&lt;P&gt;      b TYPE c VALUE 'b',&lt;/P&gt;&lt;P&gt;      c TYPE c VALUE 'c',&lt;/P&gt;&lt;P&gt;      d type c value 'd',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      e type c value 'e',&lt;/P&gt;&lt;P&gt;      f type c value 'f',&lt;/P&gt;&lt;P&gt;      g type c value 'g',&lt;/P&gt;&lt;P&gt;      h type c value 'h'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO count TIMES.&lt;/P&gt;&lt;P&gt;  CASE sy-index.&lt;/P&gt;&lt;P&gt;    when '1'.&lt;/P&gt;&lt;P&gt;    write:/ a.&lt;/P&gt;&lt;P&gt;    when '2'.&lt;/P&gt;&lt;P&gt;    write:/ b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '3'.&lt;/P&gt;&lt;P&gt;    write:/ c.&lt;/P&gt;&lt;P&gt;when '4'.&lt;/P&gt;&lt;P&gt;    write:/ d.&lt;/P&gt;&lt;P&gt;when '5'.&lt;/P&gt;&lt;P&gt;    write:/ e.&lt;/P&gt;&lt;P&gt;when '6'.&lt;/P&gt;&lt;P&gt;    write:/ f.&lt;/P&gt;&lt;P&gt;when '7'.&lt;/P&gt;&lt;P&gt;    write:/ g.&lt;/P&gt;&lt;P&gt;when '8'.&lt;/P&gt;&lt;P&gt;    write:/ h.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 07:23:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic/m-p/2933903#M691359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T07:23:19Z</dc:date>
    </item>
  </channel>
</rss>

