Multi-mapping for ibound IDOC
Hi! All
It would be of great help if you provide your suggestions on:
Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
I tried multi-mapping and received the following error:
"Messages in multi-message format can only be sent to one Adapter Engine"
Looks like IDOC adapter does not support multi mapping...
Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
Thanks a lot!!
Regards,
Patrick
Hey
its not possible to do Multimapping over IDOC's without BPM.
other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
without BPM you cant do multimapping for IDOC or HTTP
Thanx
Aamir
Message was edited by:
Aamir Suhail
Similar Messages
-
Multi Mapping for JDBC Receiver JDBC Adapter
Hi All,
I'm trying an IDoc to JDBC (canonical XML) scenario using multi mapping (single IDoc as source and two different JDBC messages in receiver end). But, this is failing in RWB with some parser error. So, am not sure whether multi mapping is allowed for JDBC Canonical XML format. Please clarify.
Thanks,
Hussain.Hi ,
JDBC Adapter supports multi mapping,so you can implement the same,but what do you mean by Canonical XML format??
Regards,
Raj -
Multi mapping for n:1 transformation
Hi Friends,
I have to implement a multi mapping in which I have n:1 transformation,i.e
2 MT in Source and 1 MT in Destination,but the constraint is - without using BPM....
Is there any way to implement this Message Mapping without using BPM.
Please suggest....
Regards
PraveshHi Pravesh,
N:1 without BPM is not possible.
However there is a nice way to collect multiple idocs without BPM
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
Dont know weather it suits ur scenario, but still it is a workaround.
Regards,
Prateek -
Multi Mapping for a simple scenario
Hi,
i have a scenario i.e. from the source I'm getting some 10 fields of data.. like bellow..
Data: 0--- Unbounded
Company_Code 1-1
Order_No 1-1
Material 1-1
Amount 1-1
but my requirement is.. in the receiver side i have two structures..
1)Receiver1
Data: 0--- Unbounded
Company_Code 1-1
Order_No 1-1
2)Receiver2
Data: 0--- Unbounded
Company_Code 1-1
Material 1-1
Amount 1-1
if the Company Code is 1000 then the data wil goes to First Receiver.. and if the Company Code is 2000 then the data will goes to Second Receiver
This is my requirement..
for this. idid IR point of view every thing correctly by using multi mapping.. even if i test the mapping that is working fine..
but in the ID(Integration Directory ) i'm not able to see any Interface mappings . in the Enhanced Interface detremination.. It was displaying No Objects Found.. message..
for that what can i do.. any suggestions.. please..
regards
JainHi jain,
I think you confused with occurance.
For your recurement You created a structure with 0-unbounded in the Source and Receivers.
There is no need of change the Message type and Interface Name Structure occurances.
Just Do like belllow.
1. Mapping:
select your source structure.
select your Receiver structures.
Put the condition for creating Nodes for the Receiver structures.
There is No need of change occurances.
2.InterFace Mapping:
Select Your source message Interface.
Select your Receiver interfaces.
Have (1 Mapping) 1 source ,2 Receivers.
There is No need of change occurances.
Now go to Interface Determination.Choose extened.you will get your mapping.
Regards,
Prakasu -
Multi-mapping for EDI 810 Interface
Hi,
I am building EDI 810 interface. We have following requirements.
Source system is SAP. Target systems is AAFES and COSTCO.
1 Source system and 2 target System.
For example: Can i have Interface mapping as shown below?
Invoice IDoc -> MM_EDI_810_AAFES -> EDI_810
MM_EDI_810_COSTCO
Based on DUNS number can i re-direct the interface to choose one of the mapping and accordingly choose the communication channel?
Thanks,
GowriHi,
You can do this in any of the following ways:
Content based routing in XI can be done during
1) Receiver Determinations (Integration Directory) --- Used for entering a condition for
forwarding a message to one or more receivers
http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
2)Interface Determinations (Integration Directory) --- Used for entering a condition for forwarding a message to multiple inbound interfaces
3) Designing Integration Processes (ccBPM) (Integration Repository) --- Used for entering a condition for processing process steps (see Step Types)
At all the 3 places u will use the Condition editor,
http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
Hope this helps you.
Regards,
Abhy -
Context handling in message mapping for an IDoc to File Scenario
Hi,
Can somebody help me with this issue. I have an Idoc to file scenario. heres my idoc structure. Its a custom Idoc
Header (1..1)
Detail (0..Unbounded)
DependentDetail (0...Unbounded) Note: This dependentdetail is a subelement of Detail
Trailer(1...1)
I created my target structrure the same way as the Idoc structure.
My output is a simple text file. I need the output in this format
Header
Detail1
Dependentdetail1
DependentDetail2
DependentDetail3
Detail2
DependentDetail1
Dependentdetail2
Detail3
Detail4
Trailer
Since the Detail and Dependent Detail records are unbounded .
But right now i m getting my output like this:
Header
Detail1
Detail2
Detail3
Detail4
Trailer
But the DependentDetail record in not showing up in the output file. I didnot do any context change in my mapping. So do I need to do any context handling??...If so can somebody explain me with this.
Thanks,
Adam
Edited by: hymanroth on Apr 29, 2011 11:11 PMThanks Kenneth foryour quick reply,
Yes, I see the payload for Dependent detail in SXMB_MONI. So as you said earlier there's a problem with my content conversion.
my content conversion is as follows:
Header.fieldNames
Header.fieldFixedLengths
Header.endSeparator
Detail.fieldNames
Detail.fieldFixedLengths
Detail.endSeparator
DependentDetail.fieldNames
DependentDetail.fieldFixedLengths
DependentDetail.endSeparator
Trailer.fieldNames
Trailer.fieldFixedLengths
Trailer.endSeparator
So As I told earlier. With the above content conversion. I am not able to get the Dependent detail record in my output file. So If there is a change in my content conversion can u check it and tell me where I went wrong.
Thanks,
Harsh
Edited by: hymanroth on May 2, 2011 7:03 PM -
Multi mapping for Synchronous Interface (RFC)
Is it posssible to define synch multimapping (RFC)?
For exmaple my structure is
request
<items>
<item>
</item>
<item>
</item>
</items>
I want to invoke RFC for each <item> and to get response like
<responseitems>
<item>
</item>
<item>
</item>
</responseitems>
Do I need synch BPM or it is possible without?Hi,
u can do these buy settin the rfc to rfc to unbounded and map the items with the rfc so for every item u will get a rfc.
u can use <b>packaging</b> to perform the multimapping where u can avoid bpm.just create a external defnition for ur rfc and change the occurance of the rfc to 0..unbounded and use the external definition for mapping.
so for each <b>item tag a rfc will be generated</b>.
To get the response give ur inbound interface as synchronous.
regards
jithesh
Message was edited by: jithesh balakrishnan -
Hi Experts,
I have inbound scenario flat file ->XI->ORDERS04.
In my flat file I have below fields.
1)Ship to address
2)Plant Code
3)Item Text
4)Header Text
5)Pricing Condition Type
To which fields of the ORDERS04 idoc i can map the above fields?
Please help me on this.
Regards,
PrasadHi,
in your SAP system go to we60 tcode and give the message type as ORDERS04 and it will show you each and every field discription, which will help you in mapping.
Regards,
Sukarna.ch -
SP14 Multi-mapping - error in receiver idoc adapter
Hi,
I have a scenario where a business service should send some XML to SAP CRM. I get the file via a sender JMS adapter and try to post it to CRM via a receiver IDOC adapter.
I have created a multimapping (1:N - 1 XML file to many Idocs) as should in the repository.
In the configuration under Interface Determination, I have chosen 'RB_SPLIT' and selected the interface multimapping.
It should be pointed out, that when testing both interface and message mapping i get no error. All idocs seem to be created as they should.
When testing the setup 'real life' the message fails. The error message in the monitor says:
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
<SAP:P1>InterfaceCollection</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to interpret IDoc interface InterfaceCollection</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Notice that the above error is when trying to send only 1 record, which in turn then should result in only 1 idoc.
If trying to send multiple XML records, i get the following error:
- <!-- Technical Routing
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="OUTBINDING">MMF_ENGINETYPE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>A system error occurred in the outbound binding</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
In the monitor in the payload of 'Request message mapping' I see as many Maindocument, Submaindocument pairs as should be Idocs.
Now i really don't know how to interpret the error messages in both cases, so I'm a little lost here...
It should be pointed out that the idoc being used everywhere in this scenario, has not been modified - from all places it is being used (and only exists) in the 'Imported objects | Idocs' place.
Also the Idoc is also being used as Inbound interface - so no mistakes here either.
I really hope someone can help me here, as I'm otherwise pretty stuck in this case.
Best regards,
DanielHi Daniel,
I have exactly the same type of scenario (under SPS14 and now also SPS15), sending an XML message over JMS to XI and trying a multi-mapping to many IDocs (actually a list of orders in XML is mapped to n ORDERS Idocs).
I also face problems doing so, when I use the IDoc Adapter as outbound in the Receiver Agreement. I receive the following error:
<i>CO_TXT_MMF_ENGINETYPE
Messages in multi message format can be sent to one adapter engine only</i>
However, I tested the same scenario by just changing the Receiver Agreement to a File Communication Channel and - surprise, surprise - it works. One file per IDoc is created.
Of course, this is not what we want to accomplish, but when I checked this piece of documentation (sorry another link
http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm
the IDoc adapter is not listed in the list of Adapters that are supported. Does that mean, that this feature is not supported for generating IDocs? Maybe that's a question for a SAP OSS Message?
I hope that helped you a little further - if you find out more I'd be happy to learn about it.
regards,
Peter -
Multi Mapping - Receiver IDOC & Mail with BPM
Hi,
Is it possible to use BPM with Multi Mapping for IDOC & Mail receivers sent parallely..
Appreciate your help ..
Thanks,
vasanth.Hi Michal,
Thanks Michal,
We are using PI 7.1, Our Scope to do File to IDOC & Mail scenario in between we have to do RFC Lookups..
Could you pls guide me thru the steps fo BPM,
1 SA -> OB to AA
2 ID -> OB to AA & AA to Recv
3.RD -> OB to AA & AA to Recv
4.RA -> AA to IB & AA to IB
Correct me if i'm wrong..
Clarification : Is there is any way out to implement this scenario with out BPM.
We already implemented this scenario with 2 MM & 2 OM, Scenario works fine...but we have to use 1 Mapping..
Appreciate your help in advance..
Thanks,
vasanth. -
Questions to a Mapping for IDOC-to-File Scenario
Hi all,
I want do develop a Message-Mapping for an IDOC-to-File Scenario. A SAP System sends an IDOC to the XI-System and the XI-System should make a mapping an send a XML-File to a FTP-Server. The Strukture of the target message is very easy:
<xdoc>
<Invoice>
@purno
<HeaderInfo>
<invno/>
<shipdate/>
<extvalue/>
</HeaderInfo>
<DetailInfo>
<LineItem>
@lineno
<vpartno/>
<descrip/>
<qtyord/>
<cost/>
<vendmemo/>
</LineItem>
</DetailInfo>
</Invoice>
</xdoc>
The source message is an IDOC. This IDOC can contain one or more positions (E1EDP01). Those different positions should be mapped into different LineItem's (see target structure) -> so in the target file one or more LineItems can appear.
Is it possible to implement this process with a common message-mapping or have I to implement a business process?
Thanks
with best regards
ChristopherHi Christopher,
<i>Is it possible to implement this process with a common message-mapping or have I to implement a business process?</i> - This thing is possible with common message mapping......you dont need business proces for it.......in msg mapping after taking the source IDOC and target xml struc, map the E1EDP01 field to LineItem field.......just check the occurance of these nodes.....it should be 0..unbounded.........so as many E1EDP01 nodes will be there in idoc, that many LineItem nodes in target will be created.......
Thanks,
Rajeev Gupta -
Mandatory fields for mapping in ORDERS idoc.
Hi
I m working on File to idoc scenario for creation of sales order in ECC 6.0 , now I want to know what are the mandatory fields in ORDERS idoc which needs to be populated or else disbaled so that the sales order gets created properly in the ECC 6.0..
Pl let me know the method of finding mandatory field for mapping for any idoc and which fileds of idoc are to be disabled.
Pl help ..
ans will be rewarded .
thanks & rgds
mojibHI,
U can disable the control record segment and in the IDOC adapter use the option apply control record from payload.
If you have set the Apply Control Record Values from Payload indicator in the receiver IDoc adapter, the following fields are filled from the IDoc-XML payload:
· MESCOD
· MESCFT
· TEST
· EXPRSS
· STD
· STDVRS
· STDMES
· SNDSAD
· SNDLAD
· RCVSAD
· RCVLAD
· REFINT
· REFGRP
· REFMES
· STATUS
· DIRECT
· OUTMOD
· CREDAT
· CRETIM
read the information in below link:
http://help.sap.com/saphelp_nw70/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm
thnx,
chirag -
Multi-Mapping Message Split 1:n
Hi experts,
I have a few questions regarding a multi-mapping for a 1:n message split. I have a business process which collects IDOCs from a specific IDOC type (ZHINVOIC01).
I have a 1-to-1 Mapping for collecting the IDOCs.
After this 1-to-1 Mapping the IDOC has the following structure:
xdoc has the occurrence 0..unbounded
For every IDOC in the source structure one xdoc in the target structure should be created. My Mapping works very fine, but I have one question. If there are more IDOC-Elements in the source structure, I have more xdoc-Elements in the target structure. But I do not want to have one target-message. the mapping should create one file with the element xdoc for every IDOC element in the source structure.
I want to send a xml-file for each xdoc-element to a ftp-server. is that possible?
Thanks and best regards
Christopher KühnHi Udo,
look at my example above:
for the source structure
<Messages>
<Message1>
<ZHINVOIC01>
<IDOC/>
<IDOC/>
<IDOC/>
</ZHINVOIC01>
</Message1>
</Messages>
I have the following target structure:
<Messages>
<Message1>
<xdoc/>
<xdoc/>
<xdoc/>
<Message1>
<Messages>
now the target structure is only one message, isn't it?
But I want to have for this case 3 Messages each with only one xdoc-element.
I hope that we are not talking at cross-purposes
Thanks and best regards
Christopher -
Hi. Here is my scenario: eGIS -> PI -> SAP
Asynchronous web service call to PI, which I'd like to split into one of two calls, either an IDoc or an RFC call to SAP, depending on the value of a field being passed from eGIS. I'd like to do this using XSLT mapping, as I already have the mapping for the IDoc call.
Is this possible? I'm running PI 7.0 SP 20.
Thank you.
NicoleThis should be simple as said above..
Step 1: Create a message mapping between your source message and target RFC
Step 2: Create an Interface mapping between your source interface and RFC
Step 3: In ID part in the existing Interface Determination 'Add one more Inbound interface(select your RFC)' and select the corresponding Interface mapping created in Step 2. Now save the Interface Determination and you will find a condition editor added for both the 'existing and newly created interface mapping'. specify the respective conditions.
Step 4: Create a Receiver agreement for the RFC.
Hope this helps..
Regards,
Zameer -
Hi all i have a senario in which i have to send 990 IDocs at a single point of time not more then tht.
I have done the mapping and changed the occurences of the IDocs node by externally exporting it and then importing it back again.
I also needed to repeat the main node so i changed the message ocrrences in the Message mapping to 0.. unbounded.
The problem i am facing is like it is showing errors in the end to end.
The error describtion is as follows:
Category>XIServer</SAP:Category>
<SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
is it not possible to change the occurences for the IDoc Message. If so how can i do this without it.
Rgds
AdityaHi,
I don't think that you need to make occurence change in mapping.
1) First export your idoc change the occurance then import
2) Then do the mapping *Don't change occurance for source idoc in mapping
check the weblog again
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
btw if you can put wht the entire scenario is dat will be better.
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
Maybe you are looking for
-
Roads don't appear in maps for Israel
Hi, I just moved from the US to Israel and I noticed that the street names don't appear on the maps program in my iphone. The streets are perfect on google maps but don't appear on the iphone maps program. I can't use the directions feature. Why?
-
I brought a 06 mac pro i need iPhoto and i can't found it
i need to no where i can get iphoto for my 06 mac pro running 10.7.5 lion
-
MIRO - Unplanned Freight and Labor Tax allocation - Balancing Error
As of today: When creating LIV invoices, we are not allocating the tax to Unplanned Freight(T3) and Labor(T4). But we have a new request for apportioning and allocating the taxes to unplanned freight and labor. we changed the code to pass everything
-
My laptop has broken. How do I now access iTunes and will I lose all my apps?
My laptop is broken. How do I now access iTunes ? Will I lose all my apps and music? Any help needed , thanks in advance.
-
Help! It just no respond!
I just used my ipod 5G to watch a video clip. Suddenly, It came to no responsd! I 've tried to reset it following the apple manual(hold button followed by centre and menu) and no respsond! Then I connect it to my computer (Window XP) It can be detect