<?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 Reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279066#M784141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#147;set_table_for_first_display&amp;#148; whose name implies for what it is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the ALV Grid instance we call this method to make our list displayed. We pass list data table, field catalog table, layout structure and additional information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are parameter definitions taken from SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;I_BUFFER_ACTIVE&lt;/P&gt;&lt;P&gt;Flag to be set by the application if the method call is static. This means the method is always called with the same field catalog. In this case, the field catalog can be held in a special buffer. This accelerates the display of small lists, in particular.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_STRUCTURE_NAME&lt;/P&gt;&lt;P&gt;Name of the DDIC structure (for example, 'SFLIGHT') for the data in the output table. If you specify this parameter, the field catalog is generated automatically.&lt;/P&gt;&lt;P&gt;-&amp;gt;IS_VARIANT&lt;/P&gt;&lt;P&gt;Determines the layout to be used for displaying the output table. If you use this parameter, you must at least fill field REPORT of the structure of type DISVARIANT.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_SAVE&lt;/P&gt;&lt;P&gt;Determines the options available to the user for saving a layout:&lt;/P&gt;&lt;P&gt;&amp;#149; 'X': global saving only&lt;/P&gt;&lt;P&gt;&amp;#149; 'U': user-specific saving only&lt;/P&gt;&lt;P&gt;&amp;#149; 'A': corresponds to 'X' and 'U'&lt;/P&gt;&lt;P&gt;&amp;#149; SPACE: no saving&lt;/P&gt;&lt;P&gt;-&amp;gt;I_DEFAULT&lt;/P&gt;&lt;P&gt;This parameter determines if the user is allowed to define default layouts:&lt;/P&gt;&lt;P&gt;&amp;#149; 'X': Default layouts allowed (default setting)&lt;/P&gt;&lt;P&gt;&amp;#149; SPACE: Default layouts not allowed&lt;/P&gt;&lt;P&gt;If default layouts are allowed and if such a layout exists and no other layout is specified in IS_VARIANT, the default layout is automatically loaded when this method is called.&lt;/P&gt;&lt;P&gt;IS_LAYOUT&lt;/P&gt;&lt;P&gt;Determines properties of the grid control. The layout structure has nothing to do with the layout for saving filter, sort, and column properties.&lt;/P&gt;&lt;P&gt;IS_PRINT&lt;/P&gt;&lt;P&gt;Parameter for printing on the backend&lt;/P&gt;&lt;P&gt;IT_SPECIAL_GROUPS&lt;/P&gt;&lt;P&gt;If in the field catalog the columns were grouped together with field SP_GROUP, you must pass a table with texts for these groups. On the current layout window, it is then possible to use a list box to restrict column selection to one of these groups.&lt;/P&gt;&lt;P&gt;IT_TOOLBAR_EXCLUDING&lt;/P&gt;&lt;P&gt;This table contains function codes of the toolbar that you want to hide for the lifetime of the ALV Grid Control. The function codes are constant attributes and are prefixed with MC_FC_.&lt;/P&gt;&lt;P&gt;IT_HYPERLINK&lt;/P&gt;&lt;P&gt;This table assigns a hyperlink address (field HREF of LVCSHYPE)toeachhandle(fieldHANDLEof&lt;/P&gt;&lt;P&gt;LVC_S_HYPE). Using this handle, you can then include hyperlinks in the grid.&lt;/P&gt;&lt;P&gt;IT_ALV_GRAPHICS&lt;/P&gt;&lt;P&gt;Settings for displaying the ALV list as a diagram (for example, axis labels). The row type of the table has two fields (variables/value pairs):&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_ID: Assign a constant attribute of the class CL_ALV_GRAPHICS_CU with prefix CO_PROPID_ to this field to determine the changes to be made to the graphic. Use the CL_ALV_GRAPHICS_CU=&amp;gt;CO_PROPID_TITLE attribute, for example, to refer to the title of the diagram.&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_VAL: The value of the relevant topic, for example, 'My Title'.&lt;/P&gt;&lt;P&gt;IT_OUTTAB&lt;/P&gt;&lt;P&gt;Output table with the data to be displayed&lt;/P&gt;&lt;P&gt;IT_FIELDCATALOG&lt;/P&gt;&lt;P&gt;Determines the structure of the output table and the format of the data to be displayed&lt;/P&gt;&lt;P&gt;IT_SORT&lt;/P&gt;&lt;P&gt;Table with sort properties for columns that are to be sorted initially&lt;/P&gt;&lt;P&gt;IT_FILTER&lt;/P&gt;&lt;P&gt;Table with filter properties for columns for which a filter is to be set initially&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 10:27:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T10:27:02Z</dc:date>
    <item>
      <title>ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279062#M784137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;                    What is the difference between using the function module 'REUSE_ALV_GRID_DISPLAY' and the method 'SET_TABLE_FOR_FIRST_DISPLAY with respect to the output and events like the TOP-OF-PAGE and display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 09:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279062#M784137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T09:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279063#M784138</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;'SET_TABLE_FOR_FIRST_DISPLAY  is a method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All parameters of method SET_TABLE_FOR_FIRST_DISPLAY from global class&lt;/P&gt;&lt;P&gt;CL_GUI_ALV_GRID are defined in the Class Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'REUSE_ALV_GRID_DISPLAY'  is a FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 09:41:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279063#M784138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T09:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279064#M784139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asish,&lt;/P&gt;&lt;P&gt;REUSE_ALV_GRID_DISPLAY used for :&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;The function module outputs an internal table with whatever structure in the form of a formatted single- oder multi-line list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing an internal table with the set of information to be output&lt;/P&gt;&lt;P&gt;Passing a structure with general layout specifications for list layout&lt;/P&gt;&lt;P&gt;Passing a field catalog in the form of an internal table&lt;/P&gt;&lt;P&gt;The field catalog describes the fields to be output in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE :WE use this event for heading in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;Kiran Kumar.G.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 09:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279064#M784139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279065#M784140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#147;set_table_for_first_display&amp;#148;  whose name implies for what it is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the ALV Grid instance we call this method to make our list displayed. We pass list data table, field catalog table, layout structure and additional information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are parameter definitions taken from SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;I_BUFFER_ACTIVE&lt;/P&gt;&lt;P&gt;          Flag to be set by the application if the method call is static. This means the method is always called with the same field catalog. In this case, the field catalog can be held in a special buffer. This accelerates the display of small lists, in particular.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_STRUCTURE_NAME&lt;/P&gt;&lt;P&gt;         Name of the DDIC structure (for example, 'SFLIGHT') for the data in the output table. If you specify this parameter, the field catalog is generated automatically.&lt;/P&gt;&lt;P&gt;-&amp;gt;IS_VARIANT&lt;/P&gt;&lt;P&gt;         Determines the layout to be used for displaying the output table. If you use this parameter, you must at least fill field REPORT of the structure of type DISVARIANT.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_SAVE&lt;/P&gt;&lt;P&gt;         Determines the options available to the user for saving a layout:&lt;/P&gt;&lt;P&gt;                     &amp;#149; 'X': global saving only&lt;/P&gt;&lt;P&gt;                     &amp;#149; 'U': user-specific saving only&lt;/P&gt;&lt;P&gt;                     &amp;#149; 'A': corresponds to 'X' and 'U'&lt;/P&gt;&lt;P&gt;                     &amp;#149; SPACE: no saving&lt;/P&gt;&lt;P&gt;-&amp;gt;I_DEFAULT&lt;/P&gt;&lt;P&gt;        This parameter determines if the user is allowed to define default layouts:&lt;/P&gt;&lt;P&gt;                      &amp;#149; 'X': Default layouts allowed (default setting)&lt;/P&gt;&lt;P&gt;                      &amp;#149; SPACE: Default layouts not allowed&lt;/P&gt;&lt;P&gt;        If default layouts are allowed and if such a layout exists and no other layout is specified in     IS_VARIANT, the default layout is automatically loaded when this method is called.&lt;/P&gt;&lt;P&gt;IS_LAYOUT&lt;/P&gt;&lt;P&gt;Determines properties of the grid control. The layout structure has nothing to do with the layout for saving filter, sort, and column properties.&lt;/P&gt;&lt;P&gt;IS_PRINT&lt;/P&gt;&lt;P&gt;Parameter for printing on the backend&lt;/P&gt;&lt;P&gt;IT_SPECIAL_GROUPS&lt;/P&gt;&lt;P&gt;If in the field catalog the columns were grouped together with field SP_GROUP, you must pass a table with texts for these groups. On the current layout window, it is then possible to use a list box to restrict column selection to one of these groups.&lt;/P&gt;&lt;P&gt;IT_TOOLBAR_EXCLUDING&lt;/P&gt;&lt;P&gt;This table contains function codes of the toolbar that you want to hide for the lifetime of the ALV Grid Control. The function codes are constant attributes and are prefixed with MC_FC_.&lt;/P&gt;&lt;P&gt;IT_HYPERLINK&lt;/P&gt;&lt;P&gt;This table assigns a hyperlink address (field HREF of LVCSHYPE)toeachhandle(fieldHANDLEof&lt;/P&gt;&lt;P&gt;LVC_S_HYPE). Using this handle, you can then include hyperlinks in the grid.&lt;/P&gt;&lt;P&gt;IT_ALV_GRAPHICS&lt;/P&gt;&lt;P&gt;Settings for displaying the ALV list as a diagram (for example, axis labels). The row type of the table has two fields (variables/value pairs):&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_ID: Assign a constant attribute of the class CL_ALV_GRAPHICS_CU with prefix CO_PROPID_ to this field to determine the changes to be made to the graphic. Use the CL_ALV_GRAPHICS_CU=&amp;gt;CO_PROPID_TITLE attribute, for example, to refer to the title of the diagram.&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_VAL: The value of the relevant topic, for example, 'My Title'.&lt;/P&gt;&lt;P&gt;IT_OUTTAB&lt;/P&gt;&lt;P&gt;Output table with the data to be displayed&lt;/P&gt;&lt;P&gt;IT_FIELDCATALOG&lt;/P&gt;&lt;P&gt;Determines the structure of the output table and the format of the data to be displayed&lt;/P&gt;&lt;P&gt;IT_SORT&lt;/P&gt;&lt;P&gt;Table with sort properties for columns that are to be sorted initially&lt;/P&gt;&lt;P&gt;IT_FILTER&lt;/P&gt;&lt;P&gt;Table with filter properties for columns for which a filter is to be set initially&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>Fri, 11 Jan 2008 10:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279065#M784140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T10:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279066#M784141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#147;set_table_for_first_display&amp;#148; whose name implies for what it is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After creating the ALV Grid instance we call this method to make our list displayed. We pass list data table, field catalog table, layout structure and additional information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are parameter definitions taken from SAP Library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;I_BUFFER_ACTIVE&lt;/P&gt;&lt;P&gt;Flag to be set by the application if the method call is static. This means the method is always called with the same field catalog. In this case, the field catalog can be held in a special buffer. This accelerates the display of small lists, in particular.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_STRUCTURE_NAME&lt;/P&gt;&lt;P&gt;Name of the DDIC structure (for example, 'SFLIGHT') for the data in the output table. If you specify this parameter, the field catalog is generated automatically.&lt;/P&gt;&lt;P&gt;-&amp;gt;IS_VARIANT&lt;/P&gt;&lt;P&gt;Determines the layout to be used for displaying the output table. If you use this parameter, you must at least fill field REPORT of the structure of type DISVARIANT.&lt;/P&gt;&lt;P&gt;-&amp;gt;I_SAVE&lt;/P&gt;&lt;P&gt;Determines the options available to the user for saving a layout:&lt;/P&gt;&lt;P&gt;&amp;#149; 'X': global saving only&lt;/P&gt;&lt;P&gt;&amp;#149; 'U': user-specific saving only&lt;/P&gt;&lt;P&gt;&amp;#149; 'A': corresponds to 'X' and 'U'&lt;/P&gt;&lt;P&gt;&amp;#149; SPACE: no saving&lt;/P&gt;&lt;P&gt;-&amp;gt;I_DEFAULT&lt;/P&gt;&lt;P&gt;This parameter determines if the user is allowed to define default layouts:&lt;/P&gt;&lt;P&gt;&amp;#149; 'X': Default layouts allowed (default setting)&lt;/P&gt;&lt;P&gt;&amp;#149; SPACE: Default layouts not allowed&lt;/P&gt;&lt;P&gt;If default layouts are allowed and if such a layout exists and no other layout is specified in IS_VARIANT, the default layout is automatically loaded when this method is called.&lt;/P&gt;&lt;P&gt;IS_LAYOUT&lt;/P&gt;&lt;P&gt;Determines properties of the grid control. The layout structure has nothing to do with the layout for saving filter, sort, and column properties.&lt;/P&gt;&lt;P&gt;IS_PRINT&lt;/P&gt;&lt;P&gt;Parameter for printing on the backend&lt;/P&gt;&lt;P&gt;IT_SPECIAL_GROUPS&lt;/P&gt;&lt;P&gt;If in the field catalog the columns were grouped together with field SP_GROUP, you must pass a table with texts for these groups. On the current layout window, it is then possible to use a list box to restrict column selection to one of these groups.&lt;/P&gt;&lt;P&gt;IT_TOOLBAR_EXCLUDING&lt;/P&gt;&lt;P&gt;This table contains function codes of the toolbar that you want to hide for the lifetime of the ALV Grid Control. The function codes are constant attributes and are prefixed with MC_FC_.&lt;/P&gt;&lt;P&gt;IT_HYPERLINK&lt;/P&gt;&lt;P&gt;This table assigns a hyperlink address (field HREF of LVCSHYPE)toeachhandle(fieldHANDLEof&lt;/P&gt;&lt;P&gt;LVC_S_HYPE). Using this handle, you can then include hyperlinks in the grid.&lt;/P&gt;&lt;P&gt;IT_ALV_GRAPHICS&lt;/P&gt;&lt;P&gt;Settings for displaying the ALV list as a diagram (for example, axis labels). The row type of the table has two fields (variables/value pairs):&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_ID: Assign a constant attribute of the class CL_ALV_GRAPHICS_CU with prefix CO_PROPID_ to this field to determine the changes to be made to the graphic. Use the CL_ALV_GRAPHICS_CU=&amp;gt;CO_PROPID_TITLE attribute, for example, to refer to the title of the diagram.&lt;/P&gt;&lt;P&gt;&amp;#149; PROP_VAL: The value of the relevant topic, for example, 'My Title'.&lt;/P&gt;&lt;P&gt;IT_OUTTAB&lt;/P&gt;&lt;P&gt;Output table with the data to be displayed&lt;/P&gt;&lt;P&gt;IT_FIELDCATALOG&lt;/P&gt;&lt;P&gt;Determines the structure of the output table and the format of the data to be displayed&lt;/P&gt;&lt;P&gt;IT_SORT&lt;/P&gt;&lt;P&gt;Table with sort properties for columns that are to be sorted initially&lt;/P&gt;&lt;P&gt;IT_FILTER&lt;/P&gt;&lt;P&gt;Table with filter properties for columns for which a filter is to be set initially&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 10:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279066#M784141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T10:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279067#M784142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as far as I am concerned, function module REUSE_ALV_GRID_DISPLAY is a wrapper around the OO ALV methods such as SET_TABLE_FOR_FIRST_DISPLAY for those developers who are more accustomed to the "classical" way of ABAP programming (like the author of this post...).&lt;/P&gt;&lt;P&gt;Output, events and such are the same to a large extent, I believe using OO methods you can do a few more "tricks".&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 10:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-reports/m-p/3279067#M784142</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-01-11T10:32:27Z</dc:date>
    </item>
  </channel>
</rss>

