on 06-12-2014 5:36 PM
Hi SAP PI Experts
I am trying to create a multi mapping . There are two messages in Source and same two messages in Target mapped one to one as below :
<messages>
<message 1>(1 to 1)
<OrderCreate > ........</OrderCreate >(0 to 1)
</message 1>
<message 2>(1 to 1)
<OrderChange > ........</OrderChange>(0 to 1)
</message 2>
</messages>
when order create comes in source i want to create order create in target and same with order change (only one message in source and target).I have used Create IF condition in the mapping for the same .
while running the scenario end to end everything works fine for the first message (order create) but for the second message order change i am getting the error "Split Mapping does not creates message".
when i am creating both the messages then its runs fine.
Kindly let me know if both the messages are mandatory to be generated in target or we can create any one message based on condition.
Thanks in advance
imran ashraf
The issue is with using External definitions as target messages . I built the similar mapping using message types itsworking fine.
Thanks & Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Even i have the same scenario like above,but i can able to post the IDOC to target but facing an issue in Message monitor.
In Monitor i could able to see 2 message if an IDOC has been triggerd from Source.
Ex:
Suppose 123 is the customer number from source and it doesnot exist in the target then it has to trigger "CREATE" IDOC.It is creating as expected but in Message monitoring screen we are getting the data as below:
error success scheduled Integartionscenario Sender system target system Sender interafce sender namespace
0 1 0 PROD|Name| XXX ABC DEBMAS http://xxx
0 1 0 PROD|Name| XXX ABC CREATE01
And can see the same as above for Change also.
My queries are:
1. In Sender Interface it was showing the target interface name(CREATE01) instead of Source (DEBMAS) ?
2. why i am seeing 2 messages sepeartely.Can't i get the message in one message ?
Please provide your valuable inputs.
One thing to mention here is the messages(source and Target) OrderCreate and OrderChange are External Definition.
error :
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Request Message Mapping
-->
</SAP:Error>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Imran,
The problem is with mapping of OrderCreate node. when you do not receive the message in source the node should not be created. Please check if the node appear in the source as empty.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.