Skip to Content
author's profile photo
Former Member

ALV Display - Subscript/Caption in a field title row

Hello,

I would just like to ask if there's a way for me to create a sort of subscript or caption font within a field title row?

It should look like this:

<b>TOTAL NUMBER OF EMPLOYEES W/O REQUIRED SKILLS

*Some profiles are missing for positions*</b>

The "<b>*Some profiles are missing for positions*</b>" should be in subscript or a caption and should be contained in only 1 row.

Is there a way to do this? I appreciate any help! Thanks.

Regards,

Kristine

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Oct 05, 2005 at 07:43 AM

    Hi Deepak333 k,

    I think that the code you have provided is for the ALV Header since you're using the ALV_COMMENTARY function module. The details I need to display is part of the report item, thus it's in the ALV grid display.

    My report should look like:

    Training Statistics Report

    Total number of Skills Held <XX>

    Total Number of Employees w/o Req. Skills <XX>

      • Some profiles are missing***

      Total Number of Emplyoees w/ Exp. Skills <xx>

      The *Some profiles are missing** is part of the row for Total Number of Employees w/o Req. Skills field. Each field has a drill down report, so in this case it has 3 drill down reports.

      The caption has a condition as to when it appears. This is the part that I'm asking if possible.

      Thanks still!

      Regards,

      Kristine

      Add comment
      10|10000 characters needed characters exceeded

    • author's profile photo
      Former Member
      Oct 05, 2005 at 04:29 AM

      Hi,

      Here is sample code.

      *************************************

      wa type slis_listheader.

      call function 'REUSE_ALV_GRID_DISPLAY'

      exporting

      • i_callback_program = ''

      i_callback_top_of_page = 'TOP_OF_PAGE2'

      • it_fieldcat =

      • i_save = ''

      • i_callback_user_command = ''

      tables

      • t_outtab = .

      form top_of_page2.

      wa-typ = 'S'.

      wa-info = 'COMPANY'.

      append wa to header.

      wa-typ = 'S'.

      wa-info = 'code'.

      append wa to header.

      call function 'REUSE_ALV_COMMENTARY_WRITE'

      exporting

      it_list_commentary = header.

      endform.

      *********************************************

      I hope it will work.

      CHEERS

      Message was edited by: Deepak333 k

      Message was edited by: Deepak333 k

      Add comment
      10|10000 characters needed characters exceeded

    • author's profile photo
      Former Member
      Oct 05, 2005 at 08:56 AM

      Thanks Rainer. So it's not possible in ALV. Thanks with that. Here's points for you.

      Regards,

      Kristine

      Add comment
      10|10000 characters needed characters exceeded