<?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 ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004295#M1165162</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;In the user_command,&lt;/P&gt;&lt;P&gt;check out &lt;/P&gt;&lt;P&gt;L_SELFIELD-TABINDEX &lt;/P&gt;&lt;P&gt;and L_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if the  L_SELFIELD-FIELDNAME is 'MATNR'. then call MM02&lt;/P&gt;&lt;P&gt;if L_SELFIELD-FIELDNAME is 'VBELN'. then call VA02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here MATNR and VBELN are the field names in your internal table declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need  to use the set parameter id also before calling these transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case L_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;  when 'MATNR'.&lt;/P&gt;&lt;P&gt;call transaction 'MM02'.&lt;/P&gt;&lt;P&gt;when 'VBELN'.&lt;/P&gt;&lt;P&gt;call transaction 'VA02'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2009 11:44:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-13T11:44:52Z</dc:date>
    <item>
      <title>interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004290#M1165157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;                  i am developing a interactive alv, the requirement is that when i double click on the GRID output at vbeln the screen should jump to va02, and when i double click on matnr it should jump to mm02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code i usen is given below.&lt;/P&gt;&lt;P&gt;how can i use the coding in coloum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING L_UCOMM LIKE SY-UCOMM L_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;CASE L_UCOMM.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA02'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:38:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004290#M1165157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004291#M1165158</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;Don't ask question repeatedly .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004291#M1165158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004292#M1165159</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;See ur previous question. U can find the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004292#M1165159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004293#M1165160</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;Try this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM USER_COMMAND USING L_UCOMM LIKE SY-UCOMM L_SELFIELD TYPE SLIS_SELFIELD.
CASE L_UCOMM.
WHEN '&amp;amp;IC1'.
IF L_SELFIELD-fieldname EQ 'VBELN'.
* L_SELFIELD-value holds the value of sales order
CALL TRANSACTION 'VA02'.
ELSEIF L_SELFIELD-fieldname EQ 'MATNR.
* L_SELFIELD-value holds the value of Material number
CALL TRANSACTION 'MMO2'.
ENDCASE.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004293#M1165160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004294#M1165161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check in SDN or SCN before posting any thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING L_UCOMM LIKE SY-UCOMM L_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;CASE L_UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF L_SELFIELD-FIELDNAME = 'VBELN'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSACTION 'VA02'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ELSEIF L_SELFIELD-FIELDNAME = 'MATNR'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CALL TRANSACTION 'MM02'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;ENDCASE.&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;Pratik Vora&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pratik Vora on Jan 13, 2009 12:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004294#M1165161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004295#M1165162</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;In the user_command,&lt;/P&gt;&lt;P&gt;check out &lt;/P&gt;&lt;P&gt;L_SELFIELD-TABINDEX &lt;/P&gt;&lt;P&gt;and L_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if the  L_SELFIELD-FIELDNAME is 'MATNR'. then call MM02&lt;/P&gt;&lt;P&gt;if L_SELFIELD-FIELDNAME is 'VBELN'. then call VA02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here MATNR and VBELN are the field names in your internal table declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need  to use the set parameter id also before calling these transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case L_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;  when 'MATNR'.&lt;/P&gt;&lt;P&gt;call transaction 'MM02'.&lt;/P&gt;&lt;P&gt;when 'VBELN'.&lt;/P&gt;&lt;P&gt;call transaction 'VA02'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004295#M1165162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004296#M1165163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You took the correct step, the requirement can be handled by USER_COMMAND section. The code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING L_UCOMM LIKE SY-UCOMM L_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;CASE L_UCOMM.&lt;/P&gt;&lt;P&gt;WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF rs_selfield-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;   call transaction 'VA02'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif rs_selfield-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;call transaction 'MM02'.&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;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will sinmply take you to the transactions whenever you click on VBELN or MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you some other requirement like passsing some values to the initial screen and let me know I will help you out.&lt;/P&gt;&lt;P&gt;Hope this will answer your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 11:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004296#M1165163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T11:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004297#M1165164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MULTIPLE REPEATED POST!!!VIOLATION OF RULES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[READ RULES|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="965780"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you will not do it again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 12:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004297#M1165164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T12:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004298#M1165165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 12:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/5004298#M1165165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-13T12:05:30Z</dc:date>
    </item>
  </channel>
</rss>

