<?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: Reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646603#M878176</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;ABAP List Viewer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&lt;/P&gt;&lt;P&gt;Using ALV, we can have three types of reports:&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;2. Block Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Hierarchical Sequential Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive Reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the name suggests, the user can Interact with the report. We can have a drill down into the report data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose&lt;/P&gt;&lt;P&gt;Interactive report provides you with comfortable functions for navigating through your data. &lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Interactive report are used to display multiple list in one single report&lt;/P&gt;&lt;P&gt;It has basic list and then you can navigate to one or other screens in one single report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhance the efficiency &amp;amp; transparency of Business Processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantage of ALV over Interactive:--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; Graphic Can be added&lt;/P&gt;&lt;P&gt;2&amp;gt; Less Amount Of coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive reports are the normal reports in which we can have upto 20 lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classical report can have only one list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alv report is the one which does not use write statements for the list display, instead uses function modules which looks very better than normal list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Interactive and ALV are not two different reports types.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Interctive reports means user can Intercat with the report output.&lt;/P&gt;&lt;P&gt;examples:&lt;/P&gt;&lt;P&gt;a.Double clicking on the report output.&lt;/P&gt;&lt;P&gt;b.Clicking on the buttons &lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;Interactive report can be a Classical report or ALV report&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;ALV is List presentation tool with generic functionality(Std Functions).&lt;/P&gt;&lt;P&gt;Technically If we pass Internal table to Function module or Methods it displays as Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV interactive report gives many advantages than interactive report like sorting, summing and getting graphics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interactive report generally basic list displayed. User double clicks on any valid line or user selects a line and presses as button on the tool bar. Then the corresponding event is triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nehru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 10:45:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T10:45:32Z</dc:date>
    <item>
      <title>Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646599#M878172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Why ALV reports are better than normal reports?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646599#M878172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646600#M878173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is because there are several formatting options in field catalog and many events like hotspot,double click and moreover in menu options there are so many options like sorting ,choosing layout,summation,and view as excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP provides a set of ALV (ABAP List Viewer) &amp;amp;  function modules, which can be used to enhance the readability and functionality of any report output.&lt;/P&gt;&lt;P&gt;ALV is a flexible tool used for displaying lists.The tool provides common list functions &amp;amp; can be enhanced by self-defined options.&lt;/P&gt;&lt;P&gt; ALV makes things better for you, your organization, and the people you need to communicate with.&lt;/P&gt;&lt;P&gt;ALV lets you:&lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Fonts and format text elements &lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Sorting and filtering without extra programming. &lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Totals &amp;amp; Subtotals &lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Apply and modify built-in functions&lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Add a response to a user-action (double-clicking,hotspots).&lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Print lists or export them to other applications.&lt;/P&gt;&lt;P&gt;     &amp;amp;#8227; Define and save custom output settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Built-in functionality&lt;/P&gt;&lt;P&gt;Sorting&lt;/P&gt;&lt;P&gt;Summing&lt;/P&gt;&lt;P&gt;Subtotals&lt;/P&gt;&lt;P&gt;Filtering&lt;/P&gt;&lt;P&gt;Download to external applications&lt;/P&gt;&lt;P&gt;Excel, Word, Text, .csv&lt;/P&gt;&lt;P&gt;Navigation to SAP transactions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reduced Report Development Time and Cost&lt;/P&gt;&lt;P&gt;Developer doesn&amp;#146;t have to spend as much time on report layout (columns, spacing, sorting, totals, subtotals).&lt;/P&gt;&lt;P&gt;Coding is reduced.&lt;/P&gt;&lt;P&gt;ALV  lets you emphasize, hide, and reformat list items; add graphic elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Future enhancements are minimized&lt;/P&gt;&lt;P&gt;User can select report fields, sort criteria, totals and subtotals usually without the need to request an ABAP enhancement.&lt;/P&gt;&lt;P&gt;User can save a report with a display variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reawrd if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vivek Gaur on Apr 16, 2008 12:46 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646600#M878173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646601#M878174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In alv user can use his own filters, ascending / descending orders, Coumns can be displayed according to variants.&lt;/P&gt;&lt;P&gt;Easily can get subtotals and grand totals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646601#M878174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646602#M878175</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;Normal reports need extensive coding for formatting and alignment whereas ALV have the advantage of good look and feel and also need minimal coding.Also ALV reports can be made interactive and the fields can be made editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the alv the report headers will automatically be shown based on the attributes of the field..The output length of the column, field allignment everything is taken care by the alv. Normal reports you have to take care of the alignment , report headings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:45:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646602#M878175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646603#M878176</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;ABAP List Viewer &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&lt;/P&gt;&lt;P&gt;Using ALV, we can have three types of reports:&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;2. Block Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Hierarchical Sequential Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive Reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the name suggests, the user can Interact with the report. We can have a drill down into the report data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Purpose&lt;/P&gt;&lt;P&gt;Interactive report provides you with comfortable functions for navigating through your data. &lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Interactive report are used to display multiple list in one single report&lt;/P&gt;&lt;P&gt;It has basic list and then you can navigate to one or other screens in one single report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhance the efficiency &amp;amp; transparency of Business Processes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example : Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantage of ALV over Interactive:--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; Graphic Can be added&lt;/P&gt;&lt;P&gt;2&amp;gt; Less Amount Of coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive reports are the normal reports in which we can have upto 20 lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classical report can have only one list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alv report is the one which does not use write statements for the list display, instead uses function modules which looks very better than normal list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Interactive and ALV are not two different reports types.&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Interctive reports means user can Intercat with the report output.&lt;/P&gt;&lt;P&gt;examples:&lt;/P&gt;&lt;P&gt;a.Double clicking on the report output.&lt;/P&gt;&lt;P&gt;b.Clicking on the buttons &lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;Interactive report can be a Classical report or ALV report&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;ALV is List presentation tool with generic functionality(Std Functions).&lt;/P&gt;&lt;P&gt;Technically If we pass Internal table to Function module or Methods it displays as Report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV interactive report gives many advantages than interactive report like sorting, summing and getting graphics. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interactive report generally basic list displayed. User double clicks on any valid line or user selects a line and presses as button on the tool bar. Then the corresponding event is triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nehru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646603#M878176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646604#M878177</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;using the alv the report headers will automatically be shown based on the attributes of the field..The output length of the column, field allignment everything is taken care by the alv ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;normal reports..you have to take care of the alignment , report headings..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A classical report is a program that generates a single list, which must contain all of the required detail information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) This procedure may result in extensive lists from which the user has to pick the relevant data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) For background processing, this is the only possible method. After starting a background job, there is no way of influencing the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) The desired selections must be made beforehand and the list must provide detailed information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) For dialog sessions, there are no such restrictions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5) The user is present during the execution of the program and can control and manipulate the program flow directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6) To be able to use all advantages of the online environment, classical reporting was developed into interactive reporting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV is Application List viewer. Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. The report output can contain up to 90 columns in the display with the wide array of display options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages.&lt;/P&gt;&lt;P&gt;Collapse multiple reports into one, drastically cutting down your report development time &lt;/P&gt;&lt;P&gt;Save many hours using built-in ALV sorting, subtotaling and filtering capabilities &lt;/P&gt;&lt;P&gt;Add conditional structures into your ALV report: No programming required! &lt;/P&gt;&lt;P&gt;Combine ALV with display variants to meet a wide range of reporting requirements more easily &lt;/P&gt;&lt;P&gt;Dynamically reorder column layouts and add/subtract fields &lt;/P&gt;&lt;P&gt;Enable users and analysts to save their own personalized variants &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS.&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;a. Reuse_alv_list_display&lt;/P&gt;&lt;P&gt;b. Reuse_alv_fieldcatalog_merge&lt;/P&gt;&lt;P&gt;c. Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;d. Reuse_alv_commentary_write&lt;/P&gt;&lt;P&gt;e. Reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;I. Export :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. I_callback_program : report id&lt;/P&gt;&lt;P&gt;ii. I_callback_pf_status_set : routine where a user can set his own pf status or change the functionality of the existing pf status&lt;/P&gt;&lt;P&gt;iii. I_callback_user_command : routine where the function codes are handled&lt;/P&gt;&lt;P&gt;iv. I_structure name : name of the dictionary table &lt;/P&gt;&lt;P&gt;v. Is_layout : structure to set the layout of the report&lt;/P&gt;&lt;P&gt;vi. It_fieldcat : internal table with the list of all fields and their attributes which are to be printed (this table can be populated automatically by the function module REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;vii. It_events : internal table with a list of all possible events of ALV and their corresponding form names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with the data to be output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_FIELDCATALOG_MERGE : 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;The Important Parameters are :&lt;/P&gt;&lt;P&gt;I. Export :&lt;/P&gt;&lt;P&gt;i. I_program_name : report id&lt;/P&gt;&lt;P&gt;ii. I_internal_tabname : the internal output table&lt;/P&gt;&lt;P&gt;iii. I_inclname : include or the report name where all the dynamic forms are handled.&lt;/P&gt;&lt;P&gt;II Changing&lt;/P&gt;&lt;P&gt;ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is &lt;/P&gt;&lt;P&gt;declared in the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_EVENTS_GET : Returns table of possible events for a list type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : &lt;/P&gt;&lt;P&gt;I. Import :&lt;/P&gt;&lt;P&gt;Et_Events : The event table is returned with all possible CALLBACK events &lt;/P&gt;&lt;P&gt;for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV. &lt;/P&gt;&lt;P&gt;II. Export :&lt;/P&gt;&lt;P&gt;I_List_type : &lt;/P&gt;&lt;P&gt;0 = simple list REUSE_ALV_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY &lt;/P&gt;&lt;P&gt;2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND &lt;/P&gt;&lt;P&gt;3 = hierarchical-sequential block list &lt;/P&gt;&lt;P&gt;REUSE_ALV_BLOCK_LIST_HS_APPEND&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;Parameters : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I. 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; &amp;#150; header, &amp;#145;S&amp;#146; &amp;#150; 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 preview.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example for simple list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BLOCK REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is used to have 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;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;D. REUSE_ALV_BLOCK_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Parameters: &lt;/P&gt;&lt;P&gt;I. I_CALLBACK_PROGRAM &lt;/P&gt;&lt;P&gt;II. I_CALLBACK_PF_STATUS_SET &lt;/P&gt;&lt;P&gt;III. 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;&lt;/P&gt;&lt;P&gt;B. REUSE_ALV_BLOCK_LIST_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export : &lt;/P&gt;&lt;P&gt;I. is_layout : layout settings for block &lt;/P&gt;&lt;P&gt;II. it_fieldcat : field catalog &lt;/P&gt;&lt;P&gt;III. i_tabname : internal table name with output data &lt;/P&gt;&lt;P&gt;IV. it_events : internal table with all possible events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables :&lt;/P&gt;&lt;P&gt;i. t_outtab : internal table with output data.&lt;/P&gt;&lt;P&gt;&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;Repeat this function for all the different blocks to be displayed one after the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C. REUSE_ALV_BLOCK_LIST_HS_APPEND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function module is used for hierarchical sequential blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D. 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;3. Hierarchical reports : &lt;/P&gt;&lt;P&gt;&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;Parameters: &lt;/P&gt;&lt;P&gt;I. Export: &lt;/P&gt;&lt;P&gt;i. I_CALLBACK_PROGRAM &lt;/P&gt;&lt;P&gt;ii. I_CALLBACK_PF_STATUS_SET &lt;/P&gt;&lt;P&gt;iii. I_CALLBACK_USER_COMMAND &lt;/P&gt;&lt;P&gt;iv. IS_LAYOUT &lt;/P&gt;&lt;P&gt;v. IT_FIELDCAT &lt;/P&gt;&lt;P&gt;vi. IT_EVENTS &lt;/P&gt;&lt;P&gt;vii. i_tabname_header : Name of the internal table in the program containing the &lt;/P&gt;&lt;P&gt;output data of the highest hierarchy level.&lt;/P&gt;&lt;P&gt;viii. i_tabname_item : Name of the internal table in the program containing the &lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level.&lt;/P&gt;&lt;P&gt;ix. is_keyinfo : This structure contains the header and item table field &lt;/P&gt;&lt;P&gt;names which link the two tables (shared key). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II. Tables&lt;/P&gt;&lt;P&gt;i. t_outtab_header : Header table with data to be output&lt;/P&gt;&lt;P&gt;ii. t_outtab_item : Name of the internal table in the program containing the &lt;/P&gt;&lt;P&gt;output data of the lowest hierarchy level. &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;&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. symbol(1) : symbol&lt;/P&gt;&lt;P&gt;I. checkbox(1) : checkbox&lt;/P&gt;&lt;P&gt;J. just(1) : (R)ight (L)eft (C)ent.&lt;/P&gt;&lt;P&gt;K. do_sum(1) : sum up&lt;/P&gt;&lt;P&gt;L. no_out(1) : (O)blig.(X)no out&lt;/P&gt;&lt;P&gt;M. outputlen : output length&lt;/P&gt;&lt;P&gt;N. seltext_l : long key word&lt;/P&gt;&lt;P&gt;O. seltext_m : middle key word&lt;/P&gt;&lt;P&gt;P. seltext_s : short key word&lt;/P&gt;&lt;P&gt;Q. reptext_ddic : heading (ddic)&lt;/P&gt;&lt;P&gt;R. ddictxt(1) : (S)hort (M)iddle (L)ong&lt;/P&gt;&lt;P&gt;S. datatype : datatype&lt;/P&gt;&lt;P&gt;T. hotspot(1) : hotspot &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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646604#M878177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646605#M878178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi because &lt;/P&gt;&lt;P&gt;1 .it is easy to built the catalog &lt;/P&gt;&lt;P&gt;2. you can get a better output in different formats &lt;/P&gt;&lt;P&gt;3. you can rearrange the layout and fields and you can hide some fields with out changing the code&lt;/P&gt;&lt;P&gt;4. you can get the default colours for the output &lt;/P&gt;&lt;P&gt;ex for totals and subtotals.&lt;/P&gt;&lt;P&gt;5. you can display the logo on the selection screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many uses r there ...if you works with the alv you came to know...check this for testing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ALV/ALVMainPage.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ALV/ALVMainPage.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646605#M878178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646606#M878179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ALV means ABAP List Viewer.ALV is available in two modes: &lt;/P&gt;&lt;P&gt;list and grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List mode is good old list processing with &lt;/P&gt;&lt;P&gt;standard functionnalities, and grid mode is using a new OCX &lt;/P&gt;&lt;P&gt;object displaying grids. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;introduce a type group with type-pool.&lt;/P&gt;&lt;P&gt;maintain a type group via abap dictionary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for simple alv:&lt;/P&gt;&lt;P&gt;slis_alv_fieldcatalog : populate the fieldcatalog&lt;/P&gt;&lt;P&gt;slis_layout_alv : it is for layout&lt;/P&gt;&lt;P&gt;slis_alv_events   : it is for internal tables events&lt;/P&gt;&lt;P&gt;we use simple function modules for displaying ALV grid.can have sorting facility with ALV grid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope its useful..&lt;/P&gt;&lt;P&gt;reward points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 10:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3646606#M878179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T10:49:44Z</dc:date>
    </item>
  </channel>
</rss>

