<?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: Enabling Push Buttons in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637010#M1283087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2009 12:53:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-12T12:53:05Z</dc:date>
    <item>
      <title>Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637001#M1283078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a column of push buttons in my table control, each push button for each line item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; According to my requirement, I disabled the push button column initially, it will only get enable depending &lt;/P&gt;&lt;P&gt; upon each line item's condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like, 1st row, if rad2 = 'x' , then the push button for that line should get enabled.&lt;/P&gt;&lt;P&gt;        2nd row, if rad2 = 'X', then the push button for that line should get enabled.&lt;/P&gt;&lt;P&gt;        3rd row, if rad2 NE 'X', then the push button for that line should be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a lot , but its not happening. May be because I disabled the column based on the screen group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637001#M1283078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637002#M1283079</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 need to write the code in PBO (loop at screen and End loop) and also write based on the field names not on the screen group, if you use the screen group then it will applicable all the fields which are under that group, so it is better to user based on the screen field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637002#M1283079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637003#M1283080</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;First assign some function keys for Radio buttons..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and assign the Logic for enabling and disabling screen logic in the PBO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer:&lt;/P&gt;&lt;P&gt;Take the group1 for the screen fields that you have taken on screen as ABC and then follow code to disable fields, in PBO:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF &amp;lt;condition&amp;gt;. "as per your condition
  IF screen-group1 = 'ABC'.
    LOOP AT SCREEN.
      screen-invisible = 0. "to disable screen fields
    ENDLOOP.
    MODIFY SCREEN.
  ENDIF.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now say if you want to enable fields on some condition then you may use:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF &amp;lt;condition&amp;gt;. "as per your condition
  IF screen-group1 = 'ABC'.
    LOOP AT SCREEN.
      screen-invisible = 1.  "to enable Push Button
    ENDLOOP.
    MODIFY SCREEN.
  ENDIF.
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabhu Das on May 11, 2009 7:51 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637003#M1283080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637004#M1283081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written the code in PBO, but after radio button click the related push button has to get enabled, so this should be in PAI , right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u be more elaborative please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637004#M1283081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637005#M1283082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that should be in PBO only..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because when ever you click radio button the action is triggered it means the function key is triggered..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so all the Screen logic related to Function keys is written in PBO..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhduas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637005#M1283082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637006#M1283083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Its not working, I tried putting it under PBO, but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 14:41:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637006#M1283083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T14:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637007#M1283084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check do you assigned any function code for Radio buttons..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on the radio button and check the Fucntion code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and go to attributes in the screen and assign user-command for first radio button with some value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 19:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637007#M1283084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T19:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637008#M1283085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't write this with pusbuttons in mind, but it should help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Dynamic Setting of Field Attributes in Table Controls|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11651] &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2009 19:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637008#M1283085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-11T19:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637009#M1283086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I assigned fcode to one of the radio buttons, now whats next ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 06:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637009#M1283086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T06:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling Push Buttons</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637010#M1283087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 12:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enabling-push-buttons/m-p/5637010#M1283087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-12T12:53:05Z</dc:date>
    </item>
  </channel>
</rss>

