<?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: Double-Click event for a push-button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726723#M896974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant any input or output field - you can also make an output field look like a field label, if that's the appearance your want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2008 12:15:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-07T12:15:06Z</dc:date>
    <item>
      <title>Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726718#M896969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       I have a dialog program where I have suppose 2 screens. In the first screen I have a push button. When I click that push button the 2nd screen gets displayed. Now I want the second screen to get displayed on double-click of the push-button and not single click. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to achieve this. Where in the properties it needs to be modified that that the triggering action for the push-button is double-click instead of single click,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Lalitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726718#M896969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726719#M896970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to call your function like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = z_variant-report &lt;/P&gt;&lt;P&gt;(or your program name, not sy-repid because this will &lt;/P&gt;&lt;P&gt;change during the use of ALV Grid) &lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND = 'USER_COMMAND2' &lt;/P&gt;&lt;P&gt;(or some other name) &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you define your form: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command2 using r_ucomm like sy-ucomm &lt;/P&gt;&lt;P&gt;rs_selfield type slis_selfield. &lt;/P&gt;&lt;P&gt;case r_ucomm. &lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'. (doubleclick) &lt;/P&gt;&lt;P&gt;if rs_selfield-tabindex &amp;gt; 0 and &lt;/P&gt;&lt;P&gt;rs_selfield-sumindex le 0. &lt;/P&gt;&lt;P&gt;read table itab into wa index &lt;/P&gt;&lt;P&gt;rs_selfield-tabindex. &lt;/P&gt;&lt;P&gt;perform second_grid. &lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;endcase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then your form for the second grid: &lt;/P&gt;&lt;P&gt;form second_grid. &lt;/P&gt;&lt;P&gt;(here you can make your selections for the second grid &lt;/P&gt;&lt;P&gt;based on the row you selected into workarea wa from the &lt;/P&gt;&lt;P&gt;first grid, and then call REUSE_ALV_GRID_DISPLAY again, &lt;/P&gt;&lt;P&gt;with another field catalog, internal table etc...) &lt;/P&gt;&lt;P&gt;endform. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726719#M896970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726720#M896971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;                    My screens are in a dialog program. Not ALV grids.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 11:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726720#M896971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726721#M896972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A push button is triggered on a single click - if you want something that a double-click will work on, then a standard field can be used and the F2 / Select / Pick handled in your logic via sy-ucomm / your OK-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726721#M896972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726722#M896973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;                   Thanks for your reply. Can you please elaborate what is a standard field. how do I create it on screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vishnu Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726722#M896973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726723#M896974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant any input or output field - you can also make an output field look like a field label, if that's the appearance your want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726723#M896974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726724#M896975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think push buttons work on single click , they don't on double click.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726724#M896975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726725#M896976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Text field on your screen.  In the field attributes panel, select an ICON.  Minimize the field to the size of the Icon.&lt;/P&gt;&lt;P&gt;Also on the Attribute Panel, one of the tabs has an option to "React to Double Click", you want to Check this box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the GUI Status for this screen, in Function Keys, set the F2 to have an Function Code of PICK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in your User Command routine code for OK_CODE/SY-UCOMM to call your 2nd screen when equal to 'PICK'..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 12:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726725#M896976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-07T12:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Double-Click event for a push-button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726726#M896977</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;Set the function Code to PICK for the text field to behave like a button is not working. Could you put some inputs on this how to get this working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Brijesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 08:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/double-click-event-for-a-push-button/m-p/3726726#M896977</guid>
      <dc:creator>Brijesh-Singh</dc:creator>
      <dc:date>2008-07-02T08:49:51Z</dc:date>
    </item>
  </channel>
</rss>

