on 11-10-2004 2:36 PM
Hello,
i have a variable (quantity 15 field with 3 decimal places) which i want to print via smartforms.
sap help describes that you have to set (.<number>)
for example: &field(.2)& to do that.
this doesn t work at all.
Does anybody know how you can do that?
I would appreciate an answer, because that costs me already alot of time.
thanks alot!
Jasmin
create global variable in form like:
gv_dec_0 type P decimals 0.
then create code in smartforms:
gv_dec_0 = your_field.
then output this gv_dec_0 field like
&gv_dec_0(7.2R)& or
&gv_dec_0(7R)&
br,
m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jasmin,
We use this notation in a smartform to print weights and it works fine. Perhaps you should also mention the total numbers to display before the decimal?
We have used: &BRGEW(8.0)&
Regards,
John.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.