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: 

ALV tree, total show sign

Former Member
0 Kudos

http://dl.dropbox.com/u/2144751/untitleda.JPG

Hi,

Here is my problem, In the example above I already set no_sign = X to the field catalog to the method set_table_for_first_display after display the alv tree, I set no_sign= ' X' because the client does not want any sign in the detail, but in the total yes the sign, So what i want is set sign property just for total, but no sign for all items. Or maybe another option.

My class is cl_gui_alv_tree.

Thanks in advance.

Regards

1 ACCEPTED SOLUTION

former_member209703
Active Contributor
0 Kudos

Hi

I don't think you can change the property just for the total, because that catalog propertyt applies to the whole column.

Why don't you just leave no_sign= ' ' and manually reset the negative values (multiplying by -1) for your internal table data except for those in the total?

2 REPLIES 2

former_member209703
Active Contributor
0 Kudos

Hi

I don't think you can change the property just for the total, because that catalog propertyt applies to the whole column.

Why don't you just leave no_sign= ' ' and manually reset the negative values (multiplying by -1) for your internal table data except for those in the total?

0 Kudos

Hi Jose Maria Otero,

Thank you very much, but I think that's not an option because if I change the values (multiplying by -1) the total is going to be wrong, remeber that total operation is "standard" so it sums the values as they appear, so the total will be wrong.

Thank you very much.

I know there is the option, that I program my own total but, I think is not the best option beause is a dynamic alv tree.

Regards!