on 02-17-2009 9:37 AM
Hi all,
There is a requirement that, based on some condition I have to display shaded background image, say 'zimage1' .so as a result it should print in all pages. If condition fails, we have to display other image, say 'zimage2' in background. If both fails, no need to display background image.
If any body knew the solution please assist me in this regards.
Thanks & Regards,
Nagesh.
Do any one knew how to set Dynamic Background (Watermark) Image instead of going for the standard setting in Page. (by selecting BACKGROUND PictureTab).
I want to pass a variable kind of information to the following fields during runtime.
ie.,
Path: Page->Background Picture.
Name: <Variable image name>
Object: GRAPHICS
ID: BMAP
and other properties like Ouput Mode, Position..etc.
That image should come at backgroudn for all the pages.
Hope, you have understood the issue here.
Please do update me with relevnat ideas, if any.
Thanks & Regards,
Nagesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in initialization in global definitions,
write ur code
prepare one internal table with name , object and id as fields and marc-mmsta on which u will validate
now read dat internal table and check for the marc-mmsta based on that assigning name , object and id to a variables
now in your page goto tab background picture and write there the variables value .
put a break point in the code lines and check whether u rae getting the proper values or not ..
hope this will help in solving ur issue .
regards,
prashanti
Hi Aditya,
Thanks for your reply.
As per your idea, if I select the third radio button it will dynamically check whether that is colored or black and white image to display.
But my requirement is to based on two conditions (if else..) I need to display only one shaded background image(watermark) during runtime in a smartform. Where can I put such code lines.
If any body know how to perform this pls guide me.
Thanks & Regards,
Nagesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Double Click on the Page Node>Background Picture> we have an option of passing the dynamically the image name . Before passing place a program lines or send from driver program after validation you want.
Please let me know incase of any concerns.
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aditya,
Thanks for your reply.
But I couldn't get clear picture how to perform that operation.
For example here in my case, in print program,
IF marc-mmsta = 'FA' -> I have to print zimage1 as background image.
ELSEIF marc-mmsta = 'DF'. -> I have to print zimage2 as background image.
ENDIF.
Besides the above info can you exlain in detail how to get it dynamically.
Regards,
Nagesh.
User | Count |
---|---|
87 | |
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.