<?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: Some problem about ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596662#M866122</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 field cat put &lt;STRONG&gt;HOTSPOT = 'X'&lt;/STRONG&gt; on that particular field and then try handling the hptspot Event to download the pdf document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rose&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Mar 2008 05:17:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-20T05:17:01Z</dc:date>
    <item>
      <title>Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596660#M866120</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 report, I used ALV to display the result.  But on some particular fields which have been displayed, I want to do double click on each of them and then the related PDF document should be displayed. Can I realize it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me some suggestions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris Gu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 04:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596660#M866120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T04:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596661#M866121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when u click the any particular field the u need to capture the row id after that based on the u need to call the FM ( i.e for PDF documents) . one FM is there for PDF document, rite now don't know the name pls check in the sap sytem in (se37).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 05:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596661#M866121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T05:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596662#M866122</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 field cat put &lt;STRONG&gt;HOTSPOT = 'X'&lt;/STRONG&gt; on that particular field and then try handling the hptspot Event to download the pdf document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rose&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 05:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596662#M866122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T05:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596663#M866123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the procedure to handle Interactive ALV and the output in PDF format.&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;declare events table like this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data :
      i_events  type slis_t_event,
      w_events  like line of i_events.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Build events table .&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;w_events-name = 'USER_COMMAND' .
w_events-form = 'USER_COMMAND' .
append w_events to i_events.
clear w_events.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;pass this events table through REUSE_ALV_GRID_DISPLAY.&lt;/P&gt;&lt;P&gt;4. &lt;/P&gt;&lt;P&gt;USER_COMMAND  call back subroutines should be like this in your case. These are nowhere called using PERFORM statement in ur program.&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;USER_COMMAND subroutine should be like this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
form user_command using ucomm like sy-ucomm
                  selfield type slis_selfield.
  case ucomm .
    when '&amp;amp;IC1'. *This is for double click on ALV output*.
     *Read the table which is being displayed using FM REUSE_ALV_GRID or LIST_DISPLAY with index selfield-tabindex.*
*Then click on 6th point to display output as PDF.*
  endcase.
 endform.                    "user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;selfield structure&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;You can also handle Interactive ALV using this structure.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of slis_selfield,
         tabname type slis_tabname,
         tabindex like sy-tabix,
         sumindex like sy-tabix,
         endsum(1) type c,
         sel_tab_field type slis_sel_tab_field,
         value type slis_entry,
         before_action(1) type c,
         after_action(1) type c,
         refresh(1) type c,
         col_stable(1) type c,
         row_stable(1) type c,
*        colwidth_optimize(1) type c,
         exit(1) type c,
         fieldname type slis_fieldname,
         grouplevel type i,
         collect_from type i,
         collect_to type i,
       end of slis_selfield.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.&lt;/P&gt;&lt;P&gt;Link to get the output as PDF output.&lt;/P&gt;&lt;P&gt;[ABAP output in PDF format|http://www.jt77.com/development2/programming-07636.html] &lt;/P&gt;&lt;P&gt;I hope that this will give u some input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Venkat.O&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 06:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596663#M866123</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-03-20T06:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596664#M866124</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;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;But my problem is that I need to click some particular fields and then the detail information will be displayed. Attention: The detail information has already exist in the PDF documents which are on the server, I only need to show it. Do you have any idea? Please reply to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596664#M866124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596665#M866125</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;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;But my problem is that I need to click some particular fields and then the detail information will be displayed. Attention: The detail information has already exist in the PDF documents which are on the server, I only need to show it. Do you have any idea? Please reply to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 09:54:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596665#M866125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-20T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Some problem about ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596666#M866126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
form user_command using ucomm like sy-ucomm
                  selfield type slis_selfield.
  case ucomm .
    when '&amp;amp;IC1'. *This is for double click on ALV output*.
    if selfield-sel_tab_field = 'ITAB-PERNR'.
********Display your PDF.     
    endif.
  endcase.
 endform.                    "user_command&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check slis_selfield structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of slis_selfield,
         tabname type slis_tabname,
         tabindex like sy-tabix,
         sumindex like sy-tabix,
         endsum(1) type c,
         sel_tab_field type slis_sel_tab_field,
         value type slis_entry,
         before_action(1) type c,
         after_action(1) type c,
         refresh(1) type c,
         col_stable(1) type c,
         row_stable(1) type c,
*        colwidth_optimize(1) type c,
         exit(1) type c,
         fieldname type slis_fieldname,
         grouplevel type i,
         collect_from type i,
         collect_to type i,
       end of slis_selfield.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;you will get selected field value also using &lt;STRONG&gt;selfield-value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Venkat.O&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 10:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/some-problem-about-alv/m-p/3596666#M866126</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-03-20T10:11:57Z</dc:date>
    </item>
  </channel>
</rss>

