<?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: records adding and disabling pushbutton in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639366#M1092145</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;deaclare a counter = number you had given.&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;if counter &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;then add&lt;/P&gt;&lt;P&gt;count--.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write you can't add.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lokesh Tripathi on Oct 21, 2008 1:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 11:22:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T11:22:18Z</dc:date>
    <item>
      <title>records adding and disabling pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639364#M1092143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello frds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a field in which i have to enter a NO.&lt;/P&gt;&lt;P&gt;for ex:     No of persons    3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i enter 3 in the above field i have to fill  respective fields and press ADD button after each record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entering 3rd record ADD button should be disabled or passs an error message .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PPLZ help me with the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:02:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639364#M1092143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: records adding and disabling pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639365#M1092144</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 can make it invisible during runtime.&lt;/P&gt;&lt;P&gt;At the event, AT SELECTION-SCREEN OUTPUT. you can turn attributes on and off for screen elements. In this case, invisible = 1, makes the element invisible, 0 makes is visible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is a short sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zrich_0001.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_check type c.&lt;/P&gt;&lt;P&gt;selection-screen pushbutton 40(20) gocfg &lt;/P&gt;&lt;P&gt;                     user-command gocfg.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screen-name = 'GOCFG'.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;      modify screen.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639365#M1092144</guid>
      <dc:creator>satsrockford</dc:creator>
      <dc:date>2008-10-21T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: records adding and disabling pushbutton</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639366#M1092145</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;deaclare a counter = number you had given.&lt;/P&gt;&lt;P&gt;loop&lt;/P&gt;&lt;P&gt;if counter &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;then add&lt;/P&gt;&lt;P&gt;count--.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write you can't add.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Lokesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lokesh Tripathi on Oct 21, 2008 1:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/records-adding-and-disabling-pushbutton/m-p/4639366#M1092145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:22:18Z</dc:date>
    </item>
  </channel>
</rss>

