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

Adding Sort Functionality in a standard report

Former Member
0 Likes
666

Hi experts,

Any ideas on how I can add sort functionality in report V_RA? Like sort ascending and sort descending in the application toolbar.

Helpful answers will be awarded.

Regards,

LM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
516

Hi

U should create a copy of that trx in order to show the data by ALV functions.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
517

Hi

U should create a copy of that trx in order to show the data by ALV functions.

Max

Read only

Former Member
0 Likes
516

Hi Leo,

One way is to try and find the PF-STATUS that is being used in the program. Goto that PF-Status and modify it accordingly. But then the standard code cant be changed for writing the functionality. U hv to either find a User-Exit or u need to copy the whole code into a Z program and then modify it.

Regards,

Himanshu.

Read only

Former Member
0 Likes
516

Hi Leo,

I am not sure if this is a custom report or standard report.

If it is a custom report then create an ICON in the application tool bar each for ascending and descending and assign a function code.

Then when this icon is clicked, read the field name from the list.

Based on the function code, in at user command event.

Sort the output table by that field and then display the list.

If it is a standard report then you need to check for an user exit to do the same.

Hope this is of some help to you