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

How does the SORT function in ALV grid work?

Former Member
0 Likes
534

Hi,

I have a report for which the o/p is displayed in ALV grid format.There is one column in the O/p strcuture which is "No of days".Based on certain conditions,i need to display the value for some of the days as Negative e.g. " - 45".Becasuse of this,I have declared the field for the "No of days" of the type "CHAR".

Now when i sort(using ALV grid SORT function) the list on basis of this column,it doesnt give me the correct o/p.

CAN anyone tell me how do i handle this?I want the list to be sorted correctly on basis of the "No of days" column.

Thanks!

3 REPLIES 3
Read only

Former Member
0 Likes
508

Hi,

In my report o/p,I need to display only some values for the field "No of days" as Negatiive i.e. in form of

"-45".

Hence I cannot use EDIT_MASK option in field catalog.It will display all the values with that format("- ___").

Please help.

Read only

Former Member
0 Likes
508

Hi Experts,

CAn some one please help me??

Read only

0 Likes
508

This is your Fourth Cross Posting in last three days on same issue!!

I dont,ve link for your Fourth Thread on same,though i'm short memory loss.