2006 Jul 26 5:20 AM
Hi all,
In SAPScript, i am displaying Quantity &RM06P-PRMG1(Z10)& - using std Medruck.
If the value given is 20, it should be displayed 20.000 (3 decimal). Instead its displaying 20.0000 (4 decimal).
Expecting Reply.
check use like that in sap script<b>...&RM06P-PRMG1(.3)&</b>
2006 Jul 26 5:23 AM
2006 Jul 26 5:24 AM
Hi,
Use This &RM06P-PRMG1(Z10<b>.3</b>)&
Thanks and Regards,
Bharat Kumar Reddy.V
Message was edited by: Bharat Reddy V
2006 Jul 26 5:36 AM
Hi Bharat,
I tried its not working, again its displaying with 4 decimal places
2006 Jul 26 5:45 AM
Print field: Quantity
it is 17 digit char field.....
u used (Z10) it means u delete 10 leading zeros.
now for display ur value there are 17 - 10 = 7 char left...
now u want to display 20 ..
20 = 2(digit)
. = 1 (digit)
0000 = 4 digit
total 7 digit...
it means it takes 17 digit total ...
i think u have to use like that (JUST TRY)... <b>&RM06P-PRMG1(Z11)& </b>
2006 Jul 26 5:55 AM
Hi kishan negi
I tried in all the ways, but even if i remove (Z10) its giving 4 decimal places.
2006 Jul 26 6:14 AM
&RM06P-PRMG1(Z10)& is character field....
how it show decimal notatuion of 20 (if u given it)... just check using debugger it is the same field ..
and
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |