Skip to Content
0
Feb 26, 2014 at 11:28 AM

Getting the Latest Transaction

27 Views

Hi guyz,

Just want to ask how will I do this...Is this possible in routine or in the query?

For example, I have these fields:

0CALDAY (date of the transaction)

0CALMONTH

0CUSTOMER

ZTRANS (transaction number)

ZVOL (volume)

I want to get the latest transaction of each customer for every month..

How will I do it? The only way I can think is to get the MAX date by looking up in the PSA table and the DSO target..But I think the performance will be very slow..Any other idea?

Thanks!

Loed