Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

How to Get Max key figure value

$
0
0

I created analytic view to join VBAK VBFA and VBRK tables. I am trying to identify last invoice created for Contract in VBAK table. Currently if I have 3 invoices created for contract I get three entries in output when I look at:

 

VBAK-VBELN VBRK-VBELN

1                              1001

1                               1002

1                               1003

 

I used Left outer join. What I need is:

VBAK-VBELN VBRK-VBELN

1                               1003

 

What is the best way to achieve this result?

 

Thanks,

Nitesh


Viewing all articles
Browse latest Browse all 8968

Latest Images

Trending Articles



Latest Images