<?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: Interactive Block ALV List in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883232#M1325269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FORM user_command  USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                    rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;if  rs_selfield-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SET PARAMETER ID 'MAT' FIELD rs_selfield-fieldname.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;Hope this can solve your problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tutun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 13:09:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-27T13:09:03Z</dc:date>
    <item>
      <title>Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883226#M1325263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Block ALV List report for displaying data from two Internal Tables. &lt;/P&gt;&lt;P&gt;Now I have to make this report as interactive Block ALV List report.&lt;/P&gt;&lt;P&gt;When the user double clicks on a filed on the ALV List, it needs to read the field name and value and call transaction depending on the fieldname.&lt;/P&gt;&lt;P&gt;E.g. &lt;EM&gt;If the fieldname is 'MATNR' then call Transaction MM03 and so on.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I am using ALV event u2018slis_ev_user_commandu2019 for this purpose.&lt;/P&gt;&lt;P&gt;But I am not getting the fieldname in structure u2018rs_selfieldu2018.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can anybody suggest me what could be the reason and how to solve this issue?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM execute_function USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                  rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF r_ucomm EQ '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CASE rs_selfield-fieldname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Display material&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      WHEN 'MATNR'.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'MAT' FIELD rs_selfield-value.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " EXECUTE_FUNCTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 20:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883226#M1325263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T20:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883227#M1325264</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;Refer to this link..&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6298191"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 20:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883227#M1325264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T20:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883228#M1325265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try This.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING r_ucomm TYPE sy-ucomm&lt;/P&gt;&lt;P&gt;                        rs_selfield TYPE slis_selfield. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CASE r_ucomm.*User clicks a transaction code and that tcode is called from ALV&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;      READ TABLE itab_final INDEX rs_selfield-tabindex INTO wa_final.&lt;/P&gt;&lt;P&gt;      IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     SET PARAMETER ID 'MAT' FIELD rs_selfield-value.&lt;/P&gt;&lt;P&gt;     CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&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;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 20:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883228#M1325265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T20:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883229#M1325266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Satish and Avinash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I need the fieldname in my code, as i have to decide on which transaction to call based on the field name. &lt;/P&gt;&lt;P&gt;I also have customer number, sales order, ..... in the same line, and i have to decide based on the field user has clicked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I need to know the fieldname, the user has clicked.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sanjay Sarode on Jul 23, 2009 4:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 20:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883229#M1325266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T20:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883230#M1325267</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;To know the field on which user has clicked use &lt;STRONG&gt;rs_selfield-fieldname&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the fieldname within the internal table that is used to display the grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 06:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883230#M1325267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T06:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883231#M1325268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please check the standard report &lt;STRONG&gt;BCALV_TEST_BLOCK_LIST&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:29:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883231#M1325268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T12:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883232#M1325269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FORM user_command  USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                    rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;if  rs_selfield-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SET PARAMETER ID 'MAT' FIELD rs_selfield-fieldname.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;Hope this can solve your problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tutun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883232#M1325269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883233#M1325270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjoy I have also facing same Prob. I need to field name on which user click.&lt;/P&gt;&lt;P&gt;How you solve your problem. Plz help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;AjoySaha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:10:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883233#M1325270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883234#M1325271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM execute_function USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.

IF r_ucomm EQ '&amp;amp;IC1'.

CASE rs_selfield-sel_tab_field.
* Display material
WHEN 'ITAB-MATNR'.
SET PARAMETER ID 'MAT' FIELD rs_selfield-value.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.

................

ENDCASE.
ENDIF.

ENDFORM. " EXECUTE_FUNCTION &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Using The field rs_selfield-sel_tab_field works for me (i had the same problem) and contains the full name (TABLE-FIELD).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883234#M1325271</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2009-09-08T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive Block ALV List</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883235#M1325272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frnd ,&lt;/P&gt;&lt;P&gt; The code you written in Form is same with me . But i my case I saw in debug that field name is not coming in &lt;/P&gt;&lt;P&gt; U_RS_SELFIELD-SEL_TAB_FIELD. So is any think need to any where. Or is there any think required in table declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F_USER_COMMAND USING u_comm TYPE sy-ucomm&lt;/P&gt;&lt;P&gt;               u_rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF U_COMM = '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;   BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CASE U_RS_SELFIELD-SEL_TAB_FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     WHEN 'TA_PROD_ORDER_DETAILS_ALV-EBELN'.&lt;/P&gt;&lt;P&gt;       BREAK ASAHA2.&lt;/P&gt;&lt;P&gt;     WHEN 'TA_PROD_ORDER_DETAILS_ALV-BANFN'.&lt;/P&gt;&lt;P&gt;       BREAK ASAHA2.&lt;/P&gt;&lt;P&gt;   ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2009 11:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-block-alv-list/m-p/5883235#M1325272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-08T11:45:42Z</dc:date>
    </item>
  </channel>
</rss>

