Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Getting the Latest Transaction

$
0
0

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


Viewing all articles
Browse latest Browse all 3366

Trending Articles