<?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 fieldcat problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560263#M1564292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can u copy here all ur code.&lt;/P&gt;&lt;P&gt;Tanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jan 2011 15:39:17 GMT</pubDate>
    <dc:creator>Dasig</dc:creator>
    <dc:date>2011-01-06T15:39:17Z</dc:date>
    <item>
      <title>ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560261#M1564290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i filled my internal table and i can see 14 rows in this internal table.&lt;/P&gt;&lt;P&gt;But when loop at fieldcat to fill it as below, i can see 13 rows in my u_er_fieldcat. how can this happen?&lt;/P&gt;&lt;P&gt;I checked fields and internal tables there is no wrong with those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM fieldcat_modify USING er_fieldcat[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fieldcat_modify USING u_er_fieldcat TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;  DATA: xs_fieldcat TYPE slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT u_er_fieldcat INTO xs_fieldcat.&lt;/P&gt;&lt;P&gt;    CASE xs_fieldcat-fieldname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN '...'.&lt;/P&gt;&lt;P&gt;        xs_fieldcat-seltext_l = '...'.&lt;/P&gt;&lt;P&gt;        xs_fieldcat-ddictxt = 'L'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN '....'. .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560261#M1564290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T14:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560262#M1564291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don´t you use this function?&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         = repid
      i_internal_tabname     = tab
      i_inclname             = repid
      i_bypassing_buffer     = ' '
      i_buffer_active        = ' '
    CHANGING
      ct_fieldcat            = it_fieldcat
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
  CHECK sy-subrc = 0.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 14:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560262#M1564291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T14:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560263#M1564292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can u copy here all ur code.&lt;/P&gt;&lt;P&gt;Tanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560263#M1564292</guid>
      <dc:creator>Dasig</dc:creator>
      <dc:date>2011-01-06T15:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560264#M1564293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aydnbk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV is used to display internal tables. The field catalog is used to control the way each column is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table has a column structure for the data. Each line of the field catalog table refers to one column of the display table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use SALV technology you do not need to create the field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First check the sample programs in your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560264#M1564293</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-01-06T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560265#M1564294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi aydnbk ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A fieldcat will determine the number of columns and not number of rows in your output.&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;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 02:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560265#M1564294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T02:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560266#M1564295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as mentioned you ahve 14 rows in the internal table but as you get into the perform routine no. of rows become 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should not happen ideally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how many colums do you see at the time of output?&lt;/P&gt;&lt;P&gt;and do consider about MANDT if you have in ur field catalog?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This you need yto analyze by yourself that how and when a row from the internal table getting deleted.&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;Yadesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 07:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560266#M1564295</guid>
      <dc:creator>former_member261876</dc:creator>
      <dc:date>2011-01-07T07:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560267#M1564296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Pls check whether the internal table has declared with HEADER LINE and without clearing the WORK AREA, you may find 14 entries in the internal table. &lt;/P&gt;&lt;P&gt;That may be the reason...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 13:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560267#M1564296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-07T13:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV fieldcat problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560268#M1564297</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;As per your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should know one thing, when creating records or assigning records from one to another&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table is automatically expands as dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check once where using sequence of when condition check once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whether using correct statemnts are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it helpful for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 10:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-fieldcat-problem/m-p/7560268#M1564297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-12T10:28:27Z</dc:date>
    </item>
  </channel>
</rss>

