on 11-21-2013 2:20 PM
Hi Group,
I am working on File to IDOC scenario, while doing multi mapping I am facing the below issue
Source
-----------
Message
Message1
multimaster
Recordset
field1
field2
field3
field4
field5
Target
--------
Message
Message1
MATMAS01
IDOC
...
----
Message2
MATMAS02
IDOC ...
----
Message3
MATMAS05
IDOC
...
----
based on field3 (in source) I am creating IDOCs at target side.
field1 = C --> createif -->MATMAS01
field1 = U --> createif -->MATMAS02
field1 = D --> createif -->MATMAS05
and I mapped Recordset --> IDOC
when I am testing this its going at target side, if I am testing with one record its working fine if I pass multiple records with different field1 values its always creating only one node base first field1 value, can any body suggest
Hi Rajiv,
the issue seems to be in your message mapping. Please check the context in the mapping.
Please provide more details of the map, so we can give you detailed answer.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harish ,
THank you for your message
my Mapping is simple , here i am providing details:
field1 = C --> createif -->MATMAS01
field1 = U --> createif -->MATMAS02
field1 = D --> createif -->MATMAS05
Recordset --> IDOC
fiel1 ,field2,fiel3,field4,field5 are one to one mapping to IDOC fields
let me know if you need any further details.
HI rajiv,
Multi mapping with multiple Idoc receivers is not possible. Multi mapping with single Idoc is possible without using BPM.
Refer http://scn.sap.com/thread/971698
You should use BPM to achieve this functionality.
Regards,
Pranav
Hi Rajiv,
you can also achieve the scenario by created different interface mapping for each IDOC (MATMAS01, MATMAS02 etc) and maintain the condition in interface determination.
If you are expecting multiple IDOC of same type (more then one idoc of MATMAS01, 02 etc), you need to do work around.
Regards,
Harish
To add further -
As per the thread i see that message split is not possible for ABAP based adapters.
So if your PI version is > 7.3 then you can use IDOC_AAE adapter.
If not still I don't think you need a BPM to achieve..
You can create three operation mappings and add your conditions in the interface determination.
You can refer to this blog.. explained with screenshots..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Group,
Mapping problem is solved , but I am getting the new Error in MONI now,in my scenario , sender file is splitting to 4 different files. 3 for Idoc adapter and 1 for RFC. Now I'm getting error message " At least two of the sub-messages are for different adapter engine types."
I am not using BPM in this case, followed the below link:
still getting above Error,can any body suggest.
User | Count |
---|---|
88 | |
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.