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

headline in alv

i have alv with small headline that i was doing in the layout in screen 100 (i give a name and text).how can i change the headline to a bigger headline with color (like red,blue..)and mybe bold or italic if it possible.

thankes ...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 04:13 PM


    You can give any small, medium or long text to any of the fields once ur field catalog is ready. The following code may be helpful:-

    Data:wa2 LIKE LINE OF fieldcat.

    LOOP AT fieldcat INTO wa2.

    CASE wa2-fieldname.

    WHEN 'PRDHA1'. "Give field names here

    *Product Hierarchy 01

    wa2-seltext_l = 'Product Hierarchy 01'.

    wa2-seltext_m = 'Prod Hicy 01'.

    wa2-seltext_s = 'Prod Hicy 01'.

    *Product Hierarchy 02

    WHEN 'PRDHA2'.

    wa2-seltext_l = 'Product Hierarchy 02'.

    wa2-seltext_m = 'Prod Hicy 02'.

    wa2-seltext_s = 'Prod Hicy 02'.

    *Product Hierarchy 03

    WHEN 'PRDHA3'.

    wa2-seltext_l = 'Product Hierarchy 03'.

    wa2-seltext_m = 'Prod Hicy 03'.

    wa2-seltext_s = 'Prod Hicy 03'.


    MODIFY fieldcat FROM wa2 INDEX sy-tabix TRANSPORTING





    and.....your heading is done...

    Pls mark points if helpful...



    TCS , Mumbai

    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.