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: 

How to Add Alv Field given below figure

Former Member
0 Kudos

urjent

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Udit,

Normally, a post such as this would simply be rejected and disappear from the ABAP space...  However, seeing as you have demonstrated absolutely no effort in helping yourself and have simply posted a picture of what you want with the demand "urjent" I'm responding to the moderation request here in public, in the vain optimisim you will pay more attention to it and also educate others.

  1. This is basic ALV - please consult your course notes, search SCN/Google, ask your colleagues and/or read SAP Help.
  2. Please only post clear technical questions, not just vague requirements such as this.
  3. Please do NOT ask for urgent help - it is rude and presumptious.

Also, to all of those who have answered this thread, instead of going for the easy points, it would help us all so much more if you used the alert moderator function so that we can keep posts like this managed.

<thread locked>

Thanks,

G.

5 REPLIES 5

former_member196331
Active Contributor
0 Kudos

You Need to add the column in final internal table then

In field catalog u have to add the column. then it will be display.

rajucd81
Participant
0 Kudos

Hi Udit,

The above solution will worked out for your issue, still if
you have any questions lets us know, if you can able to add the column as you
expected with this, pls close this thread.

Thanks

Raju C D

0 Kudos

hi,

you can add do_sum as X in field catalog for that field.

hope it helps.

Former Member
0 Kudos

hi,

If you want to add only specific value from that column then you have to write your own logic in program and add sum of those column into your your internal table under new column. You can add one more column in your field catalog and then it will be displayed in ALV output.

If you want all values of that column to be added up.. you can use sort table of ALV function module. You have pass your field name and mark DO_SUM as X, then ALV will automatically sum it up for you.

Thanks.

Former Member
0 Kudos

Hi Udit,

Normally, a post such as this would simply be rejected and disappear from the ABAP space...  However, seeing as you have demonstrated absolutely no effort in helping yourself and have simply posted a picture of what you want with the demand "urjent" I'm responding to the moderation request here in public, in the vain optimisim you will pay more attention to it and also educate others.

  1. This is basic ALV - please consult your course notes, search SCN/Google, ask your colleagues and/or read SAP Help.
  2. Please only post clear technical questions, not just vague requirements such as this.
  3. Please do NOT ask for urgent help - it is rude and presumptious.

Also, to all of those who have answered this thread, instead of going for the easy points, it would help us all so much more if you used the alert moderator function so that we can keep posts like this managed.

<thread locked>

Thanks,

G.