<?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: SAP List Viewer format with diferent functionality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248450#M1014033</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;Go through the link given below :&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_view_and_form.htm" target="test_blank"&gt;http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_view_and_form.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2008 04:50:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-29T04:50:44Z</dc:date>
    <item>
      <title>SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248449#M1014032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to develop a report in SAP List Viewer format with all functionality (Filter, Sort, Summarization, Export, Save Select and Display variants, etc). How can I add the functionalities ?How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:46:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248449#M1014032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248450#M1014033</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;Go through the link given below :&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&lt;A href="http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_view_and_form.htm" target="test_blank"&gt;http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_view_and_form.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nikunj Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248450#M1014033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248451#M1014034</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;check this example programs for list viewer format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALVSD01&lt;/P&gt;&lt;P&gt;BCALV_TEST_FULLSCREEN_FILTCURR&lt;/P&gt;&lt;P&gt;BCALV_TEST_FULLSCREEN_FILTER&lt;/P&gt;&lt;P&gt;BCALV_TEST_FULLSCREEN_FILTQUAN&lt;/P&gt;&lt;P&gt;BCALV_TEST_LIST_LAYOUT&lt;/P&gt;&lt;P&gt;BCALV_TEST_LIST_EVENTS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248451#M1014034</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-07-29T04:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248452#M1014035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these all kind of functionality are already available in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use this program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zamit_0001.


type-pools: slis.

data : w_fcat1 type slis_fieldcat_alv,
       w_fcat2 type slis_fieldcat_alv,
       w_fcat3 type slis_fieldcat_alv,
       w_events type slis_alv_event,
       flayout type slis_layout_alv.


data : t_fcat1 type slis_t_fieldcat_alv,
       t_fcat2 type slis_t_fieldcat_alv,
       t_fcat3 type slis_t_fieldcat_alv,
       t_kna1 type kna1 occurs 1,
       t_vbak type vbak occurs 1,
       t_vbap type vbap occurs 1,

       t_events1 type slis_t_event,
       t_events2 type slis_t_event,
       t_events3 type slis_t_event.

w_events-name ='TOP_OF_PAGE'.
w_events-form ='TOP1'.
append w_events to t_events1.

w_events-name ='TOP_OF_PAGE'.
w_events-form = 'TOP2'.
append w_events to t_events2.

w_events-name = 'TOP_OF_PAGE'.
w_events-form = 'TOP3'.
append w_events to t_events3.
TABLES:kna1.



select * from kna1 into table t_kna1 up to 5 rows.
select * from vbak into table t_vbak up to 5 rows.
select * from vbap into table t_vbap up to 5 rows.

*perform top1.
*perform top2.
*perform top3.


perform get_data.

data: repid type sy-repid.

repid = sy-repid.

call function 'REUSE_ALV_BLOCK_LIST_INIT'
  exporting
    i_callback_program             = repid
*          I_CALLBACK_PF_STATUS_SET       = ' '
*          I_CALLBACK_USER_COMMAND        = ' '
*          IT_EXCLUDING                   =
          .


call function 'REUSE_ALV_BLOCK_LIST_APPEND'
  exporting
    is_layout                        = flayout
    it_fieldcat                      = t_fcat1
    i_tabname                        = 't_kna1'
    it_events                        = t_events1
*       IT_SORT                          =
*       I_TEXT                           = ' '
  tables
    t_outtab                         = t_kna1
*     EXCEPTIONS
*       PROGRAM_ERROR                    = 1
*       MAXIMUM_OF_APPENDS_REACHED       = 2
*       OTHERS                           = 3
          .
if sy-subrc  = 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

call function 'REUSE_ALV_BLOCK_LIST_APPEND'
  exporting
    is_layout                        = flayout
    it_fieldcat                      = t_fcat2
    i_tabname                        = 't_vbak'
    it_events                        = t_events2
*       IT_SORT                          =
*       I_TEXT                           = ' '
  tables
    t_outtab                         = t_vbak
*     EXCEPTIONS
*       PROGRAM_ERROR                    = 1
*       MAXIMUM_OF_APPENDS_REACHED       = 2
*       OTHERS                           = 3
          .
if sy-subrc = 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

call function 'REUSE_ALV_BLOCK_LIST_APPEND'
  exporting
    is_layout                        = flayout
    it_fieldcat                      = t_fcat3
    i_tabname                        = 't_vbap'
    it_events                        = t_events3
*       IT_SORT                          =
*       I_TEXT                           = ' '
  tables
    t_outtab                         = t_vbap.
*     EXCEPTIONS
*       PROGRAM_ERROR                    = 1
*       MAXIMUM_OF_APPENDS_REACHED       = 2
*       OTHERS                           = 3
.
if sy-subrc = 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'
*exporting
*          I_INTERFACE_CHECK             = ' '
*          IS_PRINT                      =
*          I_SCREEN_START_COLUMN         = 0
*          I_SCREEN_START_LINE           = 0
*          I_SCREEN_END_COLUMN           = 0
*          I_SCREEN_END_LINE             = 0
*        IMPORTING
*          E_EXIT_CAUSED_BY_CALLER       =
*          ES_EXIT_CAUSED_BY_USER        =
*        EXCEPTIONS
*          PROGRAM_ERROR                 = 1
*          OTHERS                        = 2
          .
if sy-subrc  = 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  top1
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
form top1.
  write: / 'customer information list'.
endform.                                                    "top1

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  top2
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
form top2.
  write:/ 'sales order information list'.
endform.                                                    "top2


*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  top3
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
form top3.
  write:/ 'sales item list'.
endform.                                                    "top3

*&amp;amp;--------------------------------------------------------------------*
*&amp;amp;      Form  get_data
*&amp;amp;--------------------------------------------------------------------*
*       text
*---------------------------------------------------------------------*
form get_data.

  w_fcat1-col_pos = 1.
  w_fcat1-fieldname = 'KUNNR'.
  w_fcat1-seltext_m = 'customer number'.
  w_fcat1-tabname = 'T_KNA1'.
  append w_fcat1 to t_fcat1.

  w_fcat1-col_pos = 2.
  w_fcat1-fieldname = 'NAME1'.
  w_fcat1-seltext_m = 'customer name'.
  w_fcat1-tabname = 'T_KNA1'.
  append w_fcat1 to t_fcat1.

  w_fcat1-col_pos = 3.
  w_fcat1-fieldname = 'LAND1'.
  w_fcat1-seltext_m = 'country'.
  w_fcat1-tabname = 'T_KNA1'.
  append w_fcat1 to t_fcat1.




  w_fcat2-col_pos = 1.
  w_fcat2-fieldname = 'VBELN'.
  w_fcat2-seltext_m = 'order number'.
  w_fcat2-tabname = 'T_VBAK'.
  append w_fcat2 to t_fcat2.

  w_fcat2-col_pos = 2.
  w_fcat2-fieldname = 'ERDAT'.
  w_fcat2-seltext_m = 'order date'.
  w_fcat2-tabname = 'T_VBAK'..
  append w_fcat2 to t_fcat2.

  w_fcat2-col_pos = 3.
  w_fcat2-fieldname = 'NETWR'.
  w_fcat2-seltext_m = 'order value'.
  w_fcat2-tabname = 'T_VBAK'.
  append w_fcat2 to t_fcat2.





  w_fcat3-col_pos = 1.
  w_fcat3-fieldname = 'POSNR'.
  w_fcat3-seltext_m = 'order item '.
  w_fcat3-tabname = 'T_VBAP'..
  append w_fcat3 to t_fcat3.

  w_fcat3-col_pos = 2.
  w_fcat3-fieldname = 'ARKTX'.
  w_fcat3-seltext_m = 'item description'.
  w_fcat3-tabname = 'T_VBAP'..
  append w_fcat3 to t_fcat3.

  w_fcat3-col_pos = 3.
  w_fcat3-fieldname = 'WERKS'.
  w_fcat3-seltext_m = 'plant'.
  w_fcat3-tabname = 'T_VBAP'..
  append w_fcat3 to t_fcat3.

endform.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248452#M1014035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T04:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248453#M1014036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sharma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get all these functions for free (that's the reason why to use ALV instead of stone age WRITE lists).&lt;/P&gt;&lt;P&gt;If you are not yet ready to use OO-based ALV (CL_GUI_ALV_GRID, CL_SALV_TABLE) I recommend to use fm &lt;STRONG&gt;REUSE_ALV_GRID_DISPLAY_LVC&lt;/STRONG&gt; for simple (non-hierarchical) lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very useful documentation: [An Easy Reference For ALV Grid Control|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 04:55:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248453#M1014036</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-07-29T04:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248454#M1014037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest a few references,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Standard Reference - SAP list viewer in WEBDynpro - Editing ALV|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Standard Reference - SAP list viewer in WEBDynpro - Simple example for using ALV|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Standard Reference - SAP list viewer in WEBDynpro - Using Events with ALV tables|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SAP HELP - Standard Reference for SAP List Viewer (ALV): Classic - All Functionalities|http://help.sap.com/saphelp_nw04/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that's usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 05:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248454#M1014037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T05:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248455#M1014038</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;All these functionalities are possible using ALV, please refer the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/reporting/alv/alvgrid.htm" target="test_blank"&gt;http://www.sapdev.co.uk/reporting/alv/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 05:08:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248455#M1014038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T05:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAP List Viewer format with diferent functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248456#M1014039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.sap-img.com/abap/an-interactive-alv-report.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2008 05:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-list-viewer-format-with-diferent-functionality/m-p/4248456#M1014039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-29T05:08:53Z</dc:date>
    </item>
  </channel>
</rss>

