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

HANA Calculation View Join

$
0
0

Hi All,

 

I am looking for help on below issue:

I have requirement join below 2 tables to combine sales and invoice data. Joined in Calculation view using left outer join where

PO No of Table A = Po no of Table B and

PO Line of Table A = Po Line of Table B

 

Table-A:

PO NoPo Line    ProductPriceQty
450036024410Article110010
450036024420Article22005

Table-B:

PO NoPo LineInvoice #Invoice AmtCurrency
1001011400USD
1001012600USD
10020131000USD

 

First PO cleared with 2 invoices (11&12) and expecting below output

PO NoPo LineInvoice #PriceQtyInvoice AmtCurrency
100101110010400USD
100101200600USD
100201320051000USD

But PO Price and Qty values are getting doubled and below is the output it is giving .

PO NoPo LineInvoice #PriceQtyInvoice AmtCurrency
100101110010400USD
100101210010600USD
100201320051000USD

 

Any early help is highly appreciated.

 

Regards,

Kotesh


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>