Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script

Former Member
0 Likes
563

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.

6 REPLIES 6
Read only

Former Member
0 Likes
529

check use like that in sap script<b>...&RM06P-PRMG1(.3)&</b>

Read only

Former Member
0 Likes
529

Hi,

Use This &RM06P-PRMG1(Z10<b>.3</b>)&

Thanks and Regards,

Bharat Kumar Reddy.V

Message was edited by: Bharat Reddy V

Read only

0 Likes
529

Hi Bharat,

I tried its not working, again its displaying with 4 decimal places

Read only

0 Likes
529

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>

Read only

0 Likes
529

Hi kishan negi

I tried in all the ways, but even if i remove (Z10) its giving 4 decimal places.

Read only

0 Likes
529

&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