on 11-10-2009 12:00 PM
Hi,
I want to know if thre is a way to symply write:
IF &VBDRK-NETWR& < 0
...
ELSE
ENDIF
When I test this, the value of VBDKR-NETWR is not test...
PS: In a sapscript form.
Thanks
Edited by: David31 on Nov 10, 2009 1:11 PM
in your print program.
do it like this
IF VBDRK-NETWR < 0
Flag = 'X'.
ELSE.
flag = 'Y'.
ENDIF.
in your script
check
/:if &flag& = 'X'.
/:else.
/:endif.
also refer this thread
Edited by: Keshu Thekkillam on Nov 20, 2009 2:51 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try suppressing the user-specific formatting with the "K" option.
IF &VBDKR-NETWR(K)& < 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Yes u can write IF &VBDRK-NETWR& < '0.00'. or'0,00'. depending on user settings for Decimal format.
SYNTAX
/: IF condition
:
/: ELSEIF condition
:
/: ELSE
:
/: ENDIF
= EQ equal to
< LT less than
> GT greater than
<= LE less than or equal to
>= GE greater than or equal to
<> NE not equal to
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.