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

Function Module

Former Member
0 Likes
402

Hi

Is there any Function Module for Getting the latest selected dates from table.

1 ACCEPTED SOLUTION
Read only

S0025444845
Active Participant
0 Likes
386

Hi,

You can retrieve the data in an internal table itab and then

sort itab by < date field> decending. then

read itab index 1.

u will get latest created date

regards,

sudha

3 REPLIES 3
Read only

S0025444845
Active Participant
0 Likes
387

Hi,

You can retrieve the data in an internal table itab and then

sort itab by < date field> decending. then

read itab index 1.

u will get latest created date

regards,

sudha

Read only

Former Member
0 Likes
386

Hi,

Other option is retrieve the data in an internal table and then,

DESCRIBE TABLE ITAB LINES N.

READ ITAB INDEX N.

Regards,

SG

Read only

Former Member
0 Likes
386

Either u have to go with

Select Max ( ) ...

or after fetching the data into ur internal table

sort itab by date descending time descending .

this will fetch the latest records .

Vijay