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

alv_grid total problem

Former Member
0 Likes
760

Hi experts,

my problem in the alv grid is when i subtract the amount its coming diffrent.

like 221,397,000 - 1,000 = 221,396,000 but here its coming it as 22,139,699,000. as its subtracting by (dot) .1000 . so wat might b the problem & hw to change it.

Regards

Sunita.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
729

Hi,

Try like this :

Remove all thousand separators and subtract it. Again move the value into the required field.

To remove seperators First Replace all thousand seperators with Spaces then Condese without Gap the value. then subtract value. Again place the seperators as per your settings in SU01.

5 REPLIES 5
Read only

Former Member
0 Likes
729

Hi Sunitha,

Move both the values in the char fileds and try to substract and then again move the final value to the amount filed.

hope it works.

Thanks!

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
729

Check the user settings for displaying amount fields in SU01

Read only

Former Member
0 Likes
729

hi sunita

you cn go thru dis documentation

http://help.sap.com/saphelp_nw04/helpdata/en/fa/efb52cf8a611d2b48d006094192fe3/frameset.htm

hope this helps

regards

Aakash Banga

Read only

former_member585060
Active Contributor
0 Likes
729

Goto Menu>System>UserProfile>Owndata

Defaults Tab

Look for Decimal notation

Change the decimal notation here

Read only

Former Member
0 Likes
730

Hi,

Try like this :

Remove all thousand separators and subtract it. Again move the value into the required field.

To remove seperators First Replace all thousand seperators with Spaces then Condese without Gap the value. then subtract value. Again place the seperators as per your settings in SU01.