<?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: Pushbutton obligatory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863576#M1321997</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;Use &lt;STRONG&gt;OBLIGATORY&lt;/STRONG&gt; key word at the end of required selection-option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2009 06:32:37 GMT</pubDate>
    <dc:creator>premal_mistry2</dc:creator>
    <dc:date>2009-07-15T06:32:37Z</dc:date>
    <item>
      <title>Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863575#M1321996</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;&lt;/P&gt;&lt;P&gt;We have a pushbutton in selection screen. We need to make that an mandatory field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&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;SS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:31:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863575#M1321996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T06:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863576#M1321997</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;Use &lt;STRONG&gt;OBLIGATORY&lt;/STRONG&gt; key word at the end of required selection-option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:32:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863576#M1321997</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2009-07-15T06:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863577#M1321998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Push Button &amp;gt;&amp;gt; Mandatory Field ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863577#M1321998</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2009-07-15T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863578#M1321999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swarna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well you cannot use it as Obligatory in the selection screen similar to the fields. You can do is put a validation in the selection screen output like: &lt;/P&gt;&lt;P&gt;IF sy-ucomm &amp;lt;&amp;gt; 'ABC'.   "something similar to this logic&lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;FS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863578#M1321999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T06:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863579#M1322000</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;give more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Push button Mandatory? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rama reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:37:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863579#M1322000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863580#M1322001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i need to make the pushbutton mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already used a function code to process some logic. So i cant use as per my requirement. This button needs to be pressed some how.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863580#M1322001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T06:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863581#M1322002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Swarna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this by using the following logic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-ucomm eq 'PUS'.
"ur logic
else.
"error message to click on push
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:47:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863581#M1322002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T06:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863582#M1322003</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 that's your requirement, what you could do is, Check if your SY-UCOMM value is the function code of the button that you pressed and not any other event. Also, adding to this functionality, if you want to press only button2 and not any other after an event like clicking button1, then you can store the SY-UCOMM value of the button1 in OK_CODE and then check if the OK_CODE is 'but1' and SY-UCOMM eq 'but2' and proceed accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display an information message asking the user to click on the button before proceeding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if sy-ucomm ne 'but1'
 "display error message
else.
 "Go ahead with your logic
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 07:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863582#M1322003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863583#M1322004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sundararaman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; write this code in AT seelction screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            IF sy-ucomm NE 'PUSH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                 MESSAGE 'Push button is mandatory' TYPE 'E'.&lt;/P&gt;&lt;P&gt;           endif.&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;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 07:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863583#M1322004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T07:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863584#M1322005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to create an icon on the pushbutton if cant make it mandatory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 07:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863584#M1322005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T07:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton obligatory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863585#M1322006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use FM 'ICON_CREATE'&lt;/P&gt;&lt;P&gt;check this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/59/348efa61c611d295750000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/59/348efa61c611d295750000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2009 07:39:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-obligatory/m-p/5863585#M1322006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-15T07:39:31Z</dc:date>
    </item>
  </channel>
</rss>

