on 09-23-2019 5:47 AM
Hi all,
I have data from MySQL like this :
And I have Receiver Condition like this :
But, if I execute this scenario, all of the data from MySQL will be inserted on both of Communication.
So, in ZTABLE 320 have some data from CLIENT 325.
My expectation is if CLIENT = 320 will be inserted in BS_MPD320_D, so is the 325 CLIENT.
Why the condition is not working?
Hi Yoppy,
The best option will be to create only one mapping and parameterized the receivers for mapping. This is useful if you are having similar structure and similar kind of mapping for all receiver.
But if you have different structure for each receiver, then you have to create multiple mappings, one for each receiver.
https://sapintegrationhub.com/pi-po/mapping/parametarized-mapping-example-in-sap-pi-po/
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yoppy,
Is it possible to post sample payload, you are using for this interface ?
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have to create 2 separate mappings for both receivers. in mapping you will filter the records for each receiver.
in ICO, use the conditions for mapping as that.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yoppy,
If you see your incoming data it contains both values 325 and 320 that is why both receiver conditions are satisfied.
What you have to do is to create conditions for mapping. you have to create 2 mappings with conditional operator EX. And in the mapping you have to filter the records based on the client.
Thanks
Sugata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, yoppy.santoso
I agreed with sugata.bagchi2 .
According to him: "
If you see your incoming data it contains both values 325 and 320 that is why both receiver conditions are satisfied."
Since your incoming data payload have "MULTIPLE" MT_WDP_GET/row/CLIENT, it cannot exclusively chose one of conditions you mentioned. In other words, if your payload have only 1 MT_WDP_GET/row/CLIENT node. PI could work as you expected.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.