<?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: Adding a hyperlink in ALV fieldcatalog in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668551#M1447530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;Try this. In this i have given u sample. Change according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:   ls_selfield TYPE slis_selfield,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_callback_program      = sy-repid&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;i_callback_user_command = 'CALL_TCODE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                = it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM call_tcode USING r_ucomm ls_selfield LIKE ls_selfield.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CASE r_ucomm.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;WHEN '&amp;amp;IC1'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;IF ls_selfield-fieldname = 'ANLN1'.&lt;/STRONG&gt;     "ANLN1 is field name in your ALV Grid&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;CALL TRANSACTION 'AS03' AND SKIP FIRST SCREEN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here u can give conditions for as many fields u want.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDCASE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.                    " CALL_TCODE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabu S on Feb 25, 2010 6:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 05:32:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-25T05:32:05Z</dc:date>
    <item>
      <title>Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668548#M1447527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I Have created an ALV report . Now I have to add 2 columns in fieldcatalog .&lt;/P&gt;&lt;P&gt;By clicking values in first column it will drag me to tcode cooispi and by clicking&lt;/P&gt;&lt;P&gt;values in second column it should drag me to ck13N. I hv search the forum but donot find satisfactory result.&lt;/P&gt;&lt;P&gt;Plz help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apoorv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 04:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668548#M1447527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T04:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668549#M1447528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Apoorva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Check this Thread&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=82936036" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=82936036&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;I think you need Interacive ALV rather than Hyper LInk.

  call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program       = sy-cprog 
      i_callback_user_command  = 'USER_COMMAND' " This form is implemented below
      is_layout                = gs_layout
      i_callback_pf_status_set = 'SET_PF_STATUS'
      it_fieldcat              = gt_fieldcat[]
      i_save                   = gc_a
    tables
      t_outtab                 = ist_final[].


form user_command using p_ucomm    type sy-ucomm            "#EC CALLED
                        wa_selfield type slis_selfield .    "#EC CALLED
"wa_selfield contains the Line details, Field Name, Field value Etc so you can check which field is being Clicked 

  if wa_selfield-FIELDNAME = 'YOUR_FIRST_FIELD' Pass your Field name here
CALL TRANSACTION 'COOIS'
 elseif wa_selfield-FIELDNAME = 'YOUR_SECOND_FIELD' 
CALL TRANSACTION 'CO3KN'.
ENDIF.
" For More info Take Where Used List on the above Function Modul&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 05:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668549#M1447528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T05:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668550#M1447529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess the links below might help you ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/HYPERLINK" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/HYPERLINK&lt;/A&gt;&lt;EM&gt;in&lt;/EM&gt;ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/FIELD" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/FIELD&lt;/A&gt;&lt;EM&gt;CATALOG&lt;/EM&gt;OPTIONS&lt;EM&gt;IN&lt;/EM&gt;ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3513047"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know if you still need some help ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manthan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 05:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668550#M1447529</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-02-25T05:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668551#M1447530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;Try this. In this i have given u sample. Change according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA:   ls_selfield TYPE slis_selfield,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_callback_program      = sy-repid&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;i_callback_user_command = 'CALL_TCODE'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_outtab                = it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FORM call_tcode USING r_ucomm ls_selfield LIKE ls_selfield.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;CASE r_ucomm.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;WHEN '&amp;amp;IC1'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;IF ls_selfield-fieldname = 'ANLN1'.&lt;/STRONG&gt;     "ANLN1 is field name in your ALV Grid&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;CALL TRANSACTION 'AS03' AND SKIP FIRST SCREEN.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;ENDIF.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here u can give conditions for as many fields u want.&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;ENDCASE.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDFORM.                    " CALL_TCODE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabu S on Feb 25, 2010 6:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 05:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668551#M1447530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T05:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668552#M1447531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Prabu and Ram,&lt;/P&gt;&lt;P&gt;Both codes r working...&lt;/P&gt;&lt;P&gt;But when i m clicking on MATNR it is not getting appear in Material field in CK13N transaction..&lt;/P&gt;&lt;P&gt;I think i hv to use SET and GET parameter for this...&lt;/P&gt;&lt;P&gt;But I dont know the Parameter id for MATNR and AUFNR... &lt;/P&gt;&lt;P&gt;then i check table TPARA but there i also i didnot find ID's..&lt;/P&gt;&lt;P&gt;Can any of u help out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apoorv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:20:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668552#M1447531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T07:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668553#M1447532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Apoorv,&lt;/P&gt;&lt;P&gt;There is no standard parameter ID as such, you can define yours.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we had a similar requirement in our last company for Tendor Cost Request&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE COMMAND.

    WHEN '&amp;amp;IC1'.  " for double click event
      CLEAR WA.
      READ TABLE IT_TCR INTO WA_TCR INDEX SELFIELD-TABINDEX .
      SET PARAMETER ID: 'TCR' FIELD WA_TCR-TCRNO.        " set your parameter ID here.. :-)
    
        CALL TRANSACTION 'ZTCR_MPCHG'.
  
  ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit Nene ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:26:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668553#M1447532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T07:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668554#M1447533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sumit,&lt;/P&gt;&lt;P&gt;I remember , but here the called transaction is not custom infact it is SAP-Std tcode .. COOISPI..&lt;/P&gt;&lt;P&gt;So i think i need to use GET parameter in PBO of that screen. But i hv one worry in doing so &lt;/P&gt;&lt;P&gt;will it affect std transaction when i will not call it from my ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apoorv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668554#M1447533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T07:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668555#M1447534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case,&lt;/P&gt;&lt;P&gt;try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'COOISPL' USING BDC_DATA " put the field name and field value of std t code in BDC_DATA&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sumit Nene on Feb 25, 2010 8:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 07:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668555#M1447534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T07:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668556#M1447535</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 known &lt;STRONG&gt;Parameter Id&lt;/STRONG&gt; of field :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- Push cursor on the field&lt;/P&gt;&lt;P&gt;2- Push F1 to see help&lt;/P&gt;&lt;P&gt;3- push F9 (or technical information) to see technical data&lt;/P&gt;&lt;P&gt;---&amp;gt; You now can found parameter ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your example: In CK13N, the parameter ID for material is &lt;STRONG&gt;MAT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 10:41:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668556#M1447535</guid>
      <dc:creator>StMou</dc:creator>
      <dc:date>2010-02-25T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a hyperlink in ALV fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668557#M1447536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sumit,&lt;/P&gt;&lt;P&gt;Thanks !!! Now i think i can solve it..&lt;/P&gt;&lt;P&gt;I m allotting points to everyone, kindly check&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apoorv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 04:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-a-hyperlink-in-alv-fieldcatalog/m-p/6668557#M1447536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T04:35:44Z</dc:date>
    </item>
  </channel>
</rss>

