on 10-30-2008 5:34 AM
Hi all
I am using the if condition in SAP Script as shown below. Even if it is false it is printing the below lines
/: IF &variable& NE '0.00'
P1 'total'
P1 &variable&
/: Endif
Please help
Thanks & Regards
vamshi
Hi Vamshi,
Try with this code:
/: IF &variable& NE 0
P1 total
P1 &variable&
/: ENDIF
Regards,
Kalyani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the following syntax
/: IF &variable& NE 0
P1 'total'
P1 &variable&
/: ENDIF
Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Try with giving a variable in the if condition.
data: g_variable like variable value '0.00'.
/: IF &variable& NEg_variable
P1 'total'
P1 &variable&
/: Endif
Regards,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.