<?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: Is Get Cursor possible in OOPS interactive reporting? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723581#M33838</link>
    <description>&lt;P&gt;What do you mean by OOPs? Are you using CL_GUI_ALV_GRID or CL_SALV_TABLE? Or using the really old function modules?&lt;/P&gt;&lt;P&gt;If you're not using it already, try CL_SALV_TABLE. There are loads of examples of how to respond to a click or double click on the display table&lt;/P&gt;&lt;P&gt;Furthermore, when you're replying to an answer, use comment. Don't create another answer.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 11:34:28 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2018-10-08T11:34:28Z</dc:date>
    <item>
      <title>Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723580#M33837</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Hi Everyone,&lt;/P&gt;
  &lt;P&gt;Fresher here.&lt;/P&gt;
  &lt;P&gt;I wrote the similar code with oops and without oops. The issue while using oops is I'm not getting the fieldname(V1) in the get cursor line. In contrast i'm getting the Value (V2) while debugging.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt; AT LINE-SELECTION.&lt;BR /&gt; data : v1(15) type c,&lt;BR /&gt; v2(10) type c.&lt;BR /&gt; IF SY-LSIND = '1'.&lt;BR /&gt; get cursor &lt;EM&gt;&lt;STRONG&gt;field&lt;/STRONG&gt;&lt;/EM&gt; v1 value v2.&lt;BR /&gt; if v1 = 'LS-BUKRS'.&lt;/P&gt;
  &lt;P&gt; &amp;lt;Some statements.&amp;gt; &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks in Advance.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Raj.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723580#M33837</guid>
      <dc:creator>former_member590427</dc:creator>
      <dc:date>2018-10-08T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723581#M33838</link>
      <description>&lt;P&gt;What do you mean by OOPs? Are you using CL_GUI_ALV_GRID or CL_SALV_TABLE? Or using the really old function modules?&lt;/P&gt;&lt;P&gt;If you're not using it already, try CL_SALV_TABLE. There are loads of examples of how to respond to a click or double click on the display table&lt;/P&gt;&lt;P&gt;Furthermore, when you're replying to an answer, use comment. Don't create another answer.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723581#M33838</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-10-08T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723582#M33839</link>
      <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;When it comes to OOPS ALV, Please use below method for interactive reporting Also please refer this &lt;A href="https://wiki.scn.sap.com/wiki/display/Snippets/Interactive+Report+in+ALV+OOPs"&gt;OOPs ALV&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CL_GUI_ALV_GRID-&amp;gt;GET_SELECTED_ROWS( ).&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723582#M33839</guid>
      <dc:creator>Muthu_raja</dc:creator>
      <dc:date>2018-10-08T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723583#M33840</link>
      <description>&lt;P&gt;Hi Raj,&lt;/P&gt;&lt;P&gt;1&amp;gt;You have to use the below code:&lt;/P&gt;&lt;P&gt;SET HANDLER gr_event_handler-&amp;gt;handle_double_click FOR gr_alvgrid where gr_alvgrid TYPE REF TO cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;2&amp;gt; Implement the method handle_double_click USING i_row TYPE lvc_s_rowi_column TYPE lvc_s_colis_row_no TYPE lvc_s_roid.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 11:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723583#M33840</guid>
      <dc:creator>former_member540475</dc:creator>
      <dc:date>2018-10-08T11:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723584#M33841</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I appreciate your responses, that one should always go through OOPS ALV, but I was trying this for general practice and got this kind of weird output.&lt;/P&gt;&lt;P&gt;I too prefer ALV, but for understanding purpose I tried this. &lt;/P&gt;&lt;P&gt;Please justify the problem with 'INTERACTIVE OOPS' if possible.&lt;/P&gt;&lt;P&gt;Thanks for your all responses.&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723584#M33841</guid>
      <dc:creator>former_member590427</dc:creator>
      <dc:date>2018-10-08T12:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723585#M33842</link>
      <description>&lt;P&gt;Please let us know your code after AT LINE SELECTION ?? Have you used any local classes ?? &lt;/P&gt;&lt;P&gt;when copying code please use INSERT CODE block&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 12:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723585#M33842</guid>
      <dc:creator>Muthu_raja</dc:creator>
      <dc:date>2018-10-08T12:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723586#M33843</link>
      <description>&lt;P&gt;sorry, I added new answers..&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723586#M33843</guid>
      <dc:creator>former_member590427</dc:creator>
      <dc:date>2018-10-09T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is Get Cursor possible in OOPS interactive reporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723587#M33844</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/230553-wo-oops.png" /&gt;&lt;/P&gt;&lt;P&gt;1st image is without oops; 2nd image is with oops.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Basic List has EBELN BEDAT and LIFNR to Display.
""" Displaying Basic list ""
At line-selection.
if sy-lsind = 1.
  get cursor field v1 value v2.
  if v1 = 'LS_EKKO-EBELN'.
    "" calling methods to fetch the purchase order data based on V2.
  elseif v1 = 'LS_EKKO-LIFNR'.
    "" calling methods to fetch the vendor data based on v2.
  endif.
endif. 
"""End of the program"""&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:18:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-get-cursor-possible-in-oops-interactive-reporting/m-p/723587#M33844</guid>
      <dc:creator>former_member590427</dc:creator>
      <dc:date>2018-10-09T07:18:28Z</dc:date>
    </item>
  </channel>
</rss>

