Interface mapping in BPM
hey guys
i was just wondering why in a BPM scenario we have to do interface mapping between outbound(or inbound) and abstract interface,whereas in a regular scenario(without BPM) we do it between outbound and inbound interfaces?is it just because BPM only understands abstract interface?
thanx
ahmad
Hi,
It is receiver Data Type , Since in this scenerio the sender is IDOC and recevier is Flat file , We have declare the data type . for sender we are importing the IDOC..for receiver we have declare the data type.
>>DT_S47,DT_S68 etc and then she is using them in the 'Type' field. --YES in receiver side.
Regards
Agasthuri Doss
Similar Messages
-
The question about Interface Mapping in BPM
Hello,
I am a few confused about an Interface Mapping in BPM at the Design step.
I have a task to transmit and trasform two messages of two sender file adapter to two IDOCs messages and then to send them to SAP system.
I use BPM.
But I don't understand what types of message interfaces should I use for source and target interfaces in Interface Mapping? As to the target interface I understand it must be abstract but which of interfaces exactly?
Actually there are some questions here:
1) If the source interface should be abstract or real in Interface Mapping?
2) If the target interface should be the abstract interface of Receive Step object or the abstract interface of Send Step object?
3) And what the message types should I use for the source and target message interfaces in Interface Mapping? If I understand correctly that these message typeshi igor,
you have to import the IDOC Types under the imported objects in the integration repository objects,
what are all the data that coming out from the file adapter, you design the datatype.
the target IDOC should be real and you do the mapping for the all necessary fields.
refer: --
File to IDOC:
Re: how to Sending XML data to idoc
IDOC Mapping:
http://help.sap.com/saphelp_crm40/helpdata/en/77/a1d48b1ce06d40932e0a26f3c117ce/frameset.htm -
Confused regarding interface mapping in BPM scenarion
hi
my scenario goes like this:
have 2 sources sendign files to target.
Am using BPM to merge the input files into a single target file.
am confused as to which interfaces to use in interface mapping.
(have 3 abstract ,and 2 outbound and 1 inbound interfaces).
am already using 2 abstract interfaces as input and 1 abstract target interface in o/p for nterface mapping.
However ,while running the configuratin wizard,no interface mapping appears.
please help me ASAP.Hi...
Whenever you use transformation in BPM process where you will mention interface mapping there itself, so you cant see the it in interface determination. Your scenario is configured correctly.
Regards
Leela -
File-soap-file : problem in getting Interface Mapping
Hi
I am doing file to Soap to file scenario by using BPM. But I have several methods in Web Service.I am using one method for my requir in that I have to trigger by using CharSoapIn and CharSoapout interfaces .
I have created
<i>Message mappings</i> 1 Sen_File_MT to CharSoapIn and 2. CharSoapout to Rec_File_MT.
<i>Interface Mapping</i> 1. File to Soap and 2. Soap to File respectively.
I know I have to create 3 receiver determinations.
Problem is I am not finding out the Interface Mapping where I am configuring from BPM to Business Service.
I am using Business Service I feel that I am going wrong some where in adding the "Services".
Anyone help me out..what would be the problem
Thanks
Shankar.Yes I am using Abs interfaces and I am following below block
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Fig 13 I am using separatly FileRequest_MT to CharSoapIn and FileResponse_MT to CharSoapOut.
But here instead of RFC I am using SOAP also I am using Business Service intead of Business System.
I am unable to fine the Interface Mapping from BPM to Soap or BMP to File
Thanks
Shankar -
Different options for message mapping in BPM
Hey guys
i m in the learning phase of BPM and am kinda confused with the different ways we can do message mapping in a BPM scenario.
first of all we can do message mapping before BPM,we can also do after BPM and lastly we can do inside BPM(ofcurse this is not recommended as its too resource consuming)
i have bene through starters blog on BPM by Krishna moorthy and Arpit seth,and now am wondering how to use the mapping in diff. ways
suppose i m doing a simple File to File with BPM(just for practise purpose)
now here is what i have designed in IR
DT_sender_File DT_receiver_File
MT_sender_File MT_receiver_File
MI_Outbound_sender(async,outbound), MI_Inbound_receiver(async,inbound)
AI_sender(abstract,async) AI_receiver(abstract,async)
MM_File_File(using MT_sender_File and MT_receiver_File)
now i want to clear some doubts about interface mapping.my understanding is
if i do interface mapping between MI_Outbound_sender and AI_receiver,this will be interface mapping before BPM.
if i do interface mapping between AI_sender and MI_Inbound_receiver,this will be interafce mapping after BPM
and if i do interface mapping between AI_sender and AI_receiver then it will be mapping inside BPM.
is my understanding correct?if yes,then does that means we can we any of the above mapping in our scenario.(if we dont consider the performance issue as of now)
thanx
saifHi Saif,
<i>
is my understanding correct?</i>
Yes, thts correct
<i>if yes,then does that means we can we any of the above mapping in our scenario</i>
Of course, u can use any of them (overlooking the performance issue)
Regards,
Prateek -
Without BPM:Call RFC using JCO in interface mapping using java mapping
Hi all
I have a very small scenario where REQUEST from the customer comes via Web Service all i have to do is to read the request using SOAP adapter and call an interface mapping(lets say the name is IM_TEST) inside which there is a JAVA MAPPING program written which will call an RFC in CRM using JCO.
Now this was really simple and i cud test the Interface mapping successfully, but the problem is when loading the scenario in integration directory i have certain things to do
1. to set the SENDER AGREEMENT which i did correctly
2. set the RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT now here i am stuck because there is no receiver in my case as the RFC is called inside the mapping only.
can i call one more message mapping in IM_TEST which will write file onto the XI directory and then in RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT i can mention the reciever as FTP.
I tried it but i gives the following error
Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_TEST_WRITE_FILE: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Parsing an empty source. Root element expected!
Please help me how to complete the scenario so that customer can run it end to end.
<REMOVED BY MODERATOR>
Edited by: Prateek Raj Srivastava on May 12, 2010 1:44 PMStefen
What do i do then...actually this is the project requirement. They want a very fast response from PI and thats why they wnt us to omit BPM and the Graphical mapping from the scenario.
I am able to test the interface mapping which calls the the Java mapping inside which there is an RFC call, but i cannot implement it end - to - end as there is no receiver business system in this case. The only business system i have is the SOAP sender.
I am really troubled now, please help me with a solution.
Is there any other possible way through which the process can become very fast whic hcan meet their requirement.
Regards
Naina -
BPM Error in Transformation Step: Interface Mapping not found
Hi,
Can you help me on this? I have a tranformation step in my BPM that combines a request and response message of a previous Send step to create a Source message for the next Send step. However, on my transformation step, I got the mapping error in workflow log: Interface mapping http://gl.euhreka.com/learning/skillsoft/catalogSy.YGLXI_OM_MergeRequestAndHandleResponseAB_To_PollFo (SWCV=DF8549309ECE11DFB58DF3570A341E0F) not found
Do you have any idea about this error? My mapping program is working fine. I also checked if the container elements assigned to the transformation steps are correct.
Can you suggest of other way on how can I achieve on merging 2 messages (request and response) and set it to the Request for another send step?
Thanks,
JennyHello,
I already solved the problem. The namespace and Operation mapping name is too long that's why it cannot be located at runtime.
After the rename, another error appeared.
"Incorrect XML format after mapping: Root-Tag expected instead of Messages"
There are no useful information on the trace:
<?xml version="1.0" encoding="utf-8" ?>
- <MappingTrace>
<Trace level="1" type="T">Mapping http://test YGLXI_OM_Merge , Software Component Version DF8549309ECE11DFB58DF3570A341E0F</Trace>
<Trace level="1" type="T">Mapping Step 1 , Type XSLT , Program PollForReport_Merge</Trace>
<Trace level="2" type="T">Call XSLT processor with stylsheet PollForReport_Merge.xsl.</Trace>
<Trace level="2" type="T">Returned form XSLT processor.</Trace>
</MappingTrace>
Here is myXSLT program:
<?xml version='1.0' encoding='utf-8' ?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:template match="/">
<YGLXI_MT_PollForReportRequest>
<customerID>
<xsl:value-of select="//customerID"/>
</customerID>
<customerPassword>
<xsl:value-of select="//customerPassword"/>
</customerPassword>
<reportIDHandle>
<xsl:value-of select="//reportHandle"/>
</reportIDHandle>
</YGLXI_MT_PollForReportRequest>
</xsl:template>
Here is my source message:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:YGLXI_MT_InitiateFullCourseListingRequest xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
<customerID>ZZZ</customerID>
<customerPassword>XXX</customerPassword>
<reportFormat>VVV</reportFormat>
<mode>VCC</mode>
<userName>CC</userName>
</ns1:YGLXI_MT_InitiateFullCourseListingRequest>
</ns0:Message1>
<ns0:Message2>
<ns1:YGLXI_MT_InitiateFullCourseListingResponse xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
<reportHandle>SADA</reportHandle>
</ns1:YGLXI_MT_InitiateFullCourseListingResponse>
</ns0:Message2>
</ns0:Messages>
I tested my program in Operation mapping and it is working. How come it is not in BPM?
Thanks,
Jenny -
Interface mapping test successful, throws exception in BPM
Hi.
We are having a problem with an Interface mapping which works when
tested in Integration Builder, but throws an Exception when it is part
of the Transformation in a BPM.
The scenarion is such:
1. The sender calls the outbound interface using a web service.
2. XI uses the input and passes to the Integration Process
3. In the BPM, a LOGON message is built to call the web service as
specified by an external web service . The input and
output messages are just a single string, in which the other XML is
embedded.
4. XI receives a response from the web service call
5. XI Extracts the sessionId from the response and combines it with the
initial input (Step 1) to create the query for the query message in
the web service.
It is in Step 5 where the transformation fails, with an Exception in
the DefaultTrace.trc as
Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_LogonResponse_PropertySearchRequest_to_ExternalRequestSOAP_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:EXTERNAL/REQUEST. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
Thrown:
MESSAGE ID: com.sap.aii.ibrun.server.mapping.rb_MappingRuntimeException.EXCEPTION_DURING_EXECUTE
com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_LogonResponse_PropertySearchRequest_to_ExternalRequestSOAP_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:EXTERNAL/REQUEST. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
I have extracted the data from the initial request (step 1) and the
logon response (step 4) and using these I have tested the Interface
Mapping. There is no problem with this and the tests are successful.
From what I can see, because the Response field in the LOGONResponse
contains more XML tags, XI must be parsing it and assuming the tags are
tags in the message, and not just the string, thus it is complaining
that the XSD types do not match. This extra XML Parsing does not take
place in the Interface Mapping Test.
I have put the response into a User Defined Function which just has one
line "return new String("Hello")" and that fails. However, if this UDF
does not have the Response as the input, it does not complain.
Please advise.
--Reenalhi
You will have to use specific replacements for you xml tags if it is coming as a paramter
replace '<' with <
replace '>' with >
for eg: I want to pass <TakeIt>200</TakeIt> as value to Element <A>
Mapping won't work if it is passed like
a) <A><TakeIt>200</TakeIt></A> - Wrong
Instead the replace the angle brackets
b) <A><TakeIt>200</TakeIt></A> - Correct
While testing the mapping in IR (a) will work bcoz the test tool will convert it to (b) format. Check the xml source in test tool.
So ensure the web response is like (b)
rgds,
Arun -
Hi All
I have done a BPM which collect messages and send them to a file adapter in one message.
I have added a tranformation step , which uses the interface mapping IM_map
when i run the program it failes , and in the sxmb_moni_bpe it showed mapping error and navigating to the message it says the following
http://test.com.IM_map
(SWCV=127593A01FA211DBC43DEDD90A16547D) not found.
I deleted the Interface mapping IM_map and created a new Interface mapping IM_map_2
and refreshed the cache and changed the mapping program in the BPM to the new one , I can se the IM_map_2 in sxi_cache but whenever I run the program it stille shows the message refering to the deleted inteface mapping IM_map that is not found .
how can I get rid of this error.
Thanks .Hi Malu
while creating new IM in IR activate this with your software compnent
right Click on the BP object in the IR and activate it select SWC also with this and activate
then make a full cahe refresh either BY t code SXI_CACHE
or In IR go to environment and make a full cache refresh
or through URL
http://<host>:5<sys#>00/CPACache/refresh?mode=full Full CPA cache refresh
regards
sandeep
If helpful reward points -
Two Message Mappings in one Interface Mapping without using BPM
Hello Experts,
I have this scenario, please help me
I have to execute two mappings of which one is a java mapping and then the other is a message mapping sequentially.
The mapping is something like below
Message1 -> (java Mapping) -> Message2
Message2
Message1 -> (Message Mapping) -> Message3
Based on the value in Message2 I have to map Message1 to Message3
I am not an expert in java so please give me options that doesn't involve changing of java code.
The above 2 mappings have to be implemented in only one interface mapping.
Suggestions please.Hi Ravi!
You say message2 dependes on message1 and message3 is mapped from message1 but using also values from message2? But this means, that whole mapping dependes only on message1!
So change your mapping and use the one not based on message2, but message1. Put these as a condition in interface determination and based on these values use the correct mapping.
Peter
p.s. I'm not sure, if I got your requirement correctly, but your target message dependes only on message1 (since message2 dependes on it too), so this whole mapping can be done as 1. Unfortunately, you'll probably have to change your java part. Bur definetely, Raj is right.
Edited by: Peter Jarunek on Feb 20, 2008 5:36 PM -
Interface Mappings in BPM Collect Pattern
Hello
I am new to XI development and currently facing problems while implementing collect pattern of BPM.
I am trying to map IDoc structure with target legacy format.In BPM I had a block with infinite loop where I am transforming IDocs to target legacy format.Then I am trying to transform list element (Multiline Abstract container variable) to form a single message.For this I tried to have interface map with Occurences 0..unbound..but while activation of Interface Map it gives error
<b> Mapping program Message does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.</b>
If I use single line in Interface map then in BPM it gives error when passed Multiline element to this Interface map.
I checked the sample program provided by SAP but I found out that every message interface was using same Message Type which has got occurence as 1 but in the message mapping program its 0..unbound.
My question is can we have data type (or Message type )with Occurence as 1 and Message Mapping program using same message type with occurences 0..unbound..I tried to find such option but could'nt find that.Otherwise how to do Interface Map for transforming Multiline parameter of BPM to a single message.
Please help..Thanks in advance..
Regards
Rajeev PatkieInitially I tried to perform test by tree view and it worked fine.But it was one message in the source and the same was in target.Later as given by you I updated XML source message.The source message looks like
******************Source Message***********************
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message1>
</ns0:Messages>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message2>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>78912</ZPITNO>
<ZPIDS>Test Message12</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message2>
</ns0:Messages>
************************End Source*********************
if this would be the message multiline is generating its bound to fail as I guess every XML has one topmost element and over here.So I changed my source XML to look like
******************Start message******************
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message1>
<ns0:Message2>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>78912</ZPITNO>
<ZPIDS>Test Message12</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message2>
</ns0:Messages>
**********************End Message****************
but this produces only one output message
******************Start Message***********************
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_List xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_List>
</ns0:Message1>
</ns0:Messages>
**********************End Message****************
I am also pasting schema of message mappings
*****************Source Schema************************
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://mccormick.com/ez_dev" />
<xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:MATMAS_to_Stockware_MT" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
********************End Source***********************
********************Target Schema******************
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://mccormick.com/ez_dev" />
<xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:MATMAS_to_Stockware_List" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
****************************End Target*************
Thanks in advance.
Regards
Rajeev -
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. -
1:N mapping without BPM ( Idoc Receiver)
Hi,
I have a scenario like 1:N, source would be JMS and the receiver side have two Idocs with the same business system. based on one Item segment value, I need to route the input JMS message to corresponding receiver IDoc.
INput Structure:
Record
Header 1..1
H1
H2
H3
Item 1..Unbounded
I1
I2
I3
NOte: Based on value I2, I need to route the message to corresponding receiver Idoc. like If I2=A then Idoc1 and I2=B then Idoc2. Can we achieve the same without using BPM?
-EshaHi,
This can be achieved with Interface Determination conditions. Go for 2 mapping. And in Interface Determination put condition to check which mapping to use. No need of ccBPM.
If you still want to go for 1:N multimapping please refer link:
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
without BPM.
Regards,
Vineetha.
Edited by: Vineetha on Apr 27, 2010 11:44 AM -
Hey guys
suppose i m doin a async FIle to File sceenario using BPM(jst for educational purpose)both sender and receiver have different structure.
here is how i m trying to design this scenario
DATATYPES
DT_sender ,DT_receiver
MESSAGETYPES
MT_sender,MT_receiver
MESSAGE INTERFACE
Outbound async,Abstract async,Inbound,async,Abstract,async.
MESSAGE MAPPING
Outbound async<-> Abstract asyn (mapping 1) and Inbound asyn<->Abstract async.(mapping 2).
INTERFACE MAPPING
Outbound ayns<-> Abstract asyn(using mapping 1) and Inbound asyn<->Abstract async.(using mapping 2)
and then in BPM
Start>>Receive>>Send>>Stop.
Please let me know if my design serves the purpose.my main concern is for message mapping and interface mappin.
is it because BPM takes care of mapping that we dont define a mapping between Abstract<->Abstract interface?
also will the flow be something like this
DT_sender>>MT_sender>>Outbound async>>Abstract async>>BPM>>Abstract async>>Inbound async>>MT_receiver>>DT_receiver
thanx
ahmadHi Ahmad -
>>>why i m making just one abstract interface even my sender and receiver are different
In your scenario, you're not really doing anything within the BPM (just a pass through from Receive step to Send step). In that sense, you can essentially accomplish this scenario without having BPM in between at all - same result if you take BPM out. But since you're just testing and getting a feel for it, this is fine.
<i>>>>why i m makin that one abstract interface make use of target message type of mapping</i>
Before message is sent to BPM, you mentioned you're going to have a mapping. Since you're BPM process is the receiver initially, the process will receive mapped message.
><i>>>Message mappin
>>>DT_sender<->DT_receiver</i>
Use MTs here.
Regards,
Jin -
Error in Multi-mapping without BPM
Hi frnds,
I am doing a scenario File-XI-File. I am using the multi-splitting thing in the Message mapping. I have taken care of all the occurance's and "enhanced" thing in the IR and ID resp. I m using SP16. I want to avoid BPM.
But therez sme error cming up. When I check the MONI, its shwing "No messages created from split mapping" and when I test my interface using the Test Configuration in the ID, its shwing error in the Receiver Determination -- "HTTP connection to ABAP Runtime failed. Error: 403 Forbidden"
I have checked most of the blogs and forum suggestions. I have checked the ICF activations as well ...
So, do come back to me with your valuable suggestions, and I will award them points, if they really help me out.
Thanks and regards.
NeeteshHi Neetesh,
<i>
When I check the MONI, its shwing "No messages created from split mapping"</i>
For this, Can you check the source XML. Does it contain Tags like <messages> .. If yes, you need to remove them from your source XML.
If i am right, you have copied the XML from the TEST tab of the message mapping and pasted it in a notepad and saved it without making any changes at all..... Just do as i have mentioned above and i am sure you will no more get that error message in your MONI....
Also go through this weblog which talks about multi-mapping without BPM,
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards,
Abhy
Maybe you are looking for
-
Hey Arch forum. I really wanted to avoid having to ask a question on the forum, and try and fix myself, but I'm clueless on how to go about with this one. I've been using Arch for a couple of months now, and this issue has only really started getting
-
A copy has been placed in your outbox. sending the message content to the server failed
all of the sudden my phone wont send emial but will receive them. I have tried everything suggested as far as turn on/off, delete acct and set it up again and nothing seems to be working. Can someone help me please?? the error message i receive is "a
-
According to the manual, Ironport has a problem resolving some variations of Lotus Notes email addresses. It seems if the email address isn't specifically listed in the Name and Address Book, then the LDAP query will fail. Is there anyway to workarou
-
Mac cannot find WPA-2 enterprise wifi when updated to Mavericks
My MacBook air cannot find WPA-2 enterprise wifi on the network list when updated to Mavericks, but I can add the network by choosing "joining other network" and typing username and password manually. Anyone knows how to solve this problem?
-
Here are the steps I made.. Plugged in old IPhone( IPhone 4) Synced to ITunes. Unplugged and erased old IPhone (IPhone 4) Plugged in new IPhone (IPhone 4 S) Followed instructions. Restore from old Phone Option. Restored Old Apps But No Contact info,