How to we give alternate JCO connection in XCM.

Hi Gurus,
We are using CRM 7.0 Web Channel B2B and B2C applications with Lean Order Framework.
In B2B XCM we have used  "ERP standard configuration for CRM catalog and marketing support "as base configuration
and to connect to CRM and ECC we have two JCO connections.
Similarly which base configuration in B2C will provide  two JCO connections
OR
how do we give alternate JCO connection in XCM.
Any idea please help.......

Have a look at this
/people/deborah.corsi/blog/2009/02/17/sap-crm-70-web-channel--understanding-the-lord-basket
Regards
Mark

Similar Messages

  • How to go for a JCO connection

    Hi All,
    I want to establish a jco connection. How can I proceed for the same .
    Can any one give me a step by step description.
    Regards
    DK

    Hi
    for creating JCO connection do the following steps
    1. go to http://servername:port/index.html
    2. select webdynpro
    3. selcet Conetent Administrator.
    4. on Top left there is option Create JCO connection select that & follow the proceedure of creation.
    i hope it works.
    Kindly do give points.
    Bye
    Priyanka

  • How to monitor  (Create /Delete )JCo connections

    Hi Gurus,
    can anyone give me a clear picture of monitoring the Jco connections ,am i want to create the new Jco connection ,and where do i set the max.no connections ..
    reward point guaranted
    regards,
    S.Rajeshkumar

    Hi Rajesh
    Read,
    http://help.sap.com/Business_Packages/EN/ca/115e4088dc0272e10000000a155106/content.htm
    regards
    Juan

  • [B2B/B2C] Create a JCO Connection using XCM Framework

    Hello colleagues,
    I need to create a Java class that create and initializate the XCM framework.
    I need to create a JCO Connector to a custom Function Module in my Backend, by
    using RFC XCM Configuration.
    Any kind of Idea? I see this example from SAP http://help.sap.com/saphelp_nw04/helpdata/en/d2/561106b8b3bc449f890cddfdc8d3e2/content.htm , but I don't want to maintain
    myself rfc logon configuration.
    I see that I need to configure a BO on ISA framework by modify backend-object.xml, but I don't now if
    it's enougth
    Thanks in advance
    Nicola

    Hi -
    But I have a question,
    It isn.t possible to read the jco information and add it manually to the JCO Connection class?
    Does this mean to provide the JCO connectivity details in your JCO class? Try the below code which is not a best practice to my knowledge.
       JCO.Client mConnection;
       JCO.Repository mRepository;
            try {
            // Change the logon information to your own system/user
            mConnection =   JCO.createClient("001", // SAP client
                                                                  "<userid>", // userid
                                                                    "****", // password
                                                                      null, // language
                                                                     "<hostname>", // application server host name
                                                                     "00"); // system number
            mConnection.connect();
            mRepository = new JCO.Repository("ARAsoft", mConnection);
         catch (Exception ex) {
    One question, why do you want to do this if the the JCO - XCm is handling this in a standard way , and what are you trying to do?
    Raj-

  • Close jco connection

    Hi
       Can anyone tell me how to retrieve the existing jco connection and close it. Can we write that code in wdExit.
    Thanks
    Vidyadhar

    Hi,
      Following code can be used
    AAAAModel thisModel =
                        (AAAAModel) WDModelFactory.getModelInstance(
         AAAAModel.class);
                   thisModel.disconnectIfAlive();
    You can call this code's method in wdDoExit()

  • How to create a model and JCO connection

    Hi all,
             The Userid and Password given while creating new model at Singleserver/Load balancing tab should be same as the userid and password given while creating JCO connection. i.e in JCO creation  while mapping modeldata to Application data and Metadata to metadata we will give some userid and password.
    will those 2 userids and passwords should be same.
    the error which i am getting is
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
    Regards
    Padma N

    2 userids and passwords need not be same
    i got similar problem and this is how i resolved
    this is because jco connections are Using SSO and the user who is accessing that webdynpro application is not present in the backend system.
    please make sure user is there in the backend system from which you are getting data
    xxxxxxxxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 18, 2008 7:26 PM

  • How to use a JCO connection pool in an EJB?

    Hi *,
    I want to build a WebService using SAP Web AS (J2EE Engine) that connects to a R/3 ERP (release 4.7).
    I thought of building a stateless session bean that will be deployed as webservice. The session bean shall connect to the R/3 in order to call some BAPIs. I'd like to use a JCO connection pool. But I'm not sure, where I should create and destroy the connection pool. Are the EJB methods ejbCreate() and ejbRemove() the right ones? If so, my businness methods would just have to get a connection from the pool and call the BAPIs, right? If not, what do you suggest?
    Another question: I already deployed a bean as webservice. Since not really knowing how to use the connection pool, I created a bean with one business method that creates a connection pool whenever it gets called. But if I have to change something in the bean so that I have to redeploy the bean I can't call my business method anymore, because JCO cannot load a native library once again, as it is already loaded, This leads to an exception. So I have to restart the complete engine everytime I redeploy my bean. Are there any workarounds for this problem? I'm not sure whether this is connected to the wrong use of the JCO connection pool.
    Kind regards,
    Lars

    Hi *,
    I want to build a WebService using SAP Web AS (J2EE Engine) that connects to a R/3 ERP (release 4.7).
    I thought of building a stateless session bean that will be deployed as webservice. The session bean shall connect to the R/3 in order to call some BAPIs. I'd like to use a JCO connection pool. But I'm not sure, where I should create and destroy the connection pool. Are the EJB methods ejbCreate() and ejbRemove() the right ones? If so, my businness methods would just have to get a connection from the pool and call the BAPIs, right? If not, what do you suggest?
    Another question: I already deployed a bean as webservice. Since not really knowing how to use the connection pool, I created a bean with one business method that creates a connection pool whenever it gets called. But if I have to change something in the bean so that I have to redeploy the bean I can't call my business method anymore, because JCO cannot load a native library once again, as it is already loaded, This leads to an exception. So I have to restart the complete engine everytime I redeploy my bean. Are there any workarounds for this problem? I'm not sure whether this is connected to the wrong use of the JCO connection pool.
    Kind regards,
    Lars

  • How to Remove JCO Connection Config?

    I have a NW2004s system that will not start. The Message Server and IGS Watchdog are running, but the Dispatcher is in a yellow state.
    The last thing that was done on the server before it was restarted was 2 JCO connections were added. Now the system will not start and I do not know how to remove the JCO connections.
    I cannot find relevant configuration within the Config Tool or the Offline Configuration Editor. I am unable to access the Visual Administrator.
    Any ideas?
    Thanks.
    Paul

    Hi,
    If you created JCO connection, then you can remove as follows
    1>go to Portal URL(Ex:http://102.26.88.65:50100/irj/portal)
    2>Go to content administration ->webdynpro-> Maintain JCo connections ->Remove what ever your JCo conn created.
    or search for the JCO connections you created in search box left -->delete

  • HOW to handle JCO connection failure

    if i have a JCO connection.....to process the RFC function...
    when i call the function...the job leave to R3 to do the rest...
    yet ..the connection broken..at this time..
    the is no result return..and consequency receive the
    RFC_ERROR_COMMUNICATION exception...
    how do i handle this kind of situation....
    what should R3 SHOULD DO..
    let's say i have a jco connection
    the connection broken during processing...how do i return the error message to the java program
    the error include....RFC_SYSTEM_FAILURE ,RFC_ERROR_COMMUNICATION
    Message was edited by:
            yzme yzme

    Yzme,
    You have already got answers how to catch this exception.
    Next processing depends on application-specific nature of RFC: whether or not call is idempotent, in simple words -- submitting same request doesn't hurt.
    This comes from the fact that network failure may occurs when transferring request (hence no background processing performed) or when returning response (hence function already executed).
    For idempotent calls there is also an option for automatic re-tries finite number of times. For non-idempotent calls the only option is to display error to user in friendly format.
    An idempotent call is a call that can be executed more than once on the server without undesirable side effects. Take for example Create / Read / Update / Delete operations. Obviously, read is idempotent while it doesn't alter data at all. You may treat Delete as idempotent up to certain extent -- just handle "record not exists" gracefully. Create and Update are not good candidates -- re-submitting same request typically leads to serious problems like duplicate entries or data inconsistency.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • How to Know the How many number of JCo connections established?

    Hi
    How to Know the How many number of JCo connections established for mapping?

    Hi
    mConnection =  JCO.createClient("001", // SAP client
                  "<userid>", // userid
                  "****", // password
                  null, // language
                  "<hostname>", // application server host name
                  "00"); // system number
    //Connections to a specific application server (as in the above example)
    mConnection.connect();
    //Creating the JCO.Client object does not connect to SAP, but a subsequent call to
    connect() will accomplishes this
    So you can easily find out the number of JCo connections by checking out these.
    Thanks

  • How to change JCO Connection in a WD project?

    Hi to all,
    I want to deploy my WD projects to another J2EE server, but I have to change the JCO connection (modeldata and metadata) in my WD projects, otherwise I can't deploy. Where can I re-assign the new jco connection?
    thank you very much,
    Antonio

    hi Antonio,
    you have to make two changes:
    1) double-click on the generated adaptive-rfc-class below "Models / <Name> / Model classes" and change the property "modelInstance_defaultLogicalSystem" in the Properties-Editor for the modeldata-connection
    2)double-click on the dictionary that was generated for your adaptive-rfc-call below Dictionaries and change the "Logical System Name" in the Properties-Editor for your Metadata-Connection
    kr, achim
    feel free to reward points, if this answers your question

  • How to see the JCO connections inthe ABAP Stack

    Hi Gurus,
    Is there any possible way to find the No.of JCO connections in the ABAP stack ,good solutions welocme and rewarded!
    regards,
    S.Rajeshkumar

    Hi,
    JCO connections are just RFC calls.
    If you know the user used by the JCO RFC calls, you can see the number of calls from ST03 RFC Server Profiles.
    For example
    In my XI (PI ) dual stack test system the JCO user is PI_JCO_RFC and I can see that last week there were 254 calls.
    Regards,
    Olivier

  • JCO connection pool is exhausted

    hi
    I am using RFC module in my web dynpro application. When the application is used for sometime, the JCO connection will get exhusted. The JCO connection will not release itself. I can't find any method in web dynpro to release the connection manually. How can I solve this problem?

    Hi,
    What is scope of the connection. View properties of MODELDATA and METADATA  destinations.
    You can change the scope of the connection..
    or
    wdContext.current<BAPI INPUT>Element().modelObject().modelInstance().disconnectIfAlive();
    For more ways , give a forum search.. There are a lot of close forum posts.. Gud luc..
    Regards
    Bharathwaj

  • Error in JCO Connection prorgam

    Hi Experts,
    I am developing one tomcat application using servlet. In servlet i am connecting to R/3. For this i am writing JCO Connection code. This Java file is compiled, but while running the servlet in browser it is giving exception like
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [no sapjcorfc in java.library.path]. java.library.path [C:Tomcat 5.0bin;.;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:jdk1.5.0_12bin;C:Program Files (x86)AdobeFlex Builder 2Flex SDK 2bin;C:j2mej2me_cldcbinwin32;C:j2memidp1.0.3fcsbin;C:jdk1.5.0_12libsapjco.jar]
         com.sap.mw.jco.JCO.<clinit>(JCO.java:738)
         ConnectToR3.getConnection(ConnectToR3.java:25)
         HitServlet.doGet(HitServlet.java:29)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    How to slove this problem. Is their any other way to connect to SAP R/3 from Servlets. I created normal java program without servlets, it's wokring fine. But If paste the same code in servlets mean it is giving above Exception.
    Please Help me........ Give any solution to this problem.
    Regards,
    Sunil

    sapjcorfc.dll is required on the server to handle jco connections.
    It seems it is not there or if it is there but is not part of "path" environment variable on the server.
    1) Go to you server. Search for this file and add the directory containing this file to path environment variable for server. You have to restart your server.
    2) It runs in your local java program because your local java program runs in local JVM instance. And on your local machine you have the sapjcorfc.dll plus its folder being in part of path environment variable.
    3) The servlet runs in ServletContext on the server JVM instance where the sapjcorfc.dll cann't located.
    Regards,
    Ashwani Kr Sharma

  • MetaData Jco Connection without MsgSvr

    Hi all!
    I have again a problem setting up the Jco Connections for the WebDynpro tutorial. Now, I'm able to create a JcoConnection for the application data, but none for the MetaData, because the IDes, I want to connect to, is not installed with a message server (in that case it really wouldn't make sense, as there is only one app server).
    So, please, can anybody tell me, if there is a way to define a MetaData Jco Connection without load balancing?! Or give me a hint, how I can make that tutorial run?
    Thx in advance!
    Nick

    Hi Nicolas,
    It is for load balancing purposes that message server is required for the creation of JCO metadata. When large volumes of users are accessing the metadata it becomes necessary that it should be load balanced.
    Also using the transaction SMLG you will have to add the message server to the Public logon group. Then only you can create the metadata connection
    Also check the services file for the entry sapms<SID> 3600/tcp
    Hope this helps you
    Regards
    Rohit

Maybe you are looking for

  • New iMac won't accept admin user name or password..please help!

    hi there, I just bought an imac 20 inch. Now it started up all good then I installed leopard and all seemed well, until I tried to software update. It asked for Admin name and password. I provided these and it just said 'You need to type an administr

  • Sql  to see the definition of an created trigger

    Hy, what sql to use to see the entire definition of an already created trigger of a table? Thanks

  • HP 630 shuts down seconds after power on

    HP 630, i3 processor, OS WIN7 Hello. I hope someone can hel me with this problem. After pressing the power button the screen comes on and I can see the black screen with the HP logo in the middle and in the lower left corner ist says "Press the ESC k

  • Please, please help me with my E2 sync problems

    I'm at my wits end.  For some reason, both of my E2's started having sync problems.  I've used Palms for years and loved them.  I'm one step from throwing both in the trash and never buying another Palm product.  Quick background- I've reloaded the p

  • Adding more decimals in settlement rule (CJIC)

    Dear Experts, Standard SAP allows to maintain only 2 decimals when maintaining a settlement rule using CJIC transaction. However business requires to maintain more decimals to distribute the high AUC value across many assets. Appreciate if you can sh