cancel
Showing results for 
Search instead for 
Did you mean: 

line spacing & column header formatting when printing reports on web

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

thanks.

it was helpful.