<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559306#M583574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALV&amp;lt;/b&amp;gt; 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;&amp;lt;b&amp;gt;write statement &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second write (write ... to itab-name) just fills in the name part of the &lt;/P&gt;&lt;P&gt;table header(it works like an assignment in VB). You may think an itab just &lt;/P&gt;&lt;P&gt;like a "linked list" structure (not an array). You need to insert an element &lt;/P&gt;&lt;P&gt;in the linked list so the structure can hold it. In other case, the element &lt;/P&gt;&lt;P&gt;doesn't exist for the linked list and you may miss it in further &lt;/P&gt;&lt;P&gt;assignations. &lt;/P&gt;&lt;P&gt;insert itab-name into itab may work in the only case that itab has one field &lt;/P&gt;&lt;P&gt;named name. if itab has any other field insert itab should not work at all. &lt;/P&gt;&lt;P&gt;append itab just adds itab header at the end of the linked list. If itab is &lt;/P&gt;&lt;P&gt;a sorted table (I mean, you declared it like sorted table ... with key...) &lt;/P&gt;&lt;P&gt;the header contents are inserted in correct sort order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefull ....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 11:23:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T11:23:03Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559301#M583569</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;can any one quiclky tell me the &amp;lt;b&amp;gt;advantages of ALV&amp;lt;/b&amp;gt; compared to normal &amp;lt;b&amp;gt;'write'&amp;lt;/b&amp;gt; statements in points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;P&gt;Ginni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559301#M583569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559302#M583570</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;&lt;/P&gt;&lt;P&gt;The advantages is many - Shruti mentions some of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The keyword is flexibility. In the past I have sometimes programmed more programs that was basically the same report with minor variations - in one case i programmed 10 very similar reports for pp evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With ALV the users can define their own display variants without changing the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The display variant covers sorting, summarizing, filtering, hiding fields. The users can also make variants that show only total lines or subtotal lines or both - and by one click in the report they can expand one total line to display the underlying item lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users can also choose to let the report show directly in excel. This is a very powerful option. You can upload excel templates with predefined formulas and macros. This can make you very popular - especially with Finance people that already have a lot of excel files, they populate with SAP data to make al kind of voodoo calculations that will help them see into the future.&lt;/P&gt;&lt;P&gt;With ALV you can give them an ABAP report that automatic popup with their own favorite excel book - without having to do a lot of troublesome and time consuming work to download the data and fit it into the excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are new to ALV you can very quick make a simple ALV report. Basically it has 3 steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) build an internal table with the data you want do display&lt;/P&gt;&lt;P&gt;2) build a field catalog table (each record in this table describes one column in the list)&lt;/P&gt;&lt;P&gt;3) call the ALV function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later you can make use of more complicated functions like call back routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have both functions modules and ABAP OO classes to help you with step 2 and 3. I have used the function modules for many years so its hard for me to change, but if I should start all over today I would forget about the function modules and go for the OO approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Reward If Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559302#M583570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559303#M583571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559303#M583571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559304#M583572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;ABAP List Viewer&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;The common features of report are &lt;/P&gt;&lt;P&gt;column alignment, &lt;/P&gt;&lt;P&gt;sorting, &lt;/P&gt;&lt;P&gt;filtering, &lt;/P&gt;&lt;P&gt;subtotals,&lt;/P&gt;&lt;P&gt; totals etc. &lt;/P&gt;&lt;P&gt;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;This helps us to implement all the features mentioned very effectively.&amp;lt;/b&amp;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;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 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;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559304#M583572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559305#M583573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;Report Lists Without ABAP List Viewer &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;When a report is written, the report list (output) depends almost entirely on how the developer programmed the report. &lt;/P&gt;&lt;P&gt;Shown below is a sample report list where the programmer did not to use the ABAP List Viewer. For illustration purposes, consider a report that was simply written (using the WRITE command to the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Report Lists With ABAP List Viewer &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;When you insert the ALV code in your ABAP report program, the report list comes &amp;#147;alive.&amp;#148;&lt;/P&gt;&lt;P&gt;Compare the ALV-enabled list shown on page A-6 with the list shown on the previous page. Although the data is the same, the program has been changed to incorporate the ALV function modules. &lt;/P&gt;&lt;P&gt;With the ALV, the user is presented with a standard interface which, from the outset, includes:&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Headers for the columns that appear on the list.&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Colors that correspond to indented key information&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Buttons that appear on the function bar (some of whose functions will be introduced in the pages that follow)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Advantages:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Sort &lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Resize rows&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Double-click on one information element to jump to another information element&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Perform basic calculations&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Download &amp;#147;stylized&amp;#148; spreadsheets&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Display several colors&lt;/P&gt;&lt;P&gt;&amp;amp;#61500;	Visually separate various pieces of information on the screen&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;Pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559305#M583573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559306#M583574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;ALV&amp;lt;/b&amp;gt; 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;&amp;lt;b&amp;gt;write statement &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second write (write ... to itab-name) just fills in the name part of the &lt;/P&gt;&lt;P&gt;table header(it works like an assignment in VB). You may think an itab just &lt;/P&gt;&lt;P&gt;like a "linked list" structure (not an array). You need to insert an element &lt;/P&gt;&lt;P&gt;in the linked list so the structure can hold it. In other case, the element &lt;/P&gt;&lt;P&gt;doesn't exist for the linked list and you may miss it in further &lt;/P&gt;&lt;P&gt;assignations. &lt;/P&gt;&lt;P&gt;insert itab-name into itab may work in the only case that itab has one field &lt;/P&gt;&lt;P&gt;named name. if itab has any other field insert itab should not work at all. &lt;/P&gt;&lt;P&gt;append itab just adds itab header at the end of the linked list. If itab is &lt;/P&gt;&lt;P&gt;a sorted table (I mean, you declared it like sorted table ... with key...) &lt;/P&gt;&lt;P&gt;the header contents are inserted in correct sort order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefull ....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 11:23:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559306#M583574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T11:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559307#M583575</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;sorting, filtering, summation, u can report it in excel format,word processing, mailing,and graphical mailing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 12:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559307#M583575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T12:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559308#M583576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ginni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. These are some of the advantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a. No need to take care of the formatting of length and position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b. Standard facility like sorting, filtering, selecting fields, sum etc are available in alv screen.&lt;/P&gt;&lt;P&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 12:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559308#M583576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T12:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559309#M583577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ginni&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the following posting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/07/09/message&lt;EM&gt;Handling&lt;/EM&gt;-&lt;EM&gt;Finding&lt;/EM&gt;the&lt;EM&gt;Needle&lt;/EM&gt;in&lt;EM&gt;the&lt;/EM&gt;Haystack&amp;amp;"&amp;gt;Message Handling - Finding the Needle in the Haystack&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be useful to understand why we (developers) should bore our customers and users no longer with WRITE lists but use more powerful approaches for reporting.&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, 10 Jul 2007 13:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/2559309#M583577</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-07-10T13:38:31Z</dc:date>
    </item>
  </channel>
</rss>

