<?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 loop at screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290916#M787424</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 2 input box on the header line.say A and B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 12 boxes underneath the header line( 6 belongs to A and 6 belongs to B) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on the value of A and B on the header .The boxes below that must be disabled and enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if A = 2 ad B = 2.(Header input box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For A -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;2 out of 6 boxes of A must be enabled &lt;/P&gt;&lt;P&gt;For B -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;2 out of 6 boxes of B must be enabled..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture    &lt;/P&gt;&lt;P&gt;            A=      B=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            A1        B1&lt;/P&gt;&lt;P&gt;           A2         B2&lt;/P&gt;&lt;P&gt;           A3         B3&lt;/P&gt;&lt;P&gt;           A4          B4&lt;/P&gt;&lt;P&gt;           A5         B5&lt;/P&gt;&lt;P&gt;           A6         B6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please provide the code for this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P:S ...good answers will be rewarded with points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jan 2008 06:30:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-18T06:30:45Z</dc:date>
    <item>
      <title>loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290916#M787424</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 2 input box on the header line.say A and B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 12 boxes underneath the header line( 6 belongs to A and 6 belongs to B) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now based on the value of A and B on the header .The boxes below that must be disabled and enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if A = 2 ad B = 2.(Header input box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For A -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;2 out of 6 boxes of A must be enabled &lt;/P&gt;&lt;P&gt;For B -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;2 out of 6 boxes of B must be enabled..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Picture    &lt;/P&gt;&lt;P&gt;            A=      B=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            A1        B1&lt;/P&gt;&lt;P&gt;           A2         B2&lt;/P&gt;&lt;P&gt;           A3         B3&lt;/P&gt;&lt;P&gt;           A4          B4&lt;/P&gt;&lt;P&gt;           A5         B5&lt;/P&gt;&lt;P&gt;           A6         B6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please provide the code for this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P:S ...good answers will be rewarded with points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 06:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290916#M787424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T06:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290917#M787425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;     p_a type i ,&lt;/P&gt;&lt;P&gt;    p_a1 as check box,&lt;/P&gt;&lt;P&gt;    p_a2 as check box,&lt;/P&gt;&lt;P&gt;   p_a3 as checkbox,&lt;/P&gt;&lt;P&gt;   p_a4 as checkbox,&lt;/P&gt;&lt;P&gt;  p_a5 as checkbox,&lt;/P&gt;&lt;P&gt;  p_a6 as checkbox,&lt;/P&gt;&lt;P&gt;p_b type i ,&lt;/P&gt;&lt;P&gt;    p_b1 as check box ,&lt;/P&gt;&lt;P&gt;    p_b2 as check box,&lt;/P&gt;&lt;P&gt;   p_b3 as checkbox,&lt;/P&gt;&lt;P&gt;   p_b4 as checkbox,&lt;/P&gt;&lt;P&gt;  p_b5 as checkbox,&lt;/P&gt;&lt;P&gt;  p_b6 as checkbox.&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;   if w_count le p_a.&lt;/P&gt;&lt;P&gt;     w_count = w_count + 1.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;  if screen-name eq 'a(w_count)'&lt;/P&gt;&lt;P&gt;   screen-active = 1.&lt;/P&gt;&lt;P&gt;  modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt; if a gt 6.&lt;/P&gt;&lt;P&gt; error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;i did for a similary u can write for b .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Plzz reward points.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 06:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290917#M787425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T06:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290918#M787426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in PBO of dat screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;case A.&lt;/P&gt;&lt;P&gt;when '1'.&lt;/P&gt;&lt;P&gt;if screen name = A1.&lt;/P&gt;&lt;P&gt;screen-input = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when '2'.&lt;/P&gt;&lt;P&gt;...&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;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simillarly for B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 06:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290918#M787426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T06:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290919#M787427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p_a(3) type n ,&lt;/P&gt;&lt;P&gt;a1 as check box,&lt;/P&gt;&lt;P&gt;a2 as check box,&lt;/P&gt;&lt;P&gt;a3 as checkbox,&lt;/P&gt;&lt;P&gt;a4 as checkbox,&lt;/P&gt;&lt;P&gt;a5 as checkbox,&lt;/P&gt;&lt;P&gt;a6 as checkbox,&lt;/P&gt;&lt;P&gt;p_b(3) type n ,&lt;/P&gt;&lt;P&gt;b1 as check box ,&lt;/P&gt;&lt;P&gt;b2 as check box,&lt;/P&gt;&lt;P&gt;b3 as checkbox,&lt;/P&gt;&lt;P&gt;b4 as checkbox,&lt;/P&gt;&lt;P&gt;b5 as checkbox,&lt;/P&gt;&lt;P&gt;b6 as checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear: count.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; count = count + 1.&lt;/P&gt;&lt;P&gt;case screen-name.&lt;/P&gt;&lt;P&gt; when 'a1'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'a2'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'a3'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'a4'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'a5'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'a6'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_a.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b1'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b2'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b3'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b4'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b5'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;when 'b6'.&lt;/P&gt;&lt;P&gt;    if count &amp;lt;= P_b.&lt;/P&gt;&lt;P&gt;       screen-active = '1'.&lt;/P&gt;&lt;P&gt;    else. &lt;/P&gt;&lt;P&gt;       screen-active = '0'. &lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&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;In the above logic, &lt;/P&gt;&lt;P&gt;Initially if p_a = 3 is selected, first 3 checkbox will be enabled, next time if p_a = 1, then only the first one will be enabled and rest ofthem will be disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 06:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290919#M787427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T06:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290920#M787428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Vijay,&lt;/P&gt;&lt;P&gt;            Try this one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : A type i,&lt;/P&gt;&lt;P&gt;                   B type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;         filed(2) type c,&lt;/P&gt;&lt;P&gt;         field1(2) type c, &lt;/P&gt;&lt;P&gt;         temp type i, &lt;/P&gt;&lt;P&gt;         end of itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A1'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A2'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A3'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A4'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A5'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed = 'A6'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B1'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B2'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B3'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B4'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B5'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;itab-filed1 = 'B6'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab where temp LT A. &lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = ITAB-FILED.&lt;/P&gt;&lt;P&gt; screen-input = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if screen-name = ITAB-FILED1.&lt;/P&gt;&lt;P&gt; screen-input = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward points if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; Kiran Kumar.G.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 06:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290920#M787428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T06:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: loop at screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290921#M787429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for the answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had given reward points for useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2008 09:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-at-screen/m-p/3290921#M787429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-18T09:54:46Z</dc:date>
    </item>
  </channel>
</rss>

