Application Development 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: 

problem in getting total at alv output

Former Member
0 Kudos

Dear all,

i have done a alv report.. in which no currecy or quantity field.

But i got one field of values like '252.56 FT2'... but in the output i am displaying this as '256.56' by Using split.

I want to make total of this field.

I tried a lot before posting this in scn nothing worked for me.( i didn't get total symbol at alv output).

i also get message 'Field cannot be totalled because of overflow.

i did by changing the data types and failed to get the right solution.

Kindly anyone help me please..

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

Create a new field in internal table of type P,before displaying the alv split it into character variable and pass it to function MOVE_CHAR_TO_NUM and store the output in newly created field for the respective record. Later sum this new field.

1 REPLY 1

kesavadas_thekkillath
Active Contributor
0 Kudos

Create a new field in internal table of type P,before displaying the alv split it into character variable and pass it to function MOVE_CHAR_TO_NUM and store the output in newly created field for the respective record. Later sum this new field.