Skip to Content
avatar image
Former Member

line spacing & column header formatting when printing reports on web

Hi,

We have a need to put extra line spacing between each row while printing reports on web using Z_PRINT_HELP_SERVICE. Can we achieve this using style sheets?

We also need to highlight/format column headers so as to differentiate column headers from data rows.

right now, when we print reports from web using ZPRINTING, reports are in this format.

Org Code unit Value

100 1000 KG 123

200 2000 LB 345

300 3000 EA 657

we are intersted to print reports in this format.

-


Org Code unit Value -


> this line should be formatted in bold

-


100 1000 KG 123

-


line spacing here----


200 2000 LB 345

-


line spacing here----


300 3000 EA 657

I appreciate your inputs.

thanks

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 28, 2004 at 02:12 PM

    you can use a different stylesheet for the output from your z_print_help_service.

    <SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="Table_1" P_STYLESHEET='Mime/Customer/Stylesheets/BW_print_stylesheet.css'>

    take a copy of the spreadsheet you are using to display the reports and save in the mime repository.

    alter the stylesheet values for your headers (think it's SAPBEXTableCaption) so they are bold.

    either change the cellspacing css value or include line-height parameter with a value of 2 for your table items (SAPBEXstdData) to get double spaced lines.

    hope that helps.

    Add comment
    10|10000 characters needed characters exceeded