10-05-2005 2:35 AM
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
10-05-2005 5: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
10-05-2005 8: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
10-05-2005 8:59 AM
You cant have multiple lines in an ALV field. Perhaps an exception showing the status like a red/green/yellow/ light can fulfill your needs.
10-05-2005 9:56 AM
Thanks Rainer. So it's not possible in ALV. Thanks with that. Here's points for you.
Regards,
Kristine