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

sort structures Typ

Former Member
0 Likes
434

Hello gurus,

i want sort an sort structures Typ, but the was no result.

Like This

DATA: lw_auto TYPE isulp_elpass_auto,

lt_auto_tref TYPE table of isulp_elpass_auto.

Select * from Auto into Table lt_auto_tref

where ....

Sort lt_auto_tref by date.

This is only pseudo Code. Its korrekt !!!

Thank for Help

chris

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
410

Hi,

That code you have written is correct.

But you can as well sort in the SELECT statement using ORDER BY.

SELECT * FROM <TABLE> INTO TABLE ITAB ORDER BY FILED1.

Regards,

Sesh

.

3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
411

Hi,

That code you have written is correct.

But you can as well sort in the SELECT statement using ORDER BY.

SELECT * FROM <TABLE> INTO TABLE ITAB ORDER BY FILED1.

Regards,

Sesh

.

Read only

0 Likes
410

Hello

I Know the Statment Oder / Group. In this case is no Select Statement. I use An Fm.

Read only

Former Member
0 Likes
410

solved on my own