on 06-22-2012 7:47 AM
Hello Guys,
My requirement is to print watermark in already existing script. I have uploaded the image through SE78.
i have created a new window in my script. i have added text to print watermark "
BITMAP 'ZWATERMARK' OBJECT GRAPHICS ID BMAP TYPE BCOL" in new window. Then in driver program i have called my window with function module WRITE_FORM just afetr the function module open_form.
problem is that even though i have called my window containing image first, MAIN window is getting printed first and then my new window.
because of main window printing first all the time, newly uploaded image is hiding the contents of main window. what could be the solution to this.
is main window always printed first in sap script following the other windows?
thanks
Rajpal Sehrawat
Hello,
it works if i put my graphic in main window and contents on another windows. but i do not need it this way because my script is existing one and i dont want to re design it.
thanks
Rajpal Sehrawat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajpal,
Please try below link:
http://scn.sap.com/people/naimesh.patel/blog/2008/05/22/watermark-in-sapscript
Hi Rajpal,
In script Print Preview you must be getting the view where contents of main window are getting overlapped by Watermark image. This is how script works.
Please take print out of that Page , there it will look as watermark image and your contents of Main window will not get overlapped by watermark image in actual Printout /hardcopy.
Also ensure that watermark image is changed to black/white instead of color, and use grey shades instead of black.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Try the below option.
First call your watermark image at at the begining of the MAIN WINDOW by using a ELEMENT. Now, create one more MAIN WINDOW on the same page to print the actual content of the MAIN WINDOW which means you are calling MAIN WINDOW twice on the same page.
Check the below example code.
/E MAIN1
BITMAP 'ZWATERMARK' OBJECT GRAPHICS ID BMAP TYPE BCOL
/: NEW-WINDOW
/E MAIN2
* ACTUAL CONTENT.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.