<?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: ALV Reporting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426575#M204420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi can u send docs to sabteam@rediffmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2006 18:38:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-22T18:38:44Z</dc:date>
    <item>
      <title>ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426570#M204415</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;Please let me know how to start with the ALV reporting?&lt;/P&gt;&lt;P&gt;Any sites please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 17:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426570#M204415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T17:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426571#M204416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at BCALV* demo programs in SE38. Look at this &amp;lt;a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf"&amp;gt;help documentation&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 17:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426571#M204416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T17:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426572#M204417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV's are Abap List Viewer , they are one of the type of reports, more specifically can be said as reports having more functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV's concentrate more on bussines logic rather than thinking of formatting the layout , font , colors e.t.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is very simple to develop a ALV report.&lt;/P&gt;&lt;P&gt;step 1. extract all the data to be displayed in an internal table.&lt;/P&gt;&lt;P&gt;step 2. create a field catalog , which consist of the order of appearance of fields on the output.&lt;/P&gt;&lt;P&gt;step 3. pass the internal table to REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;P&gt;in the tables tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**TABLES DECLN&lt;/P&gt;&lt;P&gt;tables: vbrk,vbrp,t001.&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;type-pools: icon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***DATA DECLN.&lt;/P&gt;&lt;P&gt;data: v_vbeln like vbrk-vbeln,&lt;/P&gt;&lt;P&gt;      v_matnr like vbrp-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: c_user_command type slis_formname value 'F_USER_COMMAND',&lt;/P&gt;&lt;P&gt;           c_pf_status type slis_formname value 'F_SET_PF_STATUS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**ALV RELATED TABLES.&lt;/P&gt;&lt;P&gt;*--Field Catalog&lt;/P&gt;&lt;P&gt;data:   it_fieldcat type standard table of&lt;/P&gt;&lt;P&gt;                        slis_fieldcat_alv  with header line,&lt;/P&gt;&lt;P&gt;        it_fieldcat1 type standard table of&lt;/P&gt;&lt;P&gt;                        slis_fieldcat_alv with header line ,&lt;/P&gt;&lt;P&gt;        wa_fieldcat type slis_fieldcat_alv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Layout&lt;/P&gt;&lt;P&gt;       wa_layout type slis_layout_alv,&lt;/P&gt;&lt;P&gt;*--Sort&lt;/P&gt;&lt;P&gt;       it_sort type slis_t_sortinfo_alv,&lt;/P&gt;&lt;P&gt;       wa_sort type slis_sortinfo_alv  ,&lt;/P&gt;&lt;P&gt;**-Structure for excluding function codes&lt;/P&gt;&lt;P&gt;       wa_extab type slis_extab,&lt;/P&gt;&lt;P&gt;**-To hold function codes to be excluded in ALV toolbar&lt;/P&gt;&lt;P&gt;       it_extab type slis_t_extab.&lt;/P&gt;&lt;P&gt;***INTERNAL TABLE DECLN.&lt;/P&gt;&lt;P&gt;data: begin of it_vbrk occurs 0,&lt;/P&gt;&lt;P&gt;      vbeln like vbrk-vbeln,&lt;/P&gt;&lt;P&gt;      waerk like vbrk-waerk,&lt;/P&gt;&lt;P&gt;      vkorg like vbrk-vkorg,&lt;/P&gt;&lt;P&gt;      fkdat like vbrk-fkdat,&lt;/P&gt;&lt;P&gt;      bukrs like vbrk-bukrs,&lt;/P&gt;&lt;P&gt;      netwr like vbrk-netwr,&lt;/P&gt;&lt;P&gt;      end of it_vbrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      vbeln like vbrp-vbeln,&lt;/P&gt;&lt;P&gt;      posnr like vbrp-posnr,&lt;/P&gt;&lt;P&gt;      fkimg like vbrp-fkimg,&lt;/P&gt;&lt;P&gt;      vrkme like vbrp-vrkme,&lt;/P&gt;&lt;P&gt;      netwr like vbrp-netwr,&lt;/P&gt;&lt;P&gt;      matnr like vbrp-matnr,&lt;/P&gt;&lt;P&gt;      arktx like vbrp-arktx,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;data: it_vbrp like itab occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***selection screen.&lt;/P&gt;&lt;P&gt;selection-screen: begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_vbeln for vbrk-vbeln,&lt;/P&gt;&lt;P&gt;              s_fkdat for vbrk-fkdat obligatory,&lt;/P&gt;&lt;P&gt;                s_matnr for vbrp-matnr.&lt;/P&gt;&lt;P&gt;selection-screen: end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**INITIALIZATION.&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;  s_fkdat-low = sy-datum - 200.&lt;/P&gt;&lt;P&gt;  s_fkdat-high = sy-datum.&lt;/P&gt;&lt;P&gt;  append s_fkdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;  if not s_vbeln is initial.&lt;/P&gt;&lt;P&gt;    select single vbeln from vbrk&lt;/P&gt;&lt;P&gt;           into v_vbeln&lt;/P&gt;&lt;P&gt;           where vbeln in s_vbeln.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message e001(zz2).&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  if not s_matnr is initial.&lt;/P&gt;&lt;P&gt;    select single matnr from mara&lt;/P&gt;&lt;P&gt;           into v_matnr&lt;/P&gt;&lt;P&gt;           where matnr in s_matnr.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message e001(zz2).&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform get_data_vbrk.&lt;/P&gt;&lt;P&gt;  perform get_data_vbrp.&lt;/P&gt;&lt;P&gt;***END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;*--Sort the Output Fields&lt;/P&gt;&lt;P&gt;perform sort_fields.&lt;/P&gt;&lt;P&gt;*--Build Field catalog for the Output fields&lt;/P&gt;&lt;P&gt;  perform get_field_catalog.&lt;/P&gt;&lt;P&gt;***MODIFY LAYOUT.&lt;/P&gt;&lt;P&gt;perform modify_layout.&lt;/P&gt;&lt;P&gt;*--Display ALV output&lt;/P&gt;&lt;P&gt;  perform list_disp  tables it_vbrk&lt;/P&gt;&lt;P&gt;                           using  c_user_command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_DATA_VBRK&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data_vbrk.&lt;/P&gt;&lt;P&gt;  select vbeln&lt;/P&gt;&lt;P&gt;         waerk&lt;/P&gt;&lt;P&gt;         vkorg&lt;/P&gt;&lt;P&gt;         fkdat&lt;/P&gt;&lt;P&gt;         bukrs&lt;/P&gt;&lt;P&gt;         netwr&lt;/P&gt;&lt;P&gt;         into table it_vbrk&lt;/P&gt;&lt;P&gt;         from vbrk&lt;/P&gt;&lt;P&gt;         where vbeln in s_vbeln&lt;/P&gt;&lt;P&gt;         and fkdat in s_fkdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " GET_DATA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_DATA_VBRP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_data_vbrp .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; SELECT VBELN&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        POSNR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FKIMG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        VRKME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        NETWR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        MATNR&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARKTX&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FROM VBRP&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        INTO TABLE IT_VBRP&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FOR ALL ENTRIES IN IT_VBRK&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WHERE VBELN = IT_VBRK-VBELN.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  select vbeln&lt;/P&gt;&lt;P&gt;         posnr&lt;/P&gt;&lt;P&gt;         fkimg&lt;/P&gt;&lt;P&gt;         vrkme&lt;/P&gt;&lt;P&gt;         netwr&lt;/P&gt;&lt;P&gt;         matnr&lt;/P&gt;&lt;P&gt;         arktx&lt;/P&gt;&lt;P&gt;         from vbrp&lt;/P&gt;&lt;P&gt;         into table itab&lt;/P&gt;&lt;P&gt;         for all entries in it_vbrk&lt;/P&gt;&lt;P&gt;         where vbeln = it_vbrk-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " GET_DATA_VBRP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  GET_FIELD_CATALOG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form get_field_catalog .&lt;/P&gt;&lt;P&gt;  call function 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_program_name         = sy-repid&lt;/P&gt;&lt;P&gt;      i_internal_tabname     = 'IT_VBRK'&lt;/P&gt;&lt;P&gt;      i_inclname             = sy-repid&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      ct_fieldcat            = it_fieldcat[]&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;      program_error          = 2&lt;/P&gt;&lt;P&gt;      others                 = 3.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&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;endform.                    " GET_FIELD_CATALOG&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  SORT_FIELDS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form sort_fields .&lt;/P&gt;&lt;P&gt;  clear wa_sort.&lt;/P&gt;&lt;P&gt;  wa_sort-spos = '01'.&lt;/P&gt;&lt;P&gt;  wa_sort-fieldname = 'VBELN' .&lt;/P&gt;&lt;P&gt;  wa_sort-tabname   = 'IT_VBRK'.&lt;/P&gt;&lt;P&gt;  wa_sort-up        = 'X'.&lt;/P&gt;&lt;P&gt;  append wa_sort to it_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear  wa_sort.&lt;/P&gt;&lt;P&gt;  wa_sort-spos = '02'.&lt;/P&gt;&lt;P&gt;  wa_sort-fieldname = 'POSNR' .&lt;/P&gt;&lt;P&gt;  wa_sort-tabname   = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_sort-up        = 'X'.&lt;/P&gt;&lt;P&gt;  append wa_sort to it_sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " SORT_FIELDS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  MODIFY_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form modify_layout .&lt;/P&gt;&lt;P&gt;  wa_layout-default_item = 'X'.&lt;/P&gt;&lt;P&gt;  wa_layout-zebra = 'X'.&lt;/P&gt;&lt;P&gt;  wa_layout-expand_fieldname = 'EXPAND'.&lt;/P&gt;&lt;P&gt;  wa_layout-colwidth_optimize = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " MODIFY_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  LIST_DISP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form list_disp  tables   p_it_vbrk&lt;/P&gt;&lt;P&gt;                   using    p_user_command type slis_formname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_CALLBACK_PROGRAM       = SY-REPID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_CALLBACK_PF_STATUS_SET = 'POPUP'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IS_LAYOUT                = WA_LAYOUT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_FIELDCAT              = IT_FIELDCAT[]&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_EXCLUDING             = IT_EXTAB[]&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     T_OUTTAB                 = IT_VBRK&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     PROGRAM_ERROR            = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS                   = 2.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      i_callback_pf_status_set = 'POPUP'&lt;/P&gt;&lt;P&gt;      i_callback_user_command  = 'HANDLE_USER_COMMAND'&lt;/P&gt;&lt;P&gt;      is_layout                = wa_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat              = it_fieldcat[]&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab                 = p_it_vbrk&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error            = 1&lt;/P&gt;&lt;P&gt;      others                   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " LIST_DISP&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;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  POPUP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;P_EXTAB    text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form popup using it_extab type slis_t_extab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*- Pf status&lt;/P&gt;&lt;P&gt;  set pf-status 'POPUP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                 " POPUP&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form F_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form handle_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;  case r_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;        clear it_fieldcat1[].&lt;/P&gt;&lt;P&gt;        clear it_vbrp[].&lt;/P&gt;&lt;P&gt;        if rs_selfield-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;        read table it_vbrk index rs_selfield-tabindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        loop at itab where vbeln = it_vbrk-vbeln.&lt;/P&gt;&lt;P&gt;        move-corresponding itab to it_vbrp.&lt;/P&gt;&lt;P&gt;        append it_vbrp.&lt;/P&gt;&lt;P&gt;        endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        perform interactive_report.&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;&lt;/P&gt;&lt;P&gt;endform.                    "HANDLE_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  INTERACTIVE_REPORT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form interactive_report .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_PROGRAM_NAME         = SY-REPID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_INTERNAL_TABNAME     = 'ITAB'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_INCLNAME             = SY-REPID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   CHANGING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     CT_FIELDCAT            = IT_FIELDCAT1[]&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     INCONSISTENT_INTERFACE = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     PROGRAM_ERROR          = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS                 = 3.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;/LI&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'VBELN'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_l = 'BILLING DOC'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 1.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'POSNR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_l = 'ITEM'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 2.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'FKIMG'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'INV QTY'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 3.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'VRKME'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'SALES UNIT'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 4.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'NETWR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'NET PRICE'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-do_sum = 'X'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 5.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 6.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'ARKTX'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_m = 'SALES ORDER'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-tabname = 'IT_VBRP'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-col_pos  = 7.&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear wa_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_CALLBACK_PROGRAM       = SY-REPID&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IS_LAYOUT                = WA_LAYOUT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_FIELDCAT              = IT_FIELDCAT1[]&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IT_SORT                  = IT_SORT&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     T_OUTTAB                 = IT_VBRP&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     PROGRAM_ERROR            = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     OTHERS                   = 2.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;      is_layout          = wa_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat        = it_fieldcat1[]&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab           = it_vbrp&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error      = 1&lt;/P&gt;&lt;P&gt;      others             = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id sy-msgid type sy-msgty number sy-msgno&lt;/P&gt;&lt;P&gt;            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " INTERACTIVE_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alvhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alvhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/8d/e994374c9cd355e10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/8d/e994374c9cd355e10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/ppt/alv.ppt" target="test_blank"&gt;http://www.sappoint.com/ppt/alv.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_basic.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/mpioud/Abap_programs.html" target="test_blank"&gt;http://www.geocities.com/mpioud/Abap_programs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/a0/db3f37c6c80c71e10000009b38f936/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/a0/db3f37c6c80c71e10000009b38f936/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFLV/CAGTFLV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFLV/CAGTFLV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope these help,&lt;/P&gt;&lt;P&gt;do reward if it helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 17:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426572#M204417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T17:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426573#M204418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALV &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/mpioud/Abap_programs.html" target="test_blank"&gt;http://www.geocities.com/mpioud/Abap_programs.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me your mail id.I'll send you some good doc.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 17:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426573#M204418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T17:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426574#M204419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Pavan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTRODUCTION&lt;/P&gt;&lt;P&gt;&amp;#149;	 The common features of report are column    alignment, sorting, filtering, subtotals, totals etc. To implement these, a lot of coding and logic is to be put. To avoid that we can use a concept called ABAP List Viewer (ALV).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	 Using ALV, we can have three types of reports:&lt;/P&gt;&lt;P&gt;   1. Simple Report&lt;/P&gt;&lt;P&gt;   2. Block Report&lt;/P&gt;&lt;P&gt;   3. Hierarchical Sequential Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some function modules which will enable to produce the above reports without much effort. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the definitions of internal tables, structures&lt;/P&gt;&lt;P&gt;and constants are declared in a type-pool called SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIMPLE REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.	Simple Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important function modules are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	Reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	Reuse_alv_fieldcatalog_merge&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	Reuse_alv_commentary_write&lt;/P&gt;&lt;P&gt;&amp;amp;#61656;	Reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_LIST_DISPLAY:  This is the function module which prints the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Export:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. I_callback_program	 : report id&lt;/P&gt;&lt;P&gt;b. I_callback_pf_status_set	 : routine where a user can set his own pf status&lt;/P&gt;&lt;P&gt;			   or change the functionality of the existing pf 				   status. &lt;/P&gt;&lt;P&gt;c.  I_callback_user_command : routine where the function codes are&lt;/P&gt;&lt;P&gt;                                                   handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d. I_structure name	: name of the dictionary table&lt;/P&gt;&lt;P&gt; e. Is_Layout		: structure to set the layout of the report&lt;/P&gt;&lt;P&gt; f. It_fieldcat		: internal table with the list of all fields and their&lt;/P&gt;&lt;P&gt;                                                  attributes which are to be printed (this table can&lt;/P&gt;&lt;P&gt;                                                  be populated automatically by the function&lt;/P&gt;&lt;P&gt;                                                 module REUSE_ALV_FIELDCATALOG_MERGE)&lt;/P&gt;&lt;P&gt;g. It_events		: internal table with a list of all possible events of ALV&lt;/P&gt;&lt;P&gt;                                                  and their corresponding routine names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  Tables:&lt;/P&gt;&lt;P&gt;	a. t_outtab	: internal table with the data to be output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_FIELDCATALOG_MERGE:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure_name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important parameters are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Export:&lt;/P&gt;&lt;P&gt;        a. I_program_name	: report id&lt;/P&gt;&lt;P&gt;        b. I_internal_tabname	: the internal output table	&lt;/P&gt;&lt;P&gt;        c. I_inclname		: include or the report name where all the dynamic&lt;/P&gt;&lt;P&gt;                                                   forms are handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    2. Changing&lt;/P&gt;&lt;P&gt;     ct_fieldcat	: an internal table with the type SLIS_T_FIELDCAT_ALV&lt;/P&gt;&lt;P&gt;                                  which is declared in the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C . REUSE_ALV_EVENTS_GET:   Returns table of possible events for a a list type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.	Import:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Et_Events :   The event table is returned with all possible&lt;/P&gt;&lt;P&gt;                         CALLBACK events for the specified list type&lt;/P&gt;&lt;P&gt;                         (column &amp;#145;NAME&amp;#146;).  For events to be processed by&lt;/P&gt;&lt;P&gt;                         the Callback, their &amp;#145;FORM&amp;#146; field must be filled. If&lt;/P&gt;&lt;P&gt;                         the field is initialized, the event is ignored. The&lt;/P&gt;&lt;P&gt;                         entry can be read from the event table, the field&lt;/P&gt;&lt;P&gt;                        &amp;#145;FORM&amp;#146; filled and the entry modified using&lt;/P&gt;&lt;P&gt;                          constants from the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Export:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I_list_type: &lt;/P&gt;&lt;P&gt;          0 = simple list&lt;/P&gt;&lt;P&gt;          1 = hierarchical-sequential list         	 &lt;/P&gt;&lt;P&gt;          2 = simple block list&lt;/P&gt;&lt;P&gt;          3 = hierarchical-sequential block list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_COMMENTARY_WRITE : This is used in the Top-of-page event to print the headings and other comments for the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. It_list_commentary : Internal table with the headings of the type slis_t_listheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    This internal table has three fields:&lt;/P&gt;&lt;P&gt;    Typ : &amp;#145;H&amp;#146; - header, &amp;#145;S&amp;#146; - selection, &amp;#145;A&amp;#146; - action&lt;/P&gt;&lt;P&gt;    Key : only when typ is &amp;#145;S&amp;#146;.&lt;/P&gt;&lt;P&gt;    Info : the text to be printed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E. REUSE_ALV_GRID_DISPLAY: A new function in 4.6 version, to display the results in grid rather than as a list. &lt;/P&gt;&lt;P&gt;    Parameters : same as reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example of a simple list is as follows:&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;&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;HIERARCHICAL REPORTS&lt;/P&gt;&lt;P&gt;Hierarchical sequential list output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.  REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Export:&lt;/P&gt;&lt;P&gt;    a. I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;    b. I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;    c. I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;    d. IS_LAYOUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e. IT_FIELDCAT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; f.  IT_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; g. I_TABNAME_HEADER : Name of the internal table in the program containing the output data of the highest hierarchy level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;h. I_TABNAME_ITEM : Name of the internal table in the program containing the output data of the lowest hierarchy level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. IS_KEYINFO : This structure contains the header and item table field names which link the two tables (shared key). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Tables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a. T_OUTTAB_HEADER  : Header table with data to be output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  b. T_OUTTAB_ITEM       :  Name of the internal table in the program containing the  output data of the lowest hierarchy level.&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to display multiple lists continuously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The important functions used in this report are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     D.  REUSE_ALV_BLOCK_HS_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     C. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A. REUSE_ALV_BLOCK_LIST_INIT&lt;/P&gt;&lt;P&gt;      Parameters:&lt;/P&gt;&lt;P&gt;         a.  I_CALLBACK_PROGRAM&lt;/P&gt;&lt;P&gt;         b.  I_CALLBACK_PF_STATUS_SET&lt;/P&gt;&lt;P&gt;         c.  I_CALLBACK_USER_COMMAND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used to set the default GUI status etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export :&lt;/P&gt;&lt;P&gt;        a. IS_LAYOUT    :  layout settings for block&lt;/P&gt;&lt;P&gt;        b. IT_FIELDCAT :  field catalog&lt;/P&gt;&lt;P&gt;        c. I_TABNAME   : Internal table name of the output data&lt;/P&gt;&lt;P&gt;       d.  IT_EVENTS     : internal table name with all        	                     			 possible events &lt;/P&gt;&lt;P&gt;Tables : &lt;/P&gt;&lt;P&gt;       a.  T_OUTTAB     : internal table with output data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This function module adds the data to the block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_LIST_HS_APPEND : -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is used to append the Hierarchical Sequential blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : All the parameters are optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module display the list with data appended by the above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the functions REUSE_ALV_FIELDCATALOG_MERGE, REUSE_ALV_EVENTS_GET, REUSE_ALV_COMMENTARY_WRITE can be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTERNAL TABLES IN SLIS   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Slis_t_fieldcat_alv : This internal table contains the field attributes. This internal table can be populated automatically by using &amp;#145;REUSE_ALV_FIELDCATALOG_MERGE&amp;#146;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important Attributes:&lt;/P&gt;&lt;P&gt;a. col_pos		: 	position of the column&lt;/P&gt;&lt;P&gt;b. fieldname		: 	internal fieldname&lt;/P&gt;&lt;P&gt;c. tabname		: 	internal table name&lt;/P&gt;&lt;P&gt;d. ref_fieldname	                : 	fieldname (dictionary)&lt;/P&gt;&lt;P&gt;e. ref_tabname		: 	table (dictionary)&lt;/P&gt;&lt;P&gt;f. key(1)		                : 	column with key-color&lt;/P&gt;&lt;P&gt;g. icon(1)			: 	icon&lt;/P&gt;&lt;P&gt;h. hotspot(1)		: 	hotspot&lt;/P&gt;&lt;P&gt;i. Symbol(1)		:	symbol&lt;/P&gt;&lt;P&gt; j. Checkbox(1)		:	checkbox&lt;/P&gt;&lt;P&gt; k. just(1)		:	(R)ight (L)eft (C)ent&lt;/P&gt;&lt;P&gt;  l. do_sum(1)		:	sum up&lt;/P&gt;&lt;P&gt; m. no_out(1)		:	(O)blig. (X)no out&lt;/P&gt;&lt;P&gt; n. outputlen		:	output length&lt;/P&gt;&lt;P&gt; o. seltext-l		:	long key word&lt;/P&gt;&lt;P&gt; p. seltext_m		:	middle key word	&lt;/P&gt;&lt;P&gt; q. seltext_s		:	short key word&lt;/P&gt;&lt;P&gt; r. reptext_ddic		:	heading(ddic)&lt;/P&gt;&lt;P&gt; s. ddictxt(1)		:	(S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt; t. datatype		:	datatype&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.    SLIS_T_EVENT     :   Internal table for storing all the possible events of the ALV.  This can be populated by the function module Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The columns are : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	name		:	name of the event&lt;/P&gt;&lt;P&gt;&amp;#149;	form  		: 	name of the routine&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNTAXES FOR THE ROUTINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	   I_CALLBACK_PF_STATUS_SET  &lt;/P&gt;&lt;P&gt;Syntax : &lt;/P&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table RT_EXTAB contains the function codes which are hidden in the  standard interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	   I_CALLBACK_USER_COMMAND  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Syntax  : &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;The parameter r_ucomm contains the function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure rs_selfield has the details about the current cursor position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if you require example programs i will send it.&amp;lt;/b&amp;gt;&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;Laxmi.&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Laxmi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 18:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426574#M204419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T18:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426575#M204420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi can u send docs to sabteam@rediffmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 18:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426575#M204420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T18:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426576#M204421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  Have a look at these Links&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALVGRID with refresh&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html" target="test_blank"&gt;http://www.geocities.com/mpioud/Z_DEMO_ALV_REFRESH_BUTTON.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALV Group Heading&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu037.htm" target="test_blank"&gt;http://www.sap-img.com/fu037.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm" target="test_blank"&gt;http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALV all Imp&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/mpioud/Abap_programs.html" target="test_blank"&gt;http://www.geocities.com/mpioud/Abap_programs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu002.htm" target="test_blank"&gt;http://www.sap-img.com/fu002.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alvhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alvhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_events.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_events.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALV Documentation for Field&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.mpls.k12.mn.us/sites/f7071225-9844-4da6-96c0-996b9c74b221/uploads/SAP_Navigation_Training2.ppt" target="test_blank"&gt;http://www.mpls.k12.mn.us/sites/f7071225-9844-4da6-96c0-996b9c74b221/uploads/SAP_Navigation_Training2.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. Please give me general info on ALV.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58286" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58286&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=76490" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=76490&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20591" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20591&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=66305" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=66305&lt;/A&gt; - this one discusses which way should you use - ABAP Objects calls or simple function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2. How do I program double click in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=11601" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=11601&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=23010" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=23010&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;3. How do I add subtotals (I have problem to add them)...&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20386" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20386&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=85191" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=85191&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88401" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88401&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=17335" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=17335&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4. How to add list heading like top-of-page in ABAP lists?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58775" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58775&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=60550" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=60550&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=16629" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=16629&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;5. How to print page number / total number of pages X/XX in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=29597" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=29597&lt;/A&gt; (no direct solution) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;6. ALV printing problems.&amp;lt;/b&amp;gt; The favourite is: The first page shows the number of records selected but I don't need this. &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=64320" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=64320&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=44477" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=44477&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;7. How can I set the cell color in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=52107" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=52107&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;8. How do I print a logo/graphics in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=81149" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=81149&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=35498" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=35498&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=5013" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=5013&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;9. How do I create and use input-enabled fields in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=84933" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=84933&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=69878" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=69878&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;10. How can I use ALV for reports that are going to be run in background?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=83243" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=83243&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=19224" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=19224&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;11. How can I display an icon in ALV?&amp;lt;/b&amp;gt; (Common requirement is traffic light icon). &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=79424" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=79424&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=24512" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=24512&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;12. How can I display a checkbox in ALV?&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88376" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88376&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=40968" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=40968&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=6919" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=6919&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 18:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426576#M204421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T18:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426577#M204422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan,&lt;/P&gt;&lt;P&gt;check this link,u will find a lot of information on alvs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 19:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426577#M204422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T19:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reporting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426578#M204423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go Browse &amp;amp; practice all the programs under SLIS package/dev. class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 20:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reporting/m-p/1426578#M204423</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-22T20:07:46Z</dc:date>
    </item>
  </channel>
</rss>

