‎2007 Jul 27 6:20 AM
Hi Ppl,
I have a SAP Script command like this :
/: IF &W_VAT& NE C_INITIAL
C1 Recoverable VAT Amount :,,,,,,,,,,,, &w_vat&
/: ENDIF
C_INITIAL is type KBETR value is INITIAL.
But if W_VAT is initial, still the control is going into the IF Statement.
Can anyone tell me why?
Thx in Adv.
- Raj
‎2007 Jul 27 6:23 AM
‎2007 Jul 27 6:30 AM
try this
/: IF &W_VAT(C)& NE C_INITIAL
C1 Recoverable VAT Amount :,,,,,,,,,,,, &w_vat&
/: ENDIF
regards
shiba dutta
‎2007 Jul 27 6:35 AM
‎2007 Jul 27 6:37 AM
Hi Rajshri,
Have you seen in dubugging mode the variable w_vat is initial.
Regards,
Ashutosh
‎2007 Jul 27 6:39 AM
i think in C_INITIAL also some space problem may be there so can you try with
/: IF &W_VAT(C)& NE '0'
regards
shiba dutta
‎2007 Jul 27 6:47 AM
Thank you all,I have solved the problem by my own.As the W_VAT is a QUAN field we need to check it by '0.00'