on 04-04-2007 10:17 PM
Hi,
I need to print water mark "DUPLICATE" across any form which is printing through development server or test server (ex,sales order,PO's etc).
Can anybody help me on this!!!!
Thanks in advance,
Raja Kunapareddy.
Hi
in the Global defnition / initialization of the Smartform declare the follwoing varibles
w_back type TDOBNAME
w_object type TDOBJECTGR
w_TDIDGR type TDIDGR
and in intialization write the follwoing peice of code
if sy-SYSID >< 'PROD'.
w_back = 'ENJOY'. "Your background Duplicate Image
w_object = 'GRAPHICS'.
w_tdidgr = 'BMON'.
else.
clear: w_back, w_object, w_tdidgr.
endif.
pass this varibale to the page background imag, do not forget to press the > arrow to < side beside the graphics name.
Hope that helps
Anirban M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi, Raja Kunapareddy
its nice to see your question, even i am facing the same problem with me can you please take the screen shorts of your smart form and send me to my mail id along with the print program so that it will be helpfull for me , my mail id: ramaraoinbox@yahoo.com i will be waiting for your mail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Global Definitions -> Initialization
" -
Watermark -
"
" Adding a watermark when printing from non-productive systems !
"
" 1)
" On your page, add a background picture called &water_back&
" This is done by clicking the "Background Picture" tab
"
" 2)
" Define water_back and my_state in "Global Data" and add these
" to "Output Parameters"
"
" water_back type TDOBNAME
" my_state type T000-CCCATEGORY
"
"
" 3)
" Add the code below
CALL FUNCTION 'VIEW_GET_CLIENT_STATE'
IMPORTING
CLIENT_STATE = MY_STATE.
if my_state ne 'P'.
water_back = 'MY_WATERMARK3'. "Import watermarks(bitmaps) in TC SE78
else.
water_back = 'MY_WATERMARK_NONE_COL'. "Just 1x1 white pixel
endif.
" -
End Watermark -
Have fun
Jan
Thank you very much for the reply. so for smartforms that works ,but i need to do it for SAP scripts also. please advise.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
give condtion for that node
SYST-SYSID = 'DEV'
so that the node or graphice will be printed only on the development..
<b>instead of DEV give u r Development server id </b>
i hope u under stood wht i mean.
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.