<?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 Problem with Field catalog in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048381#M967734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, Please help me.. I have been breaking my head with this...! The fieldcatalog is not getting populated. Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ztest.&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;DATA: lt_fcat TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gt_log OCCURS 0,&lt;/P&gt;&lt;P&gt;vbeln LIKE vbbe-vbeln,&lt;/P&gt;&lt;P&gt;posnr LIKE vbbe-posnr,&lt;/P&gt;&lt;P&gt;message TYPE bapi_msg,&lt;/P&gt;&lt;P&gt;color_line(4),&lt;/P&gt;&lt;P&gt;END OF gt_log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Definition of local variables for Field catalog&lt;/P&gt;&lt;P&gt;DATA: lv_program_name LIKE sy-repid,&lt;/P&gt;&lt;P&gt;lv_internal_tabname TYPE slis_tabname. "Internal table for ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_program_name = sy-repid.&lt;/P&gt;&lt;P&gt;lv_internal_tabname = 'GT_LOG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Field Catalog&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_program_name = lv_program_name&lt;/P&gt;&lt;P&gt;i_internal_tabname = lv_internal_tabname&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = lt_fcat&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;program_error = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 16:35:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-08T16:35:04Z</dc:date>
    <item>
      <title>Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048381#M967734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, Please help me.. I have been breaking my head with this...! The fieldcatalog is not getting populated. Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ztest.&lt;/P&gt;&lt;P&gt;TYPE-POOLS: slis.&lt;/P&gt;&lt;P&gt;DATA: lt_fcat TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF gt_log OCCURS 0,&lt;/P&gt;&lt;P&gt;vbeln LIKE vbbe-vbeln,&lt;/P&gt;&lt;P&gt;posnr LIKE vbbe-posnr,&lt;/P&gt;&lt;P&gt;message TYPE bapi_msg,&lt;/P&gt;&lt;P&gt;color_line(4),&lt;/P&gt;&lt;P&gt;END OF gt_log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Definition of local variables for Field catalog&lt;/P&gt;&lt;P&gt;DATA: lv_program_name LIKE sy-repid,&lt;/P&gt;&lt;P&gt;lv_internal_tabname TYPE slis_tabname. "Internal table for ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_program_name = sy-repid.&lt;/P&gt;&lt;P&gt;lv_internal_tabname = 'GT_LOG'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Field Catalog&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_program_name = lv_program_name&lt;/P&gt;&lt;P&gt;i_internal_tabname = lv_internal_tabname&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = lt_fcat&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;program_error = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048381#M967734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T16:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048382#M967735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Looking at your code, I found that you have not the fieldcatalog at all. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You need to fill the fieldcatalog with all the fields you want to display in the alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following links regarding field catalog:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://abap-gallery.blogspot.com/2007/07/field-catalog-in-alv.html" target="test_blank"&gt;http://abap-gallery.blogspot.com/2007/07/field-catalog-in-alv.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for sample program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tutorials/ALV/SampleALVGridProgram.htm" target="test_blank"&gt;http://www.saptechnical.com/Tutorials/ALV/SampleALVGridProgram.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Any queries, get back to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048382#M967735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048383#M967736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure to pass the I_INCLNAME as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    i_program_name         = lv_program_name
    i_internal_tabname     = lv_internal_tabname
    i_inclname             = lv_program_name    "&amp;lt;--- Here
    i_bypassing_buffer     = 'X'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048383#M967736</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-08T16:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048384#M967737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dude.. stop advertising your website links here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module was supposed to populate the field catalog based on the Internal table, But some how it's not working.. any one else... please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:53:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048384#M967737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T16:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048385#M967738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich, Thanks a lot it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:56:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048385#M967738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048386#M967739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very good.  Please be sure to close your threads by marking as answered, or if a particular answer has solved your problem, you can mark as solved next to that post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 16:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048386#M967739</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-08T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Field catalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048387#M967740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 17:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-field-catalog/m-p/4048387#M967740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T17:02:33Z</dc:date>
    </item>
  </channel>
</rss>

