cancel
Showing results for 
Search instead for 
Did you mean: 

Multiprovider - how union works?

0 Kudos
1,200

Hi Experts,

My question is related to the working of Multiprovider in SAP BW/BI. I am very new to this domain and want to enhance my understanding about these objects.I have already read multiple threads that discusses about Multiprovider as a object that performs Union(SQL) operation, but still I am not able to understand how exactly it works.

What I understand is, inorder for UNION operation to work, the structure of two tables should be same.

And if I treat Multiprovider being working as FULL OUTER JOIN then there should be atleast One common field between the two tables?

It would be great if someone can help me in understanding it more properly.

Considering a scenario, say Infoprovider1:

Doc_Number

Doc_Type

Qty

10A100
20B200
30C300
40A400
50A500
60C600

Infoprovider 2:

Order TypeMkt Type
AM1
BM2
C

M3

Now when using these Infoproviders in the Multiprovider will the final output be like?

Doc_NumberDoc_TypeOrder TypeMkt TypeQty
10A##100
20B##200
30C##300
40A##400
50A##500
60C##600
##AM10
##BM20
##CM30

And what if the Infoprovider2 has the structure like:

Doc_NumberOrder TypeMkt Type
10AM1
20BM2
60CM3

Then if the understanding is correct then the multiprovider output will be like:

Doc_NumberDoc_TypeOrder TypeMkt TypeQty
10A##100
20B##200
30C##300
40A##400
50A##500
60C##600
10#AM10
20#BM20
60#CM30

And finally the rows 1 & 7, 2 & 8, and 6 & 9 will be aggregrated as ( Does multiprovider perform aggregation as well..?) :

Doc_NumberDoc_TypeOrder TypeMkt TypeQty
10AAM1100
20BBM2200
30C##300
40A##400
50A##500
60CCM3600

Thanks

View Entire Topic
0 Kudos

Hi Sonaldeep,

You got it all right.

Just the aggregation part you are saying would not happen.

Regards,

Hitesh Jena