Quantcast
Channel: SCN : Document List - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 571

UseOneAsMany in SAP PI

$
0
0

UseOneAsMany Analysis

1.png

1st argument: Value to be passed to target.

2nd argument: How many times the value must be repeated in target.

3rd argument: How context changes must be in target.

2.png3.png3.png5.png

Rule 1: First queue and Second queue should have same number of context changes.

 

Else:

  
First Queue:                                   Second Queue:                               Result:

6.png7.png8.png

Rule 2: Second queue and Third queue should have same number of values (total count).

 

Else:

 

Second Queue:                              Third Queue:                                   Result:

9.png10.png11.png

Rule 3: First queue should not have repeated values.

 

Else:

 

     First Queue:                                   Result:

12.png13.png14.png15.png16.png17.png

 

Else:

18.png19.png20.png21.png

Pick1:

 

Everything seems right. Right?

.

.

.

Wrong!

22.png

(Wrong Error)

Reason: State is under F_Address_MT and Name is under PersonalDetails.

Intuition: A field of lower level cannot be mapped to one in higher level.

 

Pick 2:

23.png

     Expecting something like this?

24.png

No? Then you’re right. Look at this queue:

25.png

This is what you are gonna get:

26.png

Why?

The context changes on the target are at the same level as first queue which is at PersonalDetails, whereas third queue is at Friends level (lower level). Hence the context changes propagated to the target get converted to the level in first queue.


Viewing all articles
Browse latest Browse all 571

Trending Articles



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