Namespace issue in a B2B scenario

Hi all,
I have an iDoc to iDoc  B2B scenario (R/3<->XI<->XI<->R/3),
My partner has defined an iDoc extention and sent me the xsd.
Now I have a problem in defining the interface because I don't have the same iDoc definition(different R/3 version) so I cannot import it into the IR, and I cannot define the message type and message interface as an external definition because the MI is in the iDoc reserved namespace.
How can I solve this conflict ?
Thanks,
Elad.

Hi Elad (or Ofir?),
my idea was to change temporary connection data for import from SAP system of SWKV. The question is, if you dont have connection to that system, how do you want to connect with XI and how do you want to test?
2. idea was: instead of imported idoc you just create a dummy interface in repository. The interfaces itselfes (and so the imported idocs) will not be validated by integration engine. Only if you use message mapping you really NEED a correct XSD schema.
So something like R/3 idoc -> own interface -> any mapping except message mapping -> loaded idoc interface -> other R/3
Regards,
Udo

Similar Messages

  • Java mapping & namespace issue

    Hello,
    I am doing a java mapping from a flat file to an IDOC. After the document is mapped succesfully I call an RFC via the Adapter. When monitoring the adapter I get the error:
    com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declara
    so I added the namespace reference to my java mapping to look like this :
    <ns0:IDOC_INBOUND_ASYNCHRONOUS xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
    But when I test my java mapping in the builder (interface mapping) the namespace xmlns="urn:sap-com:document:sap:rfc:functions" is added to my above ns0:IDOC_INBOUND_ASYNCHRONOUS tag. The consequence is that while mapping in the integration engine the "ns0" prefix is then removed and I get the error:
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was.
    Any help or sample code resolving the namespace issue is welcome.
    Frank

    Hi Frank,
    I am getting the same error message. You fixed yours. Can you help me with mine. The error message is
      " Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was ."
    I am trying to send data to SAP SRM4.0 from SAP R/3 using SAP XI. XI content is delivered by SAP.
    The message is sent from R/3 to XI successfully and the XML monitor does not show any errors in XI . But the messages does not show up in SRM.
    Thanks
    Kishore.

  • For sending file in  B2B  scenario

    Hello Friends,
    I need to pass a file to my client's business partner...
    I think its a B2B scenario...
    So how to transfer a file my client to  his business parntner.
    Please suggest which adpter to use at receiver side and how to handle the configuration..
    It should be secure and reliable

    hi,
    you have to use FILE ADAPTER but you need to use PARTY when you are using BPM
    check this blogs for reference
    BPM means Business process management
    To deal with Multiple sender and receivers based on the conditions we could use BPM. Its one of the feature of BPM, but its not mandatory to go for BPM for each n every case. Its depends upon scnenario.
    BPM steps are divided into two types:
    1)message steps
    2)flow steps
    message steps are :
    a)send step
    b)receive step
    c)receiver determination step
    d)tranformation step
    flow steps are:
    a)control step
    b)container operation
    c)block step
    d)wait step
    e)fork step
    f)switch step
    g)undefined step
    h)loop step
    Check these
    BPM:
    Walkthrough with BPM - Walk through BPM BPM in XI https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
    BPM-1 Walkthrough with BPM
    BPM-2 Reconciliation of Messages in BPM
    BPM-3 RFC Scenario using BPM --Starter Kit
    BPM-4 The specified item was not found.
    Schedule BPM Schedule Your BPM
    Use of Synch - Asynch bridge in ccBPM Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    without BPM Sync/Async scenarios without BPM
    without BPM1 Sync/Async communication in JMS adapter without BPM (SP19)
    IDOC BPM IDOCs (Multiple Types) Collection in BPM
    multimapping without BPM /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible---- Multi Map With out BPM
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure --- Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    IDOCs (Multiple Types) Collection in BPM (N:1 Mapping )
    reward points if helpfull
    regards
    kummari

  • JMS in a B2B scenario

    We have a scenario where external partners will transmit requests to our application, which will reply back with some results. Some of the other requirements for our application are: support for concurrency, scalability, high avail, etc.
    We feel that using EJBs to model our application will help us because the EJB container/appl server will handle security, transactions, etc. That's good - but, our problem is how would the external client applications communicate with us ?
    One solution would be: we expose the remote interfaces of our EJBs and the external applications code to that interface. But, this may mean that any time we change our interfaces, the external applications also need to be changed. This may be a pain ;-)
    But, what if the external applications send requests encapsulated in a mutually-agreed message format and receive responses via messages ? Yes, I am thinking about JMS. Our external applications can send messages to queues in our JMS provider. Our application picks up requests from a "request" queue and inserts results into a "results" queue. The external applications will obtain these results from this queue.
    I was going to spend more time researching on this, when I came across the JMS FAQ, which says that JMS is to be used only within an enterprise, while ebXML messaging is recommended for a B2B scenario.
    Before I discard my current line of thinking, I would like to get some input/advice/suggestions as to whether JMS will work in our scenario. If not, what kind of an architecture would help us ?
    Thanks a lot !

    We have a scenario where external partners will
    transmit requests to our application, which will reply
    back with some results. Some of the other requirements
    for our application are: support for concurrency,
    scalability, high avail, etc.
    We feel that using EJBs to model our application will
    help us because the EJB container/appl server will
    handle security, transactions, etc. That's good - but,
    our problem is how would the external client
    applications communicate with us ?
    One solution would be: we expose the remote interfaces
    of our EJBs and the external applications code to that
    interface. But, this may mean that any time we change
    our interfaces, the external applications also need to
    be changed. This may be a pain ;-)
    But, what if the external applications send requests
    encapsulated in a mutually-agreed message format and
    receive responses via messages ? Yes, I am thinking
    about JMS. Our external applications can send messages
    to queues in our JMS provider. Our application picks
    up requests from a "request" queue and inserts results
    into a "results" queue. The external applications will
    obtain these results from this queue.
    I was going to spend more time researching on this,
    when I came across the JMS FAQ, which says that JMS is
    to be used only within an enterprise, while ebXML
    messaging is recommended for a B2B scenario.
    Before I discard my current line of thinking, I would
    like to get some input/advice/suggestions as to
    whether JMS will work in our scenario. If not, what
    kind of an architecture would help us ?
    Thanks a lot !
    Hi,
    I don't think you need discard your current thinking. Yes some JMS implementations are best placed in the enterprise however some are designed specifically for external connectivity and building business partner networks. Our own product ( Nirvana ) is one that has been designed for externally facing middleware connectivity. Our messaging functionality resides above a pluggable transport layer and supports sockets, SSL enabled sockets, HTTP and HTTPS transports. The whole proxy and firewall traversal problem is handled correctly. There is no requirement for a web server ( although we have produced an Apache module for reverse proxying ) running a suite of servlets.
    We are currently packaging a new release that provides a new JMS implementation as well as a P2P framework. All of which runs over our pluggable transport drivers. The P2P framework supports the concept of BOP's ( Business Object Proxies ) , this functionality allows you to create services that are directly accessible from pretty much anywhere.
    We would be more than happy to provide you with an early access distribution prior to us updating our web site. Please feel free to contact us.
    Paul Brant
    http://www.my-channels.com/
    Email: [email protected]

  • How to test the B2B scenario ?

    How to test the B2B scenario ?
    Because the client may not give permition to test, then i heard  one thing in RWB we can test the data, how and where we can test the data ?

    Venkat,
    Follow the below procedure.
    Go to RWB, choose Component Monitoring , click Click Display
    Expand Integration Server node -Click Integration Engine .
    In the bottom of the page go to TestMessage tab.
    In the Service/Interface/InterfaceNamespace enter the Sender Service & Outbound Interface details
    Enter your username & pwd and choose the qos.
    Paste the payload in the payload area.
    Now click SendMessage .
    Done!
    raj.

  • Namespace issue--No target namespace in the xsd

    Hi All,
    Currently facing error at the time of deploying composites because of namespace issues
    I have two source system XSD's without targetnamespace and both schemas are defaulted to the same namespace as xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    i am using these xsd's in bpel process as below
    My Bpel processA (Using XSD-A) invoking source system with Operation A and source returns the XML content in string format and i am parsing the XML content using XSD-A. After parsing based on the business logic i am invoking Bpel process C.
    After Invoking bpel process C , Bpel process A invokes Bpel process B with 3 input parameters. Now my Bpel process B invokes source system with Operation B and source returns the XML content in string format and i am parsing the XML content using XSD-B.
    Now at the time of deployment i am facing issue in deploying Bpel Process-A and getting errors as *"element names are duplicated"*. In Both XSD most of the element are named as same including root element.
    I am sure this happens because there is no qualifier namespace in the xsd to avoid ambiguous.
    Could some one please help me in solving this issue by using same xsd without namespace
    Regards,
    Tarak.

    Hi,
    Thanks for the response
    No simple solution... You will have to work this around... In your case you have the xml as string, so may you can inject a namespace there and change the XSD's accordingly...
    Yes.. Its difficult to get the solution for this and more over i am not using both xsd's but using wsdl file of sever address side in reference panel which as the second XSD with same namespaces.
    I tried injecting custom namespace to solve the issue but at run time i am not able to get the node values because source system giving with default namespace and in SOA i am accepting with custom targetnamespace.Because of this my xpath is not working.
    Separate into two composites would be another way, but that doesn't seem to be an option...
    This can be done but again one composite should reference the other one which in turn coming back to the same problem.
    For Work around i have create one more service which can break the dependency between two services using xsd's of same default namespace. But i feel this is not an effective solution for designing the process.
    Let me know if you strike with some work around on this.
    Regards,
    Tarak.

  • B2B Scenario(urgent)

    Hi...Experts,
    i am going to do B2B Scenario in Banking..i am getting the response immediatly from target to source..
    i think  IDOC is not support for this requirement..i am planing to go for RFC at sender side .because IDOC is not having the capability to receive the response from target..for this requirement i am planing to go for RFC-SOAP scenario..
    if i am wrong pls correct me...
    pls give me some suggestions..
    *****for helpful answers i will assign the full points***
    thank u,
    Pasi

    Hi,
    Refer these links..
    /people/shailesh.mane/blog/2006/06/27/b2b-configuration-part-i--creating-an-integration-scenario
    /people/shailesh.mane/blog/2006/06/29/b2b-configuration-part-ii--creating-the-configuration-using-the-automated-configuration-tool
    /people/james.guanzon/blog/2006/02/22/how-to-support-industry-standards-in-xi-part-i-of-iii--interfaces
    /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    /people/james.guanzon/blog/2006/09/09/how-to-support-industry-standards-in-xi-part-iii-of-iii--config-test
    B2B Integration
    Integration Scenario Configuator and Business Services (B2B)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c189119d-0801-0010-a6a2-f0b010e727ac?prtmode=navigate
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-
    a651295aeaa9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-
    a651295aeaa9
    Some blogs that will help you configure B2B scenarios;
    /people/shabarish.vijayakumar/blog/2006/09/08/b2b-and-the-hype-about-the-party
    /people/shabarish.vijayakumar/blog/2006/09/13/wanna-party
    Chk this link also:
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/content.htm
    regards
    Aashish Sinha
    Reward points if helpful

  • What is a B2B scenario definition from XI perspective ?

    Hi All,
    what is a b2b scenario in xi ? suppose, data flows from wholesale dealer database to companies r/3 system, will it be a b2b scenario ?

    Hi,
    Here goes a simple explanation :
    A2A is application to application. When two applications in a company communicates with each other we call it an A2A scenario and if its across Companies we call it B2B or buisness to buisness.
    B2B scenarios come in to picture when communication is between two Organizations or parties.
    Let's say, there are 2 companies, and they have a different systems, which need to be integrated. For Ex: your client is using SAP R/3 and their customer is having some other technology. they want to integrate each Appications. this is B2B.
    "B2B" is contemporary shorthand for a longtime sales practice called business-to-business. B2B transactions primarily target companies and other wholesale buyers, while transactions targeting individuals are called B2C, or business-to-customer. Many organizations have both B2B and B2C components, but it's not unusual for a company to specialize in B2B services or sales. In fact, the vast majority of products and services sold are considered to be B2B in nature
    If you do the Intergration for the BP out side the Customer LAND SCAPE then it is called a B2B
    The scenarion you are talking about falls under B2B , if the wholesale dealer database and r/3 system doesnot fall under same company (enterprise).
    Hope this is helpful.
    Regards,
    Divya

  • Regarding A2A & B2B Scenario development in SAP PI /XI?

    Hello Experts,
    Kindly clarify my doubt regarding A2A & B2B Scenario's development in SAP PI / XI.
    I mean when to use & which adapter user in which scenario & specifically what difference does it make when we use one adapter in one scenario meant for another one. Will it work?
    The Question may be quite Naive to all of you but still want to clear some thing from my head.
    Best Regards
    Priyesh Shah

    Hi Inaki Vila,
    Thanks for Reply, i did searched SDN before raising this question. i stumble upon this difference between A2A and B2B scenarios.but the question still remain in my head what adapters should i use for B2B scenario is it necessary that i should use EDIFACT for B2B & not for A2A. Here in my company we are handling a client which has several legacy system in landscape which are integrated to SAP ERP with SAP PI here they mostly used File Adapters, what happens if i use File Adapters for B2B scenario.
    Best Regards
    Priyesh Shah

  • IDOC to JDBC -- B2B scenario

    Hi,
    What are the Adaptors used for a B2B scenario to send an IDOC from R3 system to an Oracle database.
    Thank You!

    Hi San,
    what Nikhil suggested is right
    In Addition to above
    Check this link for IDOC Configuration
    Configuring IDOC
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    and this for Recieving JDBC adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    Reward if helpful
    Regards
    Sachin

  • JDBC in B2B scenarios

    HI All,
    Here my question is
    Can we use the JDBC communication channel(Adapter) in B2B scenarios?
    In our case, we have a JDBC database which is not in our local network. It is residing in our partner's network.
    Please share your thoughts.
    I have experience in JDBC sender and receiver scenarios.So please no links to classical JDBC scenarios.
    Regards,
    Samiullah.

    Hi,
    If you are able to acces partner network in your client enviornment then you can use clasical approach.Check with basis team/network team  they will help you.
    Regards,
    Raj

  • B2B Scenario : Party Identifiers

    Hi all ,
    I have B2B scenario. ( IDOC to Mail)
    My question is  : Can I have more then one identifier for same Agency and schema pair?
    XI is not allowing me to configure two identifiers for same Agency and schema pair. Is their any work around for this ?
    Regards,
    Sheetal

    Hi Sheetal,
    > My question is : Can I have more then one identifier for same Agency and schema pair?
    Only if you setup another party. This can makes sense if you map parties in the receiver agreement.
    > They have three partner profiles created in same R3. They will send IDOC from either of three to XI and I need to process those IDOCs and send a mail
    I think you dont need parties here. Just process the IDocs messages - may be depending on value of field EDIDC40/RCVPRN - to a normal third party email receiver system.
    Regards,
    Udo

  • Namespace issue after updating to AIR 3.9

    I am using Flash Builder 4.6. I just downloaded the new AIR SDK 3.9 and copied the files in it over a copy of Flex SDK 4.6.0 After doing this, when I create a new Flex Mobile Project, I see multiple namespace issues. Any idea what might be the issue?

    Any help on this? I tried both on Mac and PC, both have same issues. When I create a new Flex Mobile project, the parent tag of the main application is Application while it should have been a ViewNavigatorApplication. The default HomeView screen created starts as:
    <fx: xmlns:fx="http://ns.adobe.com/mxml/2009"
    Any help on this?

  • Modify the login page (login.jsp) of B2B scenario of the Internet Sales app

    All
    I wanted to modify the login page (login.jsp) of B2B scenario of the Internet Sales application
    By typing the URL "http://<servername>:50001/b2b/b2b/init.do." I could able to see the login page
    My requirement is to add an extra link in this page
    when I use showmodule=true it gives the location of jsp which is "user/logon/login.jsp"
    I could able to find this jsp in the DC "crm-isa-web-b2b"
    when I open the DC in package explorer i could able to locate this jsp in a jar file but not able to open/modify it
    Awaiting experts response
    Thanks
    Murali.K.N

    When I work on ours ISA4, I go to the file on the server
    \jsp\crm.b2b\servlet_jsp\b2b\root\b2b\login\login.jsp
    Now, I'd imagine there might be a much easier way to work with the files, but that's how I edited ours. 

  • A2A and B2B Scenarios

    Hello Friends,
                  Can any one explain what is A2A and B2B Scenarios and please explain what is asynchronous and synchronous communication.
    Thnks&Rgds,
    Dinesh

    Hi Dinesh,
    1. A2A integration involves configuring your system landscape, designing your integration scenarios, configuration of the scenarios, handling messages. In which you communicate at application level.
    2. B2B Integration
    Its something in which two business are integrated like: we develop scenario like legacy system to  MDM using XI.
    Now two businesses are communicating. See the link:
    http://resources.ecommercetimes.com/search/keyword/ecommercetimes/Definition%20B2B/Definition%20B2B
    3. Asynchronous communication:
    Means you will send the data but no response will come from the receving end called Asynchronous communication. You will just send, disadv: your data may lost.
    4. Synchronous:
    Every time sender will send the data, receiver will give a response say acknowledgement to the sender that data received.
    Adv: if data is not going to receiver it can be delivered again.
    Rewrads if found helpful.
    BR,
    Alok Sharma

Maybe you are looking for