<?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: Get Cursor field problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904789#M1597165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure that the field assigned to the OK_CODE matches the code of the double-click. HAve a look at the screen definition to find out the ok_code variable name and then debug to find out what a double-click's code is and also what 'enter' is. You can then put a check in your PAI module to restrict it as you require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2011 06:50:08 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2011-05-24T06:50:08Z</dc:date>
    <item>
      <title>Get Cursor field problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904788#M1597164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a screen that has some fields.&lt;/P&gt;&lt;P&gt;I enabled in PAI of that screen a code for taking the cursor position so to have double click event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The double click works ok but the problem is that it works and on "enter"  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i prevent that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to work only in double click ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE FIND_CURSOR INPUT.
*GET CURSOR FIELD ITAB_SAL-VBELN2 VALUE W_SEARCH.
  GET CURSOR FIELD FLD OFFSET OFF VALUE VAL LENGTH LEN.
  IF FLD = 'W_LIKP1' OR
     FLD = 'W_LIKP2' OR
     FLD = 'W_LIKP3' OR
     FLD = 'W_LIKP4' OR
     FLD = 'W_LIKP5'.
    IF VAL &amp;lt;&amp;gt; ''.
      SET PARAMETER ID 'VL' FIELD VAL.
      CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
    ENDIF.
  ENDIF.
  IF FLD = 'ITAB_SAL-VBELN2' OR
     FLD = 'ITAB_SAL-VBELN3' OR
     FLD = 'ITAB_SAL-VBELN4' OR
     FLD = 'ITAB_SAL-VBELN5'.
    IF VAL &amp;lt;&amp;gt; ''.
      SET PARAMETER ID 'VF' FIELD VAL.
      CALL TRANSACTION 'VF03' AND SKIP FIRST SCREEN.
    ENDIF.
  ENDIF.
  CLEAR FLD.
  CLEAR OFF.
  CLEAR VAL.
  CLEAR LEN .
ENDMODULE.                 " FIND_CURSOR  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 06:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904788#M1597164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T06:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cursor field problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904789#M1597165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure that the field assigned to the OK_CODE matches the code of the double-click. HAve a look at the screen definition to find out the ok_code variable name and then debug to find out what a double-click's code is and also what 'enter' is. You can then put a check in your PAI module to restrict it as you require.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 06:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904789#M1597165</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2011-05-24T06:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cursor field problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904790#M1597166</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;please check the content of field SY-UCOMM. This might be the field countaining the different action values (if there are differences between ENTER and DOUBLE-CLICK). Maybe you have to set a code first into that field if the event DOUBLE-CLICK occurs ...&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;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 07:22:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904790#M1597166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T07:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get Cursor field problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904791#M1597167</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;I've checked it for 'ENTER' event, in this case SY-UCOMM is initial.  e.g SY-UCOMM = ''.&lt;/P&gt;&lt;P&gt;You can check either is it same in case of double click. &lt;/P&gt;&lt;P&gt;One thing that I want to know about mouse double click. I hope you can write here for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 09:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-cursor-field-problem/m-p/7904791#M1597167</guid>
      <dc:creator>abdul_hafeez4</dc:creator>
      <dc:date>2011-05-24T09:12:55Z</dc:date>
    </item>
  </channel>
</rss>

