Home > Default > Report Name in bigger size in output of ALV

Report Name in bigger size in output of ALV

October 11Hits:0
Advertisement
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.

Answers

Hi,
Try this
FORM TOP_OF_PAGE .
data: ls_line type slis_listheader.
ls_line-typ = 'H'.  " Here you can have 3 possbile values : 'H', 'S' and 'A'
text = 'Program : '.
text1 = SY-REPID.
concatenate text text1 into text2.
ls_line-info = text2.
append ls_line to gt_list_top_of_page.
Also refer to this program :
BCALV_TEST_FULLSCREEN_HTML
regards,
Advait
Edited by: Advait Gode on Nov 10, 2008 3:39 PM
Edited by: Advait Gode on Nov 10, 2008 3:41 PM

Read other 3 answers

Tags:

Related Articles

  • Report Name in bigger size in output of ALVOctober 11

    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

  • How to create a report with different page sizesOctober 11

    Hi, I would like to create a report with different page sizes, it's possible to do it with diadem? When I change the layout parameters, changes afect to all sheets... Is there a way to change page size individually for each sheet? Thanks in advance.

  • Output of ALV report as attachment in emailOctober 11

    Dear all , I would like to send output of ALV report as attachment in email. i already written code for this using FM SO_NEW_DOCUMENT_ATT_SEND_API1. I can able to send list output as HTM format. But I want to send ALV report output As a attachment. H

  • Changing font size for output device / spool  fileOctober 11

    hi all, i see only these below parameters for  print in the code of the transaction which gets spool no and output device as input and prints it. i need to increase the font size of the print out.any help? LAYOUT                 = 'X_65_132'       LI

  • How to generate a csv report to determine paper size in a pdf or pdf/a file ?November 30

    how to generate a csv report to determine paper size in a pdf or pdf/a file ?Use the cfpdf tag as follows: <cfpdf     action = "getinfo"     name = "pdf_info"     source = "C:\temp\testFile.pdf"> My Operating System is

  • Two half report in one A4 size.November 30

    I have a report. the preview of that report is half of A4 size. so i want to show two reports in one A4 size. How to do this? Thanks and regards, Skud.You have to combine your two reports to one report, sharing the same layout.Read other 2 answers

  • HT5137 i tried using the setting icon to reset the prints and icon to a bigger size, thereafter the setting icon lost colore to gray and stopped respondingNovember 30

    i tried using the setting icon to reset the prints and icon to a bigger size, thereafter the setting icon lost color to gray and stopped responding.? most of the pop up boxes will also not respond why?Thanks Winston, restarting my router worked for m

  • Watching in a bigger size a received Video through RTPNovember 30

    Hello, so here is the thing, My code was based on AVReceive2, I received a rtp stream, then play the video in a player. I tried to change the size of mostly anything I could, the player visual component, with the panel it was added to. Or setBounds e

  • How to read bigger size textfileNovember 30

    How to read bigger size textfile which is 50 MB or more ? This textfile will be used to store batch job data.Hi!!!!!!!!! Currently , I use this code to read the textfile. try File dataFile = new File(fileName); FileInputStream fis = new FileInputStre

  • Adding bigger size Redo log groups In RAC , ASMNovember 30

    Hi Folks, Database version - 10.1.0.4.0 OS version - AIX 5.3 RAC node 2 and ASM We had 4 redo log groups of lesser size on both nodes.yesterday I added 4 new groups of bigger size using pl/sql developer tool and deleted 2 old redolog groups. But I m

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 15 q. 1.432 s.