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

Problem while using Default variant

Former Member
0 Likes
657

Hi all,

I hae developed an ALV report. Now i have saved a default variant. When i use this variant and execute the report, certain buttons such as SUM do not appear on the toolbaar. If i remove the variant and execute the report, the SUM button comes up.

I have tried saving the layout when SUM button is there. BUt as soon as i run using any variant, SUM button disappers.

Kindly help.

5 REPLIES 5
Read only

Former Member
0 Likes
627

Hi Nishant,

In you coding part, did you pass the i_save as 'A' parameter in the function module REUSE_ALV_GRID_DISPLAY?

Regards,

Ravi

Read only

0 Likes
627

Ya , I did gave an "A" as parameter

Read only

0 Likes
627

Hi Nishant,

I think Vijay is right. If you do not have any fields that are summable, then the button will not appear.See if the fields you chose as variant doesn't have any fields that are summable(Numeric data).

Regards,

Ravi

Read only

0 Likes
627

Hi Ravi,

There quiet a few fields which are numeric .

Regards

Nishant

Message was edited by: Nishant Gupta

Read only

Former Member
0 Likes
627

Hi Nishant,

If you don't have SUMMABLE columns then SUM option automatically disables. and more over you have default variant , in that default variant you don't have any SUMMABLE columns(i.e type n/p). so it always disables that SUM button. when you remove Defalut option for that variant and save. and try to check with differnt combinations with Numeric columns and see/

Regards

vijay

Regards

vijay