Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript: Overlapping Windows and Print Preview

Former Member
0 Kudos

Hello,

i've got a problem with an existing SAPScript-form.

My Z-form has got an overlapping window where a bitmap prints

"NACHDRUCK" (in english: reprint) diagonally over my MAIN-window.

The responsible person isn't satisfied with this modification, because

in the preview the bitmap overlaps the MAIN-window and so she must

print the document to see the details from MAIN.

Can anybody please tell me,

how i can solve the problem to show the MAIN-window before

the overlapping "WATERMARK"-window in the preview???

Thanks a lot.

Kind regards.

Markus Pawlinka

3 REPLIES 3

Former Member
0 Kudos

Hi,

If the issue is just in print preview mode....ie watermark covers other data as it's a bitmap....

A simple solution may be...

Check the print parameters in the print program ITCPO-TDPREVIEW if the value is 'X' do not print the watermark window - so in print preview the rest of the data is not obscured. Printing normally will have ITCPO-TDPREVIEW = ' ' so the watermark will be printed. If the user needs to see that it would be a 'reprint' just add a new window somewhere on the page that does not overlap and relevant data so that the user will be able to see that when printed it will be a 'reprint'.

Regards

Stu

0 Kudos

Hi Stu,

thanks for your answer,

but in CO04 (reprint) with production-orders

the printpreview has got every time the value 'X'.

I mean every time you want to print an production-order

the preview appears. - now without the watermark -

But if you want to print the document afterwards the print routine

doesn't start anymore an so the

document appears without an watermark!

I hope you've got more suggestions?

Kind regards,

Markus

Problem not solved till yet!

Please help.

Kind regards

Markus

Edited by: Markus Pawlinka on Oct 7, 2008 1:19 PM

Former Member
0 Kudos

Hi,

Only other thing I could suggest is to move the 'watermark'to some non-main window area on the page (if there is any). Rename the watermark window with something like AAAWATER (so that it is printed First ater the MAIN window all others are printed in alphabetical order). Any other VAR or CONST windows that are overlapped will print on top of the watermark...

or have a look at [|]