<?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 ALV USER Command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777953#M647559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends ,&lt;/P&gt;&lt;P&gt; I am doing one ALV Report.. Every thing working fine...Iam Using ALV user command...when I am double click on Material document number ..its going for MB03 transaction also.. Now the Issue is......&lt;/P&gt;&lt;P&gt;   I want give double click option for Material document as well as Purchase order number also.. Iam using the function code  &amp;amp;IC1 for first user command..&lt;/P&gt;&lt;P&gt;  If I am going for second  EBELN double click.. &lt;/P&gt;&lt;P&gt; what is the function code..&lt;/P&gt;&lt;P&gt;please suggest me..&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;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2007 06:20:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-30T06:20:29Z</dc:date>
    <item>
      <title>ALV USER Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777953#M647559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends ,&lt;/P&gt;&lt;P&gt; I am doing one ALV Report.. Every thing working fine...Iam Using ALV user command...when I am double click on Material document number ..its going for MB03 transaction also.. Now the Issue is......&lt;/P&gt;&lt;P&gt;   I want give double click option for Material document as well as Purchase order number also.. Iam using the function code  &amp;amp;IC1 for first user command..&lt;/P&gt;&lt;P&gt;  If I am going for second  EBELN double click.. &lt;/P&gt;&lt;P&gt; what is the function code..&lt;/P&gt;&lt;P&gt;please suggest me..&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;sampath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 06:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777953#M647559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T06:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV USER Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777954#M647560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your ALV Display function module pass the some value like "USER_COMMAND" in paramtere "I_CALLBACK_USER_COMMAND" and create Form routine with same name like "FORM user_command  USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.   Endform".&lt;/P&gt;&lt;P&gt;There you can identfy the field selected and depending on that you can call the corresponding transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Alpesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 09:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777954#M647560</guid>
      <dc:creator>alpesh_saparia3</dc:creator>
      <dc:date>2007-08-30T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV USER Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777955#M647561</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;&lt;/P&gt;&lt;P&gt;Enable hotspot for both the fields.&lt;/P&gt;&lt;P&gt;So based on the field user selecting you can call different transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 09:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777955#M647561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T09:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV USER Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777956#M647562</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;The user command will be same for both ... based on the field selection you have to navigate to Material document or purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command USING p_ucomm    LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                        p_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_selfield-field = material docuemnt field.&lt;/P&gt;&lt;P&gt;     dispaly the material docuemnt.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;     display the purchase order.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satya.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 09:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777956#M647562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T09:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV USER Command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777957#M647563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt; FORM user_command USING p_ucomm like sy-ucomm
                        p_selfield type slis_selfield.

CASE p_ucomm.
   WHEN  '&amp;amp;IC1'.
     IF p_selfield-fieldname = material_document.
      ..........
     ELSE IF p_selfield-fieldname =  'EBELN'.
     .......
     ENDIF.
ENDCASE.
ENDFORM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pasquale Isolato&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 09:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-user-command/m-p/2777957#M647563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T09:58:06Z</dc:date>
    </item>
  </channel>
</rss>

