<?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 FUNCTION MODULES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524452#M571685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Welcome to sdn. I'm not so far clear with your requirement can u be more clear what u want??&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>Sat, 07 Jul 2007 11:04:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-07T11:04:53Z</dc:date>
    <item>
      <title>ALV FUNCTION MODULES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524451#M571684</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;              This is Sivananda from Bangalore. My query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Developed a report of Purchase Orders using ALV function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      How can it de developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Bye.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 10:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524451#M571684</guid>
      <dc:creator>former_member778253</dc:creator>
      <dc:date>2007-07-07T10:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV FUNCTION MODULES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524452#M571685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Welcome to sdn. I'm not so far clear with your requirement can u be more clear what u want??&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>Sat, 07 Jul 2007 11:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524452#M571685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T11:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: ALV FUNCTION MODULES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524453#M571686</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;&amp;lt;b&amp;gt;The important function modules are&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Reuse_alv_fieldcatalog_merge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reuse_alv_events_get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reuse_alv_grid_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reuse_alv_commentary_write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REUSE_ALV_FIELDCATALOG_MERGE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;      This function module is used to populate a field catalog which is essential to display the data in ALV.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;      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;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   &lt;/P&gt;&lt;P&gt;                                             the dynamic forms are handled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    2. Changing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ct_fieldcat	:    an internal table with the type  &lt;/P&gt;&lt;P&gt;                                  SLIS_T_FIELDCAT_ALV which is declared in the &lt;/P&gt;&lt;P&gt;                                  type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REUSE_ALV_LIST_DISPLAY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;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;1. Export:&lt;/P&gt;&lt;P&gt;I_callback_program            : report id&lt;/P&gt;&lt;P&gt;I_bypassing_buffer             : &amp;#145;X&amp;#146;&lt;/P&gt;&lt;P&gt;I_buffer_active                    : &amp;#145; &amp;#145; &lt;/P&gt;&lt;P&gt;d. I_callback_pf_status_set     : routine where a user can set &lt;/P&gt;&lt;P&gt;                                                         his own pf status or change the &lt;/P&gt;&lt;P&gt;                                                         functionality of the existing pf status.&lt;/P&gt;&lt;P&gt;e.  I_callback_user_command : routine where the function codes are &lt;/P&gt;&lt;P&gt;                                                           handled.&lt;/P&gt;&lt;P&gt;f. I_structure name	: name of the dictionary table&lt;/P&gt;&lt;P&gt;g. Is_Layout		: structure to set the layout of the report&lt;/P&gt;&lt;P&gt;h. 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 &lt;/P&gt;&lt;P&gt;                                             can be populated automatically by the function &lt;/P&gt;&lt;P&gt;                                             REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;It_events		: internal table with a list of all possible events &lt;/P&gt;&lt;P&gt;                                             of ALV and their corresponding form 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;&amp;lt;b&amp;gt;REUSE_ALV_EVENTS_GET: &amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;      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;      Et_Events	 : &lt;/P&gt;&lt;P&gt;      The event table is returned with all possible CALLBACK events for the specified list type (column &amp;#145;NAME&amp;#146;). For events to be processed by the Callback, their &amp;#145;FORM&amp;#146; field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field &amp;#145;FORM&amp;#146; filled and the entry modified using constants from the type pool SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REUSE_ALV_GRID_DISPLAY&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  A new function from 4.6 version, to display the results in grid rather than a &lt;/P&gt;&lt;P&gt;  preview.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;REUSE_ALV_COMMENTARY_WRITE&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; This is used in the Top-of-page event  to print the headings and other&lt;/P&gt;&lt;P&gt; comments for the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It_list_commentary : Internal table with the headings of the type&lt;/P&gt;&lt;P&gt;                                         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;  Parameters : same as reuse_alv_list_display&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful ans.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aarti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 11:12:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-function-modules/m-p/2524453#M571686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T11:12:26Z</dc:date>
    </item>
  </channel>
</rss>

