I need to include this code in the form.
I have to check the value stored in the variable
&WA_ACCOUNTDATA-ZAMOUNT& in the smartform based on the condition type.
where should I be using it? And is that all OR should I be declaring some parameters in the form?
Because I created 'Program Lines' under the text element node where this variable is used and wrote this code it gave me an error
/: IF &wac-kschl& = 'ZBET'.
&WA_ACCOUNTDATA-ZAMOUNT&
/: ELSE
&WA_ACCOUNTDATA-ZAMOUNT(IZ)&
/: ENDIF.
Thanks for your help in advance.
Santhosh