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

ABAP Query - Sorting Issue in Basic List (SQ03)

Former Member
0 Likes
1,847

Hi,

I have developed a ABAP Query. I want to sort some of the fields, for which I need to add some output fields to the sort sequence box in the Basic List page in SQ03/SQ01. But, I am not able to drag and drop the fields directly. Please suggest how can this be done? Thanks in advance.

Best Regards,

Tejas Savla

3 REPLIES 3
Read only

Former Member
0 Likes
980

Hi,

You can sort fields in query.

Go to tcode sq01 than go to the option infoset query.

In infoset query you can sort fields in descending or ascending order.

You can also select fields which you want to sort.

Regrds,

Nikhil.

Read only

0 Likes
980

Hi Abhishek,

There are three things related to Query.

1) You have to create the USER GROUP in SQ03.

2) You have to create the Infoset in SQ02. In this infoset you can write the logic of the program/Query what ever you want to perform.So you can sort the table in the infoset in the program logic.you have to create the output table of the query.

3) you have to create the Query in SQ01 and you have to associate the User group and infoset . you have to design the layput of the output you want to have.this output fields would be same as you have defined in infoset(step 2).

hope this will help you.

thanks

Tanmaya

Read only

Former Member
0 Likes
980

Hi,

You can give the sort order of the fields while creating various listes , Basic , Static and ranked in SQ01.