Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

webtemplate issue

Hi Friends,

We are facing problem with Printing in web template

When printing last row is missing for every page.

Let us say report output contains 1000 rows, which are scrolled in to 10 pages. Each page contain 100rows.

So when printing we are getting only first 99 rows and we are missing last 100 row for every page.

We followed "How to web printing Quick start............"

We are on SAP BW 3.5 version.

We copied 0ADHOC in to our custom webtemplate and

we included following classes:

ZCL_RSR_XLS_HELP_WINDOW_PRINT

Z_PRINT_HELP_SERVICE

and we included following webtemplates:

ZPD_ADHOC_PAGE

ZWT_ADHOC

ZWT_ADHOC_GR7TB

ZWT_ADHOC_GRBTB

ZWT_ADHOC_GRCTB.

Let me explain my application.

In my Bex Adhoc report i have following tabs:

1) Data Analysis 2)Graphical display 3)Information 4)Printing 5)Export

Under the Printing tab

I have two options

a)Print preview with Smart forms b)Print preview with Internet explorer

For

a) Print Preview with samrt forms

i have following selections

1) Print letter- Portrait - .75 margins

2) Print letter- Portrait - .50 margins

3) Print letter- Portrait - .25 margins

4) Print letter - Landscape - .75 Margins

5) Print letter - Landscape - .50 Margins

6) Print letter - Landscape - .25 Margins

Printing is working with Smart forms correctly.

For

b)Print preview with Internet explorer

i have following selections

1) Print letter- Portrait - .75 margins

2) Print letter- Landscape - .75 margins

3) Print legal- Landscape - .75 margins

when i tried to print with Internet explorer the last row is missing for three

selections.

I don't understnad what is the problem. Please help me friends what could be the problem.

I am using the following parameters is it correct?

P_HEADER_HEIGHT=1.6

P_HEADER_INDENT_LEFT=0

P_HEADER_INDENT_RIGHT=0

P_FOOTER_HEIGHT=0.5

P_FOOTER_INDENT_LEFT=0

P_FOOTER_INDENT_RIGHT=0

P_DATA_AREA_PADDING_TOP=0.2

P_DATA_AREA_INDENT_LEFT=0.5

P_DATA_AREA_INDENT_RIGHT=0.5

P_PAGE_WIDTH=19

P_PAGE_HEIGHT=25

P_DATA_AREA_ROWS=42

Please share your ideas on this.

Please help me to fix this issue.

If anybody had this problem. Please let me know how did they fixed.

will assign the points.

Thanks

SAP

Former Member
Not what you were looking for? View more on this topic or Ask a question