Skip to Content
author's profile photo Former Member
Former Member

ALV Field Catalog - key field not enabled but field still colorized

Hi ABAP Experts,

In my subroutine Create Field Catalog, the column Sold-to Party is always be color-coded in display although I disabled the KEY field catalog option ( WA_FCAT-KEY = 'X' ). I also tried to re-activate the report many times but it did not work.

Thanks in advance,

Danny

Capture1.PNG (35.7 kB)
Capture2.PNG (21.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 04:33 AM

    Dear Danny,

    If you want to delete the color in your Sold-to-party column.

    Please remark the coding when defined in build_alv_layout:

    gd_LAYOUT-coltab_fieldname = 'CELLCOLOR'. "CTAB_FNAME

    AND

    remark the coding when populate data for cellcolor column.

    Regards,

    Yance

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 06:07 AM

    Execute report BALVBUFDEL to reset ALV buffer, in case of doubt, perform the Consistency Check, check current field catalog.

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 06:27 AM

    Hi Danny,

    Change this statement WA_FCAT-TABNAME = 'LT_alvdata'

    as ... WA_FCAT-TABNAME = 'LT_ALVDATA' .

    Note : In single quotations you should place Capital Letters Only...

    Thanks ,

    Vamsi.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2016 at 04:29 AM

    Hi,

    Can you share your code.?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 06:05 AM

    Hi,

    Check your Internal Table structure. The issue might be with declarations.

    Regards,

    Venu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 08:52 PM

    Hi,

    just see in Debug before you call the ALV if the field catalog has any key updated? if you find so find the root cause else try to modify the internal table and check?

    Thanks,

    Sunil.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.