cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional formatting of output variables

Former Member
0 Kudos

Hi,

Is it possible to logically determine the style to apply to a variable in smartforms, in the same way it was possible in sapscript?

e.g.

if &wa_var& = 'H'.

"apply bold formatting to &wa_var&

else

"keep standard formatting &wa_var&

endif

Thanks,

William

Accepted Solutions (1)

Accepted Solutions (1)

birendra_chatterjee
Active Participant
0 Kudos

Hi Willian,

Yes, in smartforms You can do this. Create a text, write &wa_var& in paragraph format / character format P1/C1 (which is bold 14 point etc). Put a condition in this text (if wa_var = 'H'). Create another text and write &wa_var& in paragraph format / character format P2/C2 (which is normal, 12 point etc), and put condition (&wa_var& <> 'H').

Regards,

Birendra

Answers (0)