<?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: Creating fieldcatalog using internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177077#M1518067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anmol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    DATA: o_alv TYPE REF TO cl_salv_table.
    DATA: lx_msg TYPE REF TO cx_salv_msg.
    TRY.
        cl_salv_table=&amp;gt;factory(
         IMPORTING
         r_salv_table = o_alv
         CHANGING
         t_table      =  &amp;lt;Internal Table&amp;gt;).   "Pass your internal table here automatically it will build field catalog
      CATCH cx_salv_msg INTO lx_msg.
    ENDTRY.
    o_alv-&amp;gt;display( ).             "it will display the report in ALV format no need calling 'REUSE_ALV_DISPLAY_LIST'

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Aug 2010 16:00:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-16T16:00:43Z</dc:date>
    <item>
      <title>Creating fieldcatalog using internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177076#M1518066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   The requirement is to create the fieldcatalog same as internal table, Can any one put some light on it,&lt;/P&gt;&lt;P&gt;I explore SDN and other sites also, used FMs LVC_FIELDCATALOG_MERGE' and 'REUSE_ALV_FIELDCATALOG_MERGE', but it is taking whole DB table to which this Internal table is ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for kind attension,&lt;/P&gt;&lt;P&gt;Anmol Bhat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 15:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177076#M1518066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T15:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating fieldcatalog using internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177077#M1518067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anmol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    DATA: o_alv TYPE REF TO cl_salv_table.
    DATA: lx_msg TYPE REF TO cx_salv_msg.
    TRY.
        cl_salv_table=&amp;gt;factory(
         IMPORTING
         r_salv_table = o_alv
         CHANGING
         t_table      =  &amp;lt;Internal Table&amp;gt;).   "Pass your internal table here automatically it will build field catalog
      CATCH cx_salv_msg INTO lx_msg.
    ENDTRY.
    o_alv-&amp;gt;display( ).             "it will display the report in ALV format no need calling 'REUSE_ALV_DISPLAY_LIST'

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 16:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177077#M1518067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T16:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating fieldcatalog using internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177078#M1518068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;    Actually I want the Fieldcat, but ur logic help  me to get the fiedcat too. Thanks a lot. Clossing the threat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 18:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-fieldcatalog-using-internal-table/m-p/7177078#M1518068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-16T18:43:48Z</dc:date>
    </item>
  </channel>
</rss>

