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

LDB Sorting..

Former Member
0 Likes
533

Hi Gurus

Can we sort the LDB data in program ? If yes, then How ?

Quick help is appreciated.

Regards,

Gajanan

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
462

Once you extract the data from LDB, then it is stored in an internal table only transferred from the structures.

You can sort them.

Regards,

Amit

Read only

0 Likes
462

Hi,

The data is not stored in the internal table, it is a standard pgm and they are writing in Loop. Endloop. without an internal table.

The LDB is not related to HR it is Check printing PYF. and i don't want the sort on the primary key...i want the sort on some other field in the table which is retrieved

in the LDB..

Srini

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
462

Hi,

If you use PNP LDB and get pernr statement,I think the pernr will come automatically in sorted order.

If you want the recent record,you should use macros rp_provide_from_last.