on 04-07-2010 9:58 AM
Hi,
I have developed scripts and I get certain values as 0 (zero). I do not want to print the lines which show the value 0.
What is the correct logic to be followed to prevent the entire line along with 0 not to be printed.
Thanks
Reshma
The values that u r printing put them between IF and ENDIF block with a condition on "amount is not initial"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there are several ways to achieve that.
Easiest way is to let you know that you can do "IF-Statements" in sap-script.
But well this mostly destroys the understandability of your form.
so you could as well go for following:
assuming vbap-netwr = 5,00.
&VBAP-NETWR& EUR -> will print: 5,00 EUR
&VBAP-NETWR' EUR'& -> will print: 5,00 EUR
&'price: 'VBAP-NETWR' EUR'& -> will print: prince: 5,00 Eur
assuming vbap-netwr = 0,00.
&VBAP-NETWR& EUR -> will print: 0,00 EUR
&VBAP-NETWR' EUR'& -> will print:
&'price: 'VBAP-NETWR' EUR'& -> will print:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.