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,
Gowri
Hi,
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
Similar Messages
-
Partner Profile configuration for EDI 810
Hi,
I am configuring partner profile for EDI 810 (Invoice). In the message control tab, what values should be entered for
1. Application
2. Message Type and
3. Process Code
Thank you.Hi,
- Check Transaction NACE to see what applicatios you can use for different objects.
- Check transaction WE42 for all outbound process codes
- Check transaction WE41 for all inbound process codes.
- Check transaction WE64 for inboud / outbound message types and related process codes.
<b>EDI 850:</b>
Application - EF
Process code - ME10
Message type - NEU ( or your custom message type setup for EDI )
IDOC - ORDERS01 to ORDER05
<b>EDI 810:</b>
Application - V3
Process code - SD09
Message type - RD00 ( or your custom message type setup for EDI )
IDOC - INVOIC01 , INVOIC02.
<b>EDI 820:</b>
i think this is for inbound idoc of <b>Payment Order/Remittance Advice</b>. When yuo setup inbound partner profile, you do not need to know application
Process code - LOBX
Message type - LOCKBX
IDOC - PEXR2002
Let me know if you need any other information.
Regards,
RS -
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 -
Third party tool link for EDI 810
Hi,
What is the third party tool for mapping EDI 810
and link.
Thanks
aviHi avinash,
Check the links below
http://www.covalentworks.com/edi-810-invoice.asp
http://www.caiso.com/docs/1999/01/15/1999011506424228685.pdf
http://www.seagate.com/support/edi/o810c306.html
http://edi.stylusstudio.com/msg01070.htm -
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 -
Fields to be mapped for Idoc/Xi interface
For customer collaboration we need to map the Idoc/Xi interface for following things
In FS what field should be mentioned for following
u2022 Integration SNC with R/3:
u2022 ORDERS (PI) (Order Creation)
u2022 ORDERSP (PI) (Order Confirmation)
u2022 DESADV (PI) (ASN)
u2022 Integration with the customer
o PROACT = new integration with SNC (PI)
o Product Forecast Notification
o ( Order ID Notification ) - To be evaluated for PO nrs.
o ORDERSP = AS IS
o DESADV = AS IS
o Proof of DeliveryI am closing this Thread
Thanks -
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 -
Sender / Receiver ID mapping for EDI interfaces and Type of seeburger adapt
We need to set up a interface using Seeburger adapter for Purchase order IDOC to 850 EDI mapping.. After reading from SDN,
1) We can use the standard mapping in BIC MD to do E2X and X2E mapping..
2) We can use any of the AS2, EDI generic adapter, Seeburger FTP adapter or Seeburger SFTP adapter...
How do we decide which adapters should be chosen? I can see that it makes sense to use SFTP adapter or AS2 adapter for security...
Also how do we map Sender and Receiver IDs on the EDI message.. Should this be hardcoded as part of mapping or is there any facility in seeburger adapter to do this? I saw some references to Party Identifiers and not sure how it is used in setting up Sender/ Receiver ID
Also the graphical mapping to convert IDOC XML to EDI XML, Do we have standard mapping defined or do we need to create our own graphical mapping.Hi Kris,
I had worked in the somehow same scenario, It was IDOC to EDIFACT file.
I can give you few clues which might be helpful
In BIC MD you have to create your own mapping if the standard mapping is not available (First check all the standard mappings in BIC). For your reference you need X2E mapping, as your scenario is IDOC to 850 EDI.
"the graphical mapping to convert IDOC XML to EDI XML, Do we have standard mapping defined or do we need to create our own graphical mapping."
In graphical mapping i created my own mapping, Seeburger has given some sample mappings you can check those for your reference (SEEBURGER_GENERIC_EDI software component). Mostly you have to create your own. You need a document from your functional consultant so that you are able to map correct fields and constants.
"how do we map Sender and Receiver IDs on the EDI message.. Should this be hardcoded as part of mapping or is there any facility in seeburger adapter to do this? I saw some references to Party Identifiers and not sure how it is used in setting up Sender/ Receiver ID"
This has been generally hardcoded in message mapping (In my case i hardcoded). If any of ur IDOC field contains that data you can map that field. But better Idea is ask your functional expert.
"How do we decide which adapters should be chosen? I can see that it makes sense to use SFTP adapter or AS2 adapter for security... "
You can choose adapter according to your requirement. In my case i used File adapter as i have to create file in PI server only. My suggestion you can use SFTP for seeburger
Hope these points are helpfu for u
Regards,
Shradha -
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 -
Java mapping for EDI order document
hi,
My project is to convert a EDI-850 Purchase Order Document using XI into an R/3 system.I planned t use java mapping So,I had got the java code necessary for the mapping from a tool called ALTOVA XML MAPRFORCE.
I have converted the code into a .jar file and put into the XI server.The mapping is working fine now. If i give an EDI order document as input to the mapping and test the mapping the out put is coming correctly.
Now i dont know what I should do in the Integration directory.
As I have to convert this document and post it in a R/3 system.I have found the function module to create a Purchase Order also "BAPI_PO_CREATE".
What should I do next ?Hi Mithun,
Follow the steps below:
1. BAPI is a RFC function module. So you import into Integration Repository. Then map your output to the structure of RFC.
2. In the integration Directory,
a. Create a business service representing your source.
b. Create a business system representing your R/3 system.
Before creating business sytem, first you need to register it as a techincal system and business system in sld.
c. Create a Sender Agreement to pick the message from source system. Depending upon the type of source system, you need to configure the sender adapter.
d. Create Receiver determination to route the message to the target system
e. Create interface determination to pick the current Interface mapping to convert source message to target message
f. Create Receiver Agreement to send the message to R/3 System. This should encapsulate Receiver Communication channel which is using IDoc adapter.
Reward if helpful.
Regards,
Suraj Kumar. -
Hi All,
I have to send EDI 857 Information from SAP. Could you please let me know which IDOC should i use to achieve the functionality. I appreciate if anybody can send me the mapping document of EDI 857 from SAP.
Thank You,
SureshHi,
I have to send the Shipment/Billing Information and the triggering point is When we save the Shipment of the Delivery.. I am using SHPMNT03 IDOC for Shipment Details.. I am thinking of extending the SHPMNT03 IDOC for getting the billing details. Is this the right way for sending the Shipment/Billing Information to EDI 857 ?
Thank You,
Suresh -
Mapping handling in third party vs SAP PI for EDI 850
Hi Experts,
Can I know Pros and Cons for hanling mapping translations in third party vs handling mapping translations in SAP PI for EDI 850 interface.
We are already paying money to third party. I just need pros and cons.. we will choose best approch based on your valuable points
Appreciate your help.
Regards,
Krishna.Hi Mohan,
Pros:
SAP PI is a middleware and all Middlewares work pretty much on the same principles.
I am assuming that EDI 850 would have some sort of structure, [ to be honest I have not worked on EDI but just read about it] and SAP PI would require you to convert this structure into XML -> the only language SAP PI understands.
Now, I am sure there are lots of third party adapters available in the market for EDI. PI will give you flexibility to convert this interface into any kind of requirement be it JDBC/FILE/IDOC or anything and vice versa is also true. PI give you this enormous ability to convert to and from any format as long as it is viable.
Last but not the least, it will provide a robust system with Alerting and Monitoring.
Cons: You may have to invest on a third party adapter to read the EDI
You can read the following links for more abt EDI and SAP PI:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10b17369-9522-2c10-84a6-d75d8a8ace22?overridelayout=t…
Step by step interface for IDOC ORDERS05 to EDI 850 using B2B add-on and getting Functional acknowledgement 997 back
EDI 850 to R/3 scenario
Thanks & Regards,
Tejas Bisen -
Java Mapping for JDBC Interface
Hi,
please help on java mapping for my jdbc interface.
my java code for jdbc is:
Created on May 7, 2008
TODO To change the template for this generated file go to
Window - Preferences - Java - Code Style - Code Templates
package XiMappingDB2.com.xi.test;
@author miracle
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Created on May 2, 2008
To change the template for this generated file go to
Window>Preferences>Java>Code Generation>Code and Comments
package com.xi.test;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.util.HashMap;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.MappingTrace;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationConstants;
import com.sap.aii.mapping.api.StreamTransformationException;
@author kotla
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class NameMerge implements StreamTransformation {
private Map param = null;
private MappingTrace trace = null;
public void setParameter(Map param){
this.param = param;
if (param == null) {
this.param = new HashMap();
public void execute(InputStream input, OutputStream output)
throws StreamTransformationException {
AbstractTrace trace = null;
String RESULT = new String();
trace =
(AbstractTrace) param.get(
StreamTransformationConstants.MAPPING_TRACE);
try {
//Create DOM parser
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
//Parse input to create document tree
Document doc = builder.parse(input);
trace.addInfo(doc.toString());
// Map the elements
Node root = doc.getFirstChild(); // gets the root element
NodeList children = root.getChildNodes();
for (int item = 0; item < children.getLength(); item++) {
if (children.item(item) instanceof Element) {
root = (Element) children.item(item);
NodeList ch = root.getChildNodes();
RESULT = RESULT.concat(ch.item(0).getNodeValue() + " ");
trace.addInfo(RESULT); }
catch (Exception e) {
trace.addDebugMessage(e.getMessage());
//Return the output document
String document_exit = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:Person2 xmlns:ns0=\"urn:xxxxx.com:test:mapping:lookups\"><RESULT>"
+ RESULT
+ "</RESULT></ns0:Person2>";
insertDB(RESULT);
try
output.write(document_exit.getBytes());
catch (IOException e1) {
trace.addDebugMessage(e1.getMessage());
public void insertDB(String DETAILS){
Statement stmt = null;
Connection conn = null;
try {
conn = getConnection();
conn.setAutoCommit(false);
stmt = conn.createStatement();
stmt.execute("insert into KUMAR(DETAILS) values ('"DETAILS"')");
//System.out.println ('"DETAILS"');
conn.commit();
stmt.close();
conn.close();
} catch (Exception e) {
System.err.println("Error: " + e.getMessage());
e.printStackTrace();
public Connection getConnection() throws Exception {
String driver = "com.ibm.db2.jcc.DB2Driver";
String url = "jdbc:db2://172.17.4.24:50000/SAMPLE";
String username = "miracle";
String password = "sairam";
Class.forName(driver);
Connection conn = DriverManager.getConnection(url, username, password);
return conn;
but we are getting the following error:Linkage error occurred when loading class JavaDatabaseApp/XiMappingDB2/com/xi/test/NameMerge (http://FILE2JDBC_US, 7d7b3141-f4d1-11dc-b25e-d5d5c0a80198, -1)
Start of test
LinkageError at JavaMapping.load(): Could not load class: JavaDatabaseApp/XiMappingDB2/com/xi/test/NameMerge
java.lang.NoClassDefFoundError: JavaDatabaseApp/XiMappingDB2/com/xi/test/NameMerge (wrong name: XiMappingDB2/com/xi/test/NameMerge) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.lang.ClassLoader.defineClass(ClassLoader.java:448) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingLoader.findClass(RepMappingLoader.java:175) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.load(RepJavaMapping.java:136) at com.sap.aii.ibrep.server.mapping.ibrun.RepJavaMapping.execute(RepJavaMapping.java:50) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.transform(MapServiceRemoteObjectImpl0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170).
please solve this issue.Uday,
May be you have uploaded class file into external definitions.
You need to Zip the class file into .jar and then upload into external definitions of integration repository
Regards,
Kiran Bobbala -
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
Maybe you are looking for
-
How do I edit or enter values on multiple sheets at the same time in Numbers? I can do it in Excel but I don't the procedure in Numbers. Thank you!
-
I have a Yoga Pro to which I have connected a large touch screen monitor and keyboard/mouse. What I would like to do is to close the Yoga yet still have it not go to sleep while the monitor is connected. i.e., use the Yoga as a desktop in my office
-
Black borders, Adobe CS4 & Canon Eos 550D
Hi All, Im pretty new to the video scene, and ive got adobe cs4 for a while but never used it alot, now im recording video's with a canon eos550d with a great quality, but allways after my bounce there appears 2 black borders up and down. the video o
-
Greetings I normally take photos at the highest resolution, making for some large file sizes. I was wondering how or if its possible to email pictures taken from the camera as a smaller file size, without having to convert/crop/manipulate the picture
-
IDT BICS Connection Slow Listing Infoareas
Hi, We are having an issue when we create a BICS connection and trying to browse to select a query it takes a long time to list infoareas, cubes, and queries. Our environment is BO4 SP6P1 against SAP BW 7.3. When we use the search feature to fin