on 03-27-2008 10:24 AM
Hi all,
Im facing this problem donno why...
the code is as below:
/: IF ®UP-QSSHB& > 0
T1 &LV_SEQ&,,®UP-XBLNR&,,®UP-BLDAT&,,®UP-BELNR&,,®UP-QSSHB&,,
= &LV_VAT&,,®UP-QBSHB&,,&LV_PAY&
/: ELSE
/: &LV_SEQ&,,®UP-XBLNR&,,®UP-BLDAT&,,®UP-BELNR&,,®UP-DMBTR&,,
= &LV_VAT&,,®UP-QBSHB&,,&LV_PAY&
/: ENDIF
but my code doesnt seem to work....itz goin to the else part even if the IF condition is true.
kindly lemme know whr im goin wrong...itz really weird...
Regards,
Narendra.
Hi,
debug the script and check the value of ®UP-QSSHB&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narendra,
Your code is correct, but instead of using '>' symbol, use 'GT'. Then it will be get corrected.
/: IF ®UP-QSSHB& GT 0
T1 &LV_SEQ&,,®UP-XBLNR&,,®UP-BLDAT&,,®UP-BELNR&,,®UP-QSSHB&,,
= &LV_VAT&,,®UP-QBSHB&,,&LV_PAY&
/: ELSE
/: &LV_SEQ&,,®UP-XBLNR&,,®UP-BLDAT&,,®UP-BELNR&,,®UP-DMBTR&,,
= &LV_VAT&,,®UP-QBSHB&,,&LV_PAY&
/: ENDIF
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.