cancel
Showing results for 
Search instead for 
Did you mean: 

Qty with zero decimal

Former Member
0 Kudos

Hi Experts,

I have downloaded a Smart Form from one system and uploaded into my system. Both the system are ECC6.0. But in the form output of the sourec system,the field &TOPTAB-MENGE(ZC)& is getting printed WITHOUT ZEROS but in my system, the same is getting printed WITH ZEROS.

Could any one please suggest why is this difference??

Thanks and Regards,

Rudresh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved by myself.

Former Member
0 Kudos

Hi

&TOPTAB-MENGE(ZC)& in this (ZC) .. here Z indicates Omitting Leading Zeros and C is for SPACE Compression.

Omitting Leading Zeros

&symbol(Z)&

Assuming the current date is 1.1.1994,

&DAY& -> 01

&DAY(Z)& -> 1

Space Compression

&symbol(C)&

Assuming ' Albert Einstein ' is the symbol value,

&symbol& -> Albert Einstein

&symbol(C)& -> Albert Einstein

It should work well in your system too..

Remove that and retype it again and check.

Former Member
0 Kudos

I re-typed but it's not working.

Former Member
0 Kudos

Hi ,

You can check if your field &TOPTAB-MENGE& is defiend in the same way in both systems.

Another solution is to set tahta the fields should be printed with zero decimals, &TOPTAB-MENGE(.0)&

Regards

Åsa Thenstedt

Colada AB

Former Member
0 Kudos

Hello..I got the answer..there are different settings in tcode CUNI in both the systems..that's why zeros are coming.

Now, I'm solving the problem programmatically.

Thanks!