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
Pravesh
Hi 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
Similar Messages
-
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,
PatrickHey
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 -
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 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 -
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 -
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 -
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. -
Error: 1:n multi-mapping using BPM for file to file scenario
Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
Here is my design and configuration.
IR
Data Type: DT_file_split -> for both input and output file
Message Type: MT_file_split_sender, MT_file_split_receiver
Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
Interface mapping: OM_file_split
u2022 Source = SI_file_split_out
u2022 Target = SI_file_split_in
u2022 Mapping Program = MM_file_split
BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
ID
Import my Integration process
2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
2 Receiver determination:
u2022 Source system to BPM using interface SI_File_Abs_source
u2022 BPM to target system using interface SI_File_Abs_target
1 Interface determination:
u2022 from source system to BPM
u2022 Sender interface: SI_File_Split_Out
u2022 Receiver interface: SI_file_abs_source
1 Sender Agreement
u2022 Commu. Component: Source System
u2022 Using interface: SI_File_Abs_source
u2022 Sender Communication Channel: CC_File_Split_Sender
1 Receiver Agreement
u2022 Sender Communication Component: BPM
u2022 Receiver Communication Component: Target System
u2022 Receiver Interface: SI_File_Split_In
u2022 Receiver Communication Channel: CC_File_Split
Anyone know how to fix this?
Thanks,
PavinHi,
Yes, thats the problem.
You are creating file from test tab of 1..N mapping .
In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
Messages
Message1
MessageType
When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
<xml......>
<Messages>
<Message1>
<MT_...>
</MT_...>
</Message1>
</Messages>
This should solve your problem.
Regards,
Sami. -
ABAP Mapping :: for multi files
Dear Experts,
We are doing an Idoc to file interface, using ABAP mapping.
This is 1:n mapping i.e receiver message interface is 0..unbounded.
We have achieved the mapping for 1:1. But when I test for multi, i get an error in moni saying
Parsing error after multi mapping.Expected Message<i> instead of Item
Item is the name of the node that has to be created multiple times.
Has anyone done multi mapping in ABAP?? Any idea why this error....may be we are missing something.
Any idea as to how we can progress???
Thanks in advance
Regards
ShobhaHi,
Surely u can use an ABAP mapping for this.
Sounds like your problem is your not using correct output structure for multi mapping.
As with any type of multi mapping your structure should reflect this. Your target payload must thus have the following structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<unboundedPayload/>
</ns0:Message1>
</ns0:Messages>
The <unboundedPayload> element in above should of course be replaced with your actual payload - I believe 'Item' in your case, if that is in fact the root node of your actual payload.
Regards,
Daniel -
Exception Handling for Multi Mapping in bpm
Hello,
does anybody know a way of catching an error occured in a multi-mapping used in an integration process.
It seems to me, that when i am using a multi-mapping in an integration process and an error occurs, the message cannot get back to the integration process. In smq2 I can see, that there is the following error:
CX_MERGE_SPLIT
Regards
GüntherThe transformation-step is in an block with an exception branch and it is well configured.
When I use a 1 to 1 mapping and an error in the mapping occurs, all is correct. The integration process jumps in to the exception branch and finishes correct. But when use a multi mapping (1 to n; n to 1; n to m) and an error in the mapping occurs, then there is always an error in the bpe inbound queue.
There must be some problem with the split-and-merge program. I think that the split-and-merge program handles the merging of n messages into 1. You can see this when you test a mapping in the integration builder designer. In a multi-mapping there you can see a xml-structure that envelopes the application messages, f. ex.:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<myMessage1>data</myMessage1>
</ns0:Message1>
<ns0:Message2>
<myMessage2>data2</myMessage2>
</ns0:Message2>
</ns0:Messages> -
Multi Mapping using JAVA Mapping 1:n Transformation--Urgent??
Hi,
I have to make a 1:n Mapping with the JAVA Mapping. The situation is as follows:
I have 1 ORDER with n positions and I have to convert this order to n ORDERS with 1 position in each order. My problem is, that I have to use the header-data of the input-order for each of the output orders and I have to use the first position of the input-order for the frist output-order the second postition for the second order and so on. Which mapping-steps do I have to use. I think this is an ordnary problem, but I could not find anything in the XI-help about this. Maybe anyon has got an idea.
Regards,
Rajhi
The output from java mapping must look like
<Messages>
<Message1>
<Your Traget Order>....
</Message1>
<Your Traget Order>....
</Message1>
</Messages>
Create a Graphical mapping sample (1:N) to get an idea about this structure.
refer this also
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
rgds,
Arun -
I am getting the following error when trying to connect to both my exchange servers.
New-PSSession : [ex2013-002.nafa.ca] Connecting to remote server ex2013-002.nafa.ca failed with the following error
message : No mapping for the Unicode character exists in the target multi-byte code page. For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:12
+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri ht ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : 1113,PSSessionOpenFailed
EMS used to connect ok. I am not sure if there is any connection but Outlook was installed recently on the exchange server to enable mailbox level backups.
Any help would be appreciated.
Steve HurstHello Steve,
Firstly, you cannot install Outlook with Exchange because they share certain dll files.
About the EMS question, I suggest we try rebuilding the powershell virtual directory. If it still does not work, check the application log for more referernce.
Thanks,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Simon Wu
TechNet Community Support -
No mapping for the Unicode character exists in the target multi-byte code page
hi,
i have an issue with sharepoint 2013 and IE 10.
im using the sharepoint rest web service and make an ajax data call to retrive data from sharepoint lists, the call fail and return a server error: "No mapping for the Unicode character exists in the target multi-byte code page".
i have to say that everything works fine with chrome and firefox.
what can i do for fixing it?
Thanks a lot
alonHi,
From your description, I know you get an issue with IE 10 in SharePoint 2013 when you use SharePoint REST API to retrieve data from SharePoint list.
I am not quite sure what cause your issue. Could you provide your code, so I could test it in my environment and troubleshoot for you.
In addition, you could test your issue in another computer or another version of IE.
Best Regards
Vincent Han
TechNet Community Support -
Help with multi-table mapping for one-to-many object inheritance
Hi,
I have posted on here before regarding this (Toplink mapping for one-to-many object inheritance but I am still having problems mapping my object model to my schema.
Object model
The Person and Organisation objects contain base information and have the primary keys person_id and organisation_id. It is important that there is no duplication of person and organisation records, no matter how many times they are saved in different roles.
There are two types of licenceholder in the problem domain, and the ILicenceHolder interface defines information and methods that are common to both. The PersonalLicenceHolder object represents one of these types of licenceholder, and is always a person, so this class extends Person and implements ILicenceHolder.
The additional information and methods that are required by the second type of licenceholder are defined in the interface IPremisesLicenceHolder, which extends ILicenceHolder. Premises licence holders can either be people or organisations, so I have two objects to represent these - PremisesLicenceHolderPerson which implements IPremisesLicenceHolder and extends Person, and PremisesLicenceHolderOrganisation which implements IPremisesLicenceHolder and extends Organisation.
The model is further complicated by the fact that any single Person may be both a PersonalLicenceHolder and a PremisesLicenceHolderPerson, and may be so several times over. In this case, the same basic Person information needs to be linked to several different sets of licenceholder information. In the same way, any single Organisation may be a PremisesLicenceHolderOrganisation several times over.
Sorry this is complicated!
Schema
I have Person and Organisation tables containing the basic information with the primary keys person_id and organisation_id.
I have tried to follow Donald Smith's advice and have created a Role table to record the specialised information for the different types of licence holder. I want the foreign keys in this table to be licenceholder_id and licence_id. Licenceholder_id will reference either organisation_id or person_id, and licence_id will reference the primary key of the Licence table to link the licenceholder to the licence. Because I am struggling with the mapping, I have changed licenceholder_id to person_id in an attempt to get it working with the Person object before I try the Organisation.
Then, when a new licenceholder is added, if the person/organisation is already in the database, a new record is created in the Role table linking the existing person/organisation to the existing licence rather than duplicating the person/organisation information.
Mapping
I am trying to use the toplink mapping workbench to map my PremisesLicenceHolderPerson object to my schema. I have mapped all inherited attributes to superclass (Person). The primary table that the attributes are mapped to is Person, and I have used the multi-table info tab to add Roles as an additional table and map the remaining attributes to that.
I have created the references PERSON_ROLES which maps person.person_id to roles.person_id, ROLES_PERSON which maps roles.person_id to person.person_id and ROLES_LICENCE which maps roles.licence_id to licence.licence_id.
I think I have put in all the relationships, but I cannot get rid of the error message "The following primary key fields are unmapped: PERSON_ID".
Please can somebody tell me how to map this properly?
Thank you.I'm not positive about your mappings, but it looks like the Person object should really have a 1:M or M:M mapping to the Licenceholder table. This then means that your object model should be similar, in that Person object could have many Licenses, instead of being LicenceHolders. From the looks of it, you have it set up from the LicenceHolder perspective. What could be done instead if a LicenceHolder could have a 1:1 reference to a person data object, rather than actually be a Person. This would allow the person data to be easily shared among licences.
LicenceHolder1 has an entry in the LicenceHolder table and Person table. LicenceHolder2 also has entries in these tables, but uses the same entry in the Person table- essentially it is the same person/person_ID. If both are new objects, TopLink would try to insert the same person object into the Person table twice. I'm not sure how you have gotten around or are planning to get around this problem.
Since you are using inheritance, it means that LicenceHolder needs a writable mapping to the person.person_id field- most commonly done through a direct to field mapping. From the description, it looks like roles.person_id is a foreign key in the multiple table mapping, meaning it would be set based on the value in the person.person_id field, but the person.person_id isn't actually mapped in the object. Check to make sure that the ID attribute LicenceHolder is inheriting from person hasn't been remapped in the LicenceHolder descriptor to a different field.
Best Regards,
Chris
Maybe you are looking for
-
Mapping and Interfacing files into R/3 as IDOCs using XI
We are trying to send an IDOC into R/3 thru XI. We generated one from R/3 into XI - it worked fine, however the reverse direction is not working well. We are using XI 2.0 with R/3 4.6C. We ran into two problems: when we tried DEBMAS/DEBMAS06, we were
-
I am a semi-literate computer user who needs help with Elements 6. Can anyone recommend a GOOD book, please?
-
Question has no category sorry.How do I change my apple account password?
I want to change my login password but can seem to figure out how to do this. Does anybody know? Thanks guys
-
Can't find action button on PSE 11
Hi everybody I saw on youtube that clicking on Windows at the top of that software, I should find the "actions" button, opening the action panel. Still The "action" button isn't there, do you have a solution please?
-
I'm taking Microsoft Office and Excel in college. I purchased a Macbook Pro a couple of weeks ago along with Office for the Mac. I have since learned Office looks totally different on the Mac then it does on a PC. Don't have time to learn Office on t