cancel
Showing results for 
Search instead for 
Did you mean: 

How to re-sort Table data like A-Z and Z-A

Former Member
0 Kudos

Hello Gurus,

How can i re-sort Table data based on last name or first name, once table filled data from backend(i mean, once executed RFC, Table will be filled with data records, after that i want to re-sort table).

Can you provide me code, how to do?

Thanks

Venkat.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venkat,

For sorting to table columns, you need to pick up the code from here and add into a java file within your development component.

http://wiki.sdn.sap.com/wiki/display/Snippets/TableSorterClassfor+WebDynpro

Then, you can call the constructor of the class and pass the arguments to enable table sorting in your code.

Refer to following blog for execution

http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID1078501850DB00490474849923920126End...

Let me know, if the problem persists.

Regards,

Tushar Sinha