<?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 Using the AT-LINE SELECTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657034#M1286913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have developed a report with two ALV grid displays on one page using the OOPs method. In the first ALV there are some fields displayed like begin date, end date, partner number (rcvprn) and IDOCTP. I want a functionality such that when the user double clicks any of the partner numbers or any of the single records, transaction BDM2 should run with its selection screen filled with the values of that particular row which was selected on the ALV grid.&lt;/P&gt;&lt;P&gt;Can any one help how this can be done&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Harshad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2009 06:13:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-05T06:13:01Z</dc:date>
    <item>
      <title>Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657034#M1286913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have developed a report with two ALV grid displays on one page using the OOPs method. In the first ALV there are some fields displayed like begin date, end date, partner number (rcvprn) and IDOCTP. I want a functionality such that when the user double clicks any of the partner numbers or any of the single records, transaction BDM2 should run with its selection screen filled with the values of that particular row which was selected on the ALV grid.&lt;/P&gt;&lt;P&gt;Can any one help how this can be done&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Harshad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 06:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657034#M1286913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T06:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657035#M1286914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jsut a sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  METHOD handle_hotspot_click .
    CLEAR e_row.
    CLEAR col.
    CALL METHOD go_grid1-&amp;gt;get_current_cell
      IMPORTING
        e_row     = e_row
        es_col_id = col.
    IF col-fieldname = 'VBELN'.
      FREE MEMORY ID 'AUN'.
      READ TABLE tbl_out1[] INTO wa INDEX e_row TRANSPORTING vbeln.
      IF sy-subrc = 0.
        SET PARAMETER ID: 'AUN' FIELD wa-vbeln.
        CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
      ENDIF.
    ENDIF.
  ENDMETHOD.  
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search in forum for better results&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 06:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657035#M1286914</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-06-05T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657036#M1286915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;Thanks for your reply. Do i need to give any settings for the hotspot on my that particular GRID while dsiplaying the ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harshad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 06:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657036#M1286915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T06:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657037#M1286916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Harshad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i understand you, &lt;STRONG&gt;CALL TRANSACTION &amp;lt;T-Code&amp;gt; USING it_bdcdata&lt;/STRONG&gt; can solve out your problem for sample code Please Press &lt;STRONG&gt;F1&lt;/STRONG&gt; on CALL TRANSACTION and test sample code give at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope will help you to solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 06:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657037#M1286916</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-06-05T06:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657038#M1286917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

example

*----------------------------------------------------------------------*
*       CLASS LCL_EVENT_HANDLER DEFINITION
*----------------------------------------------------------------------*
*
*----------------------------------------------------------------------*
CLASS lcl_event_handler DEFINITION .
  PUBLIC SECTION .
    METHODS:handle_hotspot_click
    FOR EVENT hotspot_click OF cl_gui_alv_grid.
ENDCLASS.                    "LCL_EVENT_HANDLER DEFINITION

  w_fieldcat-fieldname = 'VBELN'.
  w_fieldcat-reptext =  'SAP Order'.
  w_fieldcat-hotspot = 'X'.                 &amp;lt;--------
  w_fieldcat-emphasize = 'C210'.
  w_fieldcat-tabname = 'TBL_OUT1'.
  w_fieldcat-col_pos = '8'.
  APPEND w_fieldcat TO i_fieldcat.
  CLEAR w_fieldcat.

  CALL METHOD go_grid1-&amp;gt;set_table_for_first_display
    EXPORTING
      i_structure_name = 'TBL_OUT1'
      i_default        = 'X'
      is_layout        = w_layout
    CHANGING
      it_sort          = gt_sort[]
      it_outtab        = tbl_out1
      it_fieldcatalog  = i_fieldcat.

  CREATE OBJECT w_event_click.
  SET HANDLER w_event_click-&amp;gt;handle_hotspot_click FOR go_grid1.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 07:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657038#M1286917</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-06-05T07:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using the AT-LINE SELECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657039#M1286918</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 can use ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT LINE-SELECTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then with, &lt;STRONG&gt;GET CURSOR FIELDNAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use &lt;STRONG&gt;CALL TRANSACTION 'T-CODE NAME' WITH PARAMETERS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 07:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-the-at-line-selection/m-p/5657039#M1286918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-05T07:21:58Z</dc:date>
    </item>
  </channel>
</rss>

