2008 Dec 31 11:20 AM
Hi,
I want to add a data according to a date comparison and tried it as follows:
/: IF &VBDKR-FKDAT& LE '20081231'.
/: DEFINE &WAERS& := 'EUR'.
/: ELSE.
/: DEFINE &WAERS& : = 'ABC'.
/: ENDIF.
it always makes it EUR even if the date is gt 20081231.
What is wrong with this?
Thanks.
deniz.
Hi,
I want to add a data according to a date comparison and tried it as follows:
/: IF &VBDKR-FKDAT& LE '20081231'.
/: DEFINE &WAERS& := 'EUR'.
/: ELSE.
/: DEFINE &WAERS& : = 'ABC'.
/: ENDIF.
it always makes it EUR even if the date is gt 20081231.
What is wrong with this?
Thanks.
deniz.
2008 Dec 31 11:29 AM
hi
1. first check the date format of VBDKR-FKDAT.
2. then just pass &WAERS& = EUR (dont give define")
3. go to script -> check ->syntax.(it shows the exact point if there is a syntax error).
hope useful.
reg
Ramya
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |