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

last date

Former Member
0 Likes
371

Hi

how to get last date of shipping in internal table of date(wadat)

i wanna last date and show it in scriptform

please guide

Deepa

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
343

sort the table by date in descending order and take the first record

sort table itab by date descending.

read table itab index 1.

write:/ itab-date.

Regards,

Ravi

2 REPLIES 2
Read only

Former Member
0 Likes
343

Hi..

Select <lastdate>

from <dbtable>

into itab.

select VSTEL LFDAT

from likp

into table itab.

Read only

Former Member
0 Likes
344

sort the table by date in descending order and take the first record

sort table itab by date descending.

read table itab index 1.

write:/ itab-date.

Regards,

Ravi