Skip to Content
0
Former Member
Nov 10, 2008 at 02:35 PM

Report Name in bigger size in output of ALV

37 Views

Hi,

I want to print the Report name in bigger font size.

Rightnow I am using the following line of code. Could you please help to print the Report Name in bigger size in Header of ALV Report output.

slis_listheader is having 3 options H - Header , S - Standard, A - Action.

I tried with H but it is printing in more size.

FORM ALV.

CALL FUNCTION 'REUSE_ALV_EVENTS_GET'

EXPORTING

I_LIST_TYPE = 0

IMPORTING

ET_EVENTS = gt_events "it_alv_event

EXCEPTIONS

LIST_TYPE_WRONG = 1

OTHERS = 2.

SORT gt_events BY NAME.

READ TABLE gt_events INTO LS_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.

IF SY-SUBRC EQ 0.

MOVE : 'TOP_OF_PAGE' TO LS_EVENT-FORM.

APPEND LS_EVENT TO gt_events.

CLEAR LS_EVENT.

ENDIF.

ENDFORM. "ALV

FORM TOP_OF_PAGE .

data: ls_line type slis_listheader.

ls_line-typ = 'S'.

text = 'Program : '.

text1 = SY-REPID.

concatenate text text1 into text2.

ls_line-info = text2.

append ls_line to gt_list_top_of_page.

-


-


-


call function 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = gt_list_top_of_page.

Endform.