cancel
Showing results for 
Search instead for 
Did you mean: 

Background Picture in a smartform

Former Member
0 Kudos

Hello All,

Is it possible to set the background picture in a smartform dynamically based certain conditions ?

Regards,

Senthil G

Accepted Solutions (0)

Answers (1)

Answers (1)

naimesh_patel
Active Contributor
0 Kudos

Yes it is possible.

You need to set the picture name in one variable. This par of the code must in the "Initialization" section of the Global Definition node.

e.g.


IF FLAG = 'X'.
W_PICTURE = 'ZCOMP_LOGO'.
ELSE.
W_PICTURE = 'ZMY_LOGO'.
ENDIF.

Than in the "Background Picutre" pass the variable with &.

e.g.


Name      &W_PICTURE&

Regards,

Naimesh Patel