on 03-08-2013 4:34 PM
Hi,
I have a scenario which uses N:1 multi mapping (ref attached docu), i.e. source message has four different Idoc type mapped to corresponding same Idoc type.
Query : My input payload has the structure as below i.e. for shipment I have got two Idoc . First Idoc has the msg type as SHPMNT and second one with msg type as ZST_SHPMNT(Pls ref below) .
Here is the mapping objects , where I have 5 different MM and IM, but here the SHPMNT Idoc is used in two MM because of two different message type (SHPMNT and ZST_SHPMNT).
MM_I1001_ZST_SHPMNT05_WMQ_TO_SAP:
When this mapping execute I would like to check the Idoc which has msg type as ‘ZST_SHPMNT’ and need to populate that idoc to the target msg.
MM_I1001_SHPMNT05_WMQ_TO_SAP:
When this mapping execute I would like to check the Idoc which has msg type as ‘SHPMNT’ and need to populate that idoc to the target msg
can someone help me to get a better logic to validate the source xml and map to single target msg.
can some one help me on this ?
the inbound payload has two Idoc value for two different message type within one Idoc segment.
now how to send one Idoc based on the msg type value to the target msg structure?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
N:1 mapping cannot be achieved without using ccBPM. Plus
>now how to send one Idoc based on the msg type value to the target msg structure?
You can use enhanced interface determination and check this blog
Hi,
I'll put my query in simple, This is an inbound scenario.
In the payload the Idoc segment <ZSTE_SHPMNT05_01> has two Idoc node (pls ref above sceenshot) based on msg type value within the Idoc node, either one of the Idoc should be send to the target msg.(source is 0 - unbounded and target is 0 - 1 occurance)
can we use any better node function for this approach?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would also suggest you to use BPM for this. See how two source messages have been merged into one in the below tutorial:
http://saptechnical.com/Tutorials/XI/BPM/Fork1.htm
As you have four inputs, you will have four receive steps within fork in the BPM, with correlation defined amongst them, then transformation step containing your operation mapping & then send step to send the single message to the receiver.
If you want to go for NW BPM, kindly go through below pattern:
I guess there is only one proper tutorial for NW BPM, which is for displaying name & age..This one shows all the steps..Here is the link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
N:1 transformation could be done only through BPM....See the below thread also:
Hi,
This is merge and you can achieve only through BPM, as per my knowledge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.