Application Development 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: 

SORT COMMAND

Former Member
0 Kudos

select single SRT00 SRT01 SRT02 SRT03 SRT04 SRT05

from t312s

into zstruc

WHERE lgnum = zlgnum

and SOKNZ = zdrukz1.

SORT IRLDRI BY (ZStruc).

IN ZSTRUC I HAVE VALUE KOBER,VLTYP ...

AND IT NOT WORK WHY?

I NEED IT DYNAMIC

2 REPLIES 2

Former Member
0 Kudos

Hi,

You have to do it using fields only. I dont think there is a way to dynamically assign the fields.

MAy be then you have to take help of Field Symbols.

Reward if useful!

0 Kudos

I MADE IT SORT .. BY ZSRT00 ZSRT01 ZSRT02 ZSRT03 ZSRT04 ZSRT05

AND I GET DUMP TO