on 09-25-2006 10:40 AM
Hi,
I am a newbie to XI trying to set up a file2file scenario with multi-mapping/message splitting without BPM.
System is XI 3.0 SP14
Scenario is:
read an XML-File and multiply it and write 2 XML-files using the File adaptor.
For reference I used "multimapping without BPM".
- setting occurancy of Message types to unbounded in both Message Mapping and Interface Mapping.
- using the RB_Split button
- setting up one business service containing 2 message interfaces and 2 communication channels for output.
Designing and Konfiguring worked fine.
File is read but no file is written.
XML-Moni tells me "Mapping did not create Messages"
I did extensive studies in sap.help, forum and various blogs. Also to verify Messagetypes and Kommunication channels I set up similar file2file scenario without splitting. Nothing really helped.
Any clues?
hi,
did you test your mapping ?
test if like this:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
to use real messages
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For duplication I use graphical mapping tool.
<?xml version="1.0" encoding="UTF-8"?>
Input file:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_daten5_in xmlns:ns1="http://MyTutorial/SHeinz05">
<Name>1</Name>
<Anzahl>2</Anzahl>
<Preis>3</Preis>
</ns1:MT_daten5_in>
</ns0:Message1>
</ns0:Messages>
Output from mapping:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_daten5_out_1 xmlns:ns1="http://MyTutorial/SHeinz05">
<Name>1</Name>
<Anzahl>2</Anzahl>
<Preis>3</Preis>
</ns1:MT_daten5_out_1>
</ns0:Message1>
<ns0:Message2>
<ns1:MT_daten5_out_2 xmlns:ns1="http://MyTutorial/SHeinz05">
<Name>1</Name>
<Anzahl>2</Anzahl>
<Preis>3</Preis>
</ns1:MT_daten5_out_2>
</ns0:Message2>
</ns0:Messages>
Regards,
S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I generated this message with "Test Mapping" ->save source - double checked it with Michals solution (cut&paste) main document from payload in XML-Moni.
S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Adding to Henrique, if you are using Java / XSL mapping the target message is also encapsulated with the MESSAGES tag,
<b><?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1></b>
<YOUR MESSAGE1>
</YOUR MESSAGE1>
<b></ns0:Message1>
<ns0:Message2></b>
<YOUR MESSAGE2>
</YOUR MESSAGE2>
<b></ns0:Message2>
</ns0:Messages></b>
Regards,
Bhavesh
File adapter on both sides.
More precisely:
1x file adapter at sender (read & archive) data.xml
2x file adapter at receiver (write) data1.xml data2.xml
It is right now just used to duplicate.
Regards,
Sebastian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
thanks for your ideas, these blogs and help.sap are very good and also helped me a lot collecting information before I did post this thread.
I followed all steps mentioned but same error everytime.
S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
thanks for your idea.
But as posted in "Multi-Mapping without BPM - Yes, its possible!" I followed all steps ( which were explained ) in the blog.
There must be something wrong in my configuration which is not explained in detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again,
very efficient method to test XML-source file. - Thanks.
Unfortunately it did not solve my problem.
Again: "Split mapping did not create messages"
Below you can find a part of the trace created when processing this message:
<Trace level="3" type="T">Multi mapping required.</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_data_duplic_async_.</Trace>
<Trace level="3" type="T">Load ac6179b0-a92e-11da-be15-e51f0a000472, http://MyTutorial/SHeinz05, -1, com/sap/xi/tf/_MM_data_duplic_async_.class.</Trace>
<Trace level="3" type="T">Search com/sap/xi/tf/_MM_data_duplic_async_.class (http://MyTutorial/SHeinz05, -1) in swcv ac6179b0-a92e-11da-be15-e51f0a000472.</Trace>
<Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_data_duplic_async_</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_data_duplic_async_</Trace>
<Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_data_duplic_async_ completed. (executeStep() of com.sap.xi.tf._MM_data_duplic_async_</Trace>
<Trace level="3" type="T">Nachrichtentyp 1 Anzahl der Nachrichten 0</Trace>
<Trace level="3" type="T">Nachrichtentyp 2 Anzahl der Nachrichten 0</Trace>
<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
</Trace>
- <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
<Trace level="3" type="T">Persisting message after plsrv call</Trace>
<Trace level="3" type="T">Message-Version = 005</Trace>
<Trace level="3" type="T">Message version 005</Trace>
<Trace level="3" type="T">Pipeline CENTRAL</Trace>
</Trace>
<Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="3" type="T">Persisting message Status = 014</Trace>
<Trace level="3" type="T">Message version 006</Trace>
<Trace level="3" type="T">Pipeline CENTRAL</Trace>
</SAP:Trace>
Test of MM and IM is always successful.
Any clues?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian,
does your multi-mapping generate different interfaces?
If yes, did you set enhanced Interface Determination?
Check this link: http://help.sap.com/saphelp_nw2004s/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
Regards,
Henrique.
Hi,
Did you do the following,
1. Message Mapping, changed the occurence of the Target Messages to 0 to unbounded.
2. Interface mapping, changed the occurence of the target interfaces to 0 to unbounded.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.