on 10-23-2008 10:26 AM
Hi Gurus,
I've the following scenario. I've got 2 files with 2 different structures
File 1 -> <ID>
<NAME>
File 2 -> <NUM>
<DATE>
I need to perform a mapping to a structure as follows
<NEW STRUCT>
<ID>
<NAME>
<NUM>
<DATE>
Can this be during in the mapping?
Do I need to perform 2 message mappings? i.e, one for File 1 structure and another for File 2 structure?
Hope my query is clear.
Thanks in advance.
Hi,
You can load both the structures in the same mapping and put the third structure in the target.
You can load multiple Message types in single mapping , you dont require to have two mappings.
Regards
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
No need to perform 2 message mappings.You can achieve this in one mapping itself.
In message mapping, got to messsages Tab. There you can add 2 source message types and output file in the target message .
Then, you can do normal mapping.
Name--Name
ID---ID
Num--Num
Date--Date.
Your mapping will be executed.
If you are using PI 7.1, then you cant find message tab in the message mapping, instead you can find signature tab. There you can add the source messages.
Regards,
Leela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this is what you need:
http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
The used Message Mapping BpmPatternCollectMergeMultiIf could be found here:
SAP Basis -> http://sap.com/xi/XI/System/Patterns
Regards
Patrick
Edited by: Patrick Koehnen on Oct 23, 2008 11:43 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can go to the messages tab in message mapping and click add icon.
With that, you can add multiple source messages or multiple target messages.
Regards
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yu,
you can do that if you create only ONE datatype for file1 and file2. You mark all fields as optional (occurence 0-1) and use this for a multiline container, where you receive the two different messages and merge them later.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.