JCO/JCA

Hi all,
I searched for JCO/JCA topics in the forum, but I confused some terms/usages about them. Could anyone clarify for me:
1. What is different between JCO and JCA? Does JCA have the api to programming as JCO? From EP 6, JCO is deprecated, we use JCA to connect to SAP instead, is it right?
2. With JCO, what is JCO Destination, JCO inbound, JCO outbound? When we need to configure JCO Destination?
3. If we develop a portal application (ex: JSPDynPage)/ a WebDynPro application to get data from SAP, do you need configure JCO (in SLD, in EP, ...) or we just need use JCO API in code? How do we configure it?
4. What is Adaptive RFC?

Hello
a short answer to some of your questions
1. What is different between JCO and JCA?
JCO is a SAP java library to connect to a SAP R/3 System. it can be used by independant (ie non-portal) application.
JCA, as i understand it, is a library whose structure as been defined by Sun, to connect to external system. The JCA implementation in the portal is based on JCO, and is to be used in the portal.
3. If we develop a portal application (ex: JSPDynPage)/ a WebDynPro application to get data from SAP, do you need configure JCO (in SLD, in EP, ...) or we just need use JCO API in code? How do we configure it?
If you use WebDynpro, you configue JCO in the WAS, and then use the plugins to create connections to R/3 RFC Functions.
If you develops standard Iviews (JspDynPage or Dynpage), you use the JCA api to get a connection to an alias, that itself point to a (R/3) system that has been defined in the portal administration.
Regards

Similar Messages

  • Jco,jca,enterprise connector

    i know jco but wat is the use of jca and enterprise connector
    wen to use
    jco, jca, enterprise connector

    Hi Samyuktha,
                            Check these docs
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/36/5db440c97f3716e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/36/5db440c97f3716e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/94/3c1b40fcdd8f5ce10000000a155106/frameset.htm</a>
    regards
    Sumit

  • SAP R/3 connection from KM Component

    Hello,
    We have the following requirement which we are trying to explore if it would be a possibility. Our Org Management structure in SAP R/3 stores information like User's manager and other details. Now we would like to install KM component within EP and make use of this Org structure as part of R/3 to decide who should be receiving the document(s) based on user authentication( Dynamic approver identification).
    Is this possible within KM ? Can KM talk to SAP R/3 to fetch these kind of details ? or are we trying to aim too high ?
    Regards
    Swami Bala

    Hi Swami,
    JCo: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/sap java connector - jco - client programming
    JCA: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/jca on ep6 building portal applications.zip
    More documents can be found by just typing JCo / JCA into the SDN search for SDN Content...
    Hope it helps
    yours sincerely search engine
    Detlev
    PS: Please consider awarding some points for helping answers by clicking on the yellow star at the reply-postings... Thanks in advance...

  • Consume Enterprise Services in Java Application

    Hey guys,
    I'm very new in this field, maybe you can help me how to start....
    I want to call Enterprise Services (asynchronous, provided by SAP) from an external java application. Therefore I want to configure a integration scenario between two business systems: java application (consumer) and sap application system (service provider). Maybe you can help me to answer the following questions.
    1) What kind of adapter I have to use in communication channels?
    2) Have I to define outbound/inbound interfaces for Communication Component "sender" (business system: java application)?
    2) How does the communication between the java application and IS work? What kind of API I have to use - some kind of advanced adapter engine ... JCO, JCA ???
    Is there any demo scenario from sap? Please help me to start
    Kind regards,
    Christian

    Hello,
    problem is you are using wsimport on web-service which uses RPC/encoding. Wsimport use JAX-WS so it is not able read it.
    You should wscompile.bat instead it.
    Here is example :
    wscompile.bat -gen:client -d build/classes -s src -keep config.xml
    (-gen:client -says to generate classes for client
    -d - directory where to store classes
    -s - directory where to store sources
    -keep - to keep source file
    xml file
    Where config.xml looks like
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location=
    "http://something/yourws?wsdl"
    packageName="org.your.package.client"/>
    </configuration>
    I hope it will help.
    best regards

  • Call RFC from java (j2ee) /  call to j2ee from R/3

    hello
    i´ve browsed the forum for some time to find how to:
    1.) call ejb from r/3 system via rfc
    2.) call rfc enabled function modules on r/3 from within an j2ee enviroment
    but i didn´t quite get it, because i was a bit confused about all the mentionend techniques
    what i found out about
    1.) use ejb (session bean) and jndi; configure RFC-Engine Service (we use sap webas)
    2.) use jco / jca
        (or all rfc enables rfm´s are available as web service, but didn´t find anything about this)
    so my question:
    are these the preferred techniques to connect j2ee (webAS) <-> r/3; if not are there any others, maybe easier methods?
    and last but not least: are there any good online tutorials for this topic?
    thanks in advance
    franz

    Just as a short partial reply.
    The generic Java --> RFC method is JCO (it will work on older versions as well), you can think of it as a JDBC driver where R/3 is the database, it behaves very similar in many ways.
    EJB development on SAP WAS is really not any different from EJB development on any other J2EE server. The deploy tool is superb. very easy to use and the JNDI registry, etc. are standard stuff...
    ABAP to EJB calls, haven't looked at this in over a year now, but back then we did a Proof Of Concept based on information at http://help.sap.com and it did work indeed. The only thing was back then that you needed to do a few tweaks to get it to work properly.
    As mentioned above, look at the JCO examples and then you can ask more specific questions once you get stuck.
    Good Luck!
    Cheers,
    Kalle

  • Connecting to desktop Java application from R/3

    I want to connect to a java application program in my desktop and return a parameter to R/3. I have installed Java connector and I want to call the java application from R/3 using Java connector.
    I was able to get few samples to setup the RFC destination for a remote server program, but I was not able to find anything for an application in the client system. How to setup the RFC destination for a Java connector to call the application in the desktop? Can anyone please answer this question.

    Hi Allam,
    1. Why do you need to connect from backend system to your desktop client? Did I understood it correctly that it's exacly what you want to do?
    2. I guess examples you saw are for JCO or JCA which is a part of SAP J2EE server. Simply speaking the server is waiting for a client request and your desktop application probably not. If you still are sure that server->desktop connection is what you need then you have to emulate the server on your self and then depending on what you need JCO/JCA you have to create a kind of container that will implement listening service.
    I'd like to hear your answer for question one to give you more detailed answer.

  • BSP or Java ?

    Hi
    I have a basic question but I am facing it today so would like to know from SAP folks about it.
    Given a task of developing web applications out of SAP back end (R/3 or BW) which route do I follow
    1) BSP - Develop the front end in BSP (HTMLB). The data retrieval from back end SAP system will be easier as BSP development is integrated into SE80.
    2) Develop Front end in JAVA and use JCO/JCA/XMLA to connect to back end SAP system to retrive the data ...
    WHich one is better in terms of
    1) Development
    2) Future (considering SAP's migration towards Java tools)
    3) Support
    Thanks

    hi,
    huuuum, Well BSP or Java ??
    I would say, if some one has gone through the Craig Cmehil, first three or four weblogs, he/she will get his answer, more over one has to select BSP or Java on basis of resources avaiable !
    for example if you dont have SAP WAS application server or your house is lack with ABAP OO skills, than ofcource the choice left is Java/JCO solution, which certainly has some problems, a few of them listed here
    In JCo performance will always be a bottel neck
    Ofcourse all functionality of SAP is not avaiable through RFC enable BAPIs ( though there are more then  thousand BAPIs avaiable, but still not all functionality of SAP)
    Many Experts who have hand on experience on both platforms says that, WAS/BSP is much more faster, stable, robuts and reliable in comparision to J2EE/JSP. you might can consider to read the following artical
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/clash of the titans iii.pdf
    Hope it helps,
    Regards,
    Haider Syed

  • What is the main diff between the IDOC, RFC,PROXY

    HI,
      May i know in witch situation we will go for : 1) Idoc
               2) RFC
                   3) Proxy.
    i hope we use above three are for posting data in R3 system.
    can any one please clarify when exactly we use witch adapter.
    regards

    Hi
    IDoc
    It is used only for data transfer.It lies on ABAP Atack.also the underlying protocol is tRFC.
    RFC
    It is used when you need to process data and return values to remote system.That is it is used in synchronous scenarios.It lies on J2EE/Java Stack.It is not a data container like IDoc.It calls a functional module which gets executed.The underlying protocol is HTTP.Communication is done suing JCO/JCA.
    Performance wise IDocs are better.
    Proxies are used when large amount of data is involved.
    Also go through this.
    Choosing the Right Adapter.
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Thanks

  • JSF APPLICATION CONNECTION WITH SAP R3

    Hi Experts,
    i want to integrate my JSF application to the SAP R3 using java class. I searched a lot of blogs and docs where they have given a proxy class approach.But i am not able to use it.
    If you have any experience or knowledge , please reply .
    Thanks in Advance
    Ankur Goyal

    Hi
    Why dont you enable RFCs in the SAP system as WebServices and consume them? If you have a very old SAP system then use JCo (JCA) / JRA and connect through the RFC layer.
    [Consume Webservices in 7.3|http://help.sap.com/saphelp_nw73/helpdata/en/ca/97f68ba5034d0fb21c518f0cac1432/frameset.htm]
    [JCo|http://help.sap.com/saphelp_nw73/helpdata/en/48/64db09c88307dbe10000000a42189b/frameset.htm]
    [JRA (JEE Compatibilie, implements JCo)|http://help.sap.com/saphelp_nw73/helpdata/en/48/70796c872c1b5ae10000000a42189c/content.htm]
    HTH.
    Thanks.
    Regards
    LNV

  • How do I get started replacing JCo with JCA?

    Hi all,
    After upgrading to EP SP15 I'm now reading that I should stop using JCo for client connection and start using JCA.
    I've searched but can't seem to find any step-by-step procedure that shows me how to convert my existing Java code to be JCA-compliant. 
    Basically, I was doing client = poolEntry.getClient() and then using the client.execute("myrfc").  What code change is required to replace that code with JCA code?
    Thanks,
    Mike

    Hey Mike,
    Glad I could help!!
    There have been a couple things that I have noticed.  If you are using a table as an input parameter, use a table.close() once you are done filling it and before adding it to the importParams("table_name",table) code.  I have two scenarios for that.  Here is the first:
    for (int j = 0; j < exportTable.length; j++) {
         table.insertRow();
         table.setString("VAR1", exportTable[j][0]);
         table.setString("VAR2", exportTable[j][1]);
    table.close();
    importParams.put("EXTAB", table);
    ,and the second one:
    table.insertRow();          
    table.setString("VAR1", "This is variable 1");
    table.setString("VAR2", "This is variable 2");
    table.close();
    importParams.put("EXTAB", table);
    We are running EP6 SP14.  In that booklet, it doesn't show using table.close().  You may not have to use it, but for me, I couldn't get it to work any other way.  Once it was working, I removed it, and I would receive nothing.
    Other than that right now, I haven't really run into any other problems... yet... haha.
    Cheers,
    Kevin

  • Difference between JCA and Jco.

    Hi Guys,
    I am a little confused between JCA and JCo, I am currently working with SAP Portal 6.0 according to its specifications JCo is a depricated and suggests the usage of JCA. On the other hand when I was reading about connecting to an SAP system using java, it suggests the usage of JCo. My knowledge with regard to JCo is limited, so I was wondering if anyone could throw some light here as to what is the difference in using either of them or rather which is the prefered way about going about it.
    Thanks in advance..
    Rajitha

    I think lancea is definitely on the right track.
    Jco is typically described as the way to use SAP from Java code and to use Java code from SAP. It is a specific API for allowing SAP and external Java code to call each other.
    JCA (J2EE Connector Architecture) is a general-purpose archiecture and API for allowing external systems and J2EE apps running in an app server to work together. To get a J2EE app working with SAP would require the use of an SAP connector, written to the JCA specs. More than likely, such a connector would itself use Jco. But the J2EE application code would use the connector, not the Jco code directly.
    I hope that helps.
    - Tim (Sun Microsystems)

  • JCo or JCA

    I am currently working 4.6C and would like to move from ABAP to java enviornment.
    Please let me know whether to use JCo or JCA for java web based development.
    Thanks,
    Harsha

    Hi Harsha,
    I think i can give conn infor here itself.
    <b>Jco conn from  ABAP to Java</b>
    =====================
    You can  use the JCO RFC Provider Service of the Web Application Server for your ABAP to Java calls.
    The steps involved in that are
    1. Configure destination in SM59 in SAP.
    2. Create RFC Destination in Visual Admin.
    3. Create a stateless session bean with JNDI name as the name of calling function module in SAP.
    4. Add a business method public void processFunction(JCO.Funtion fn) which is called by the JCO RFC Provider Service. The name should be 'processFunction'.
    5. Set library references in application-j2ee-engine.xml to type weak for the following
    a. com.sap.mw.jco.
    b. com.sap.tc.Logging (if you are using the logging api )
    Here is the sample code for the EJB biz method
    Business Method.
    public void processFunction(JCO.Function function) {
    try {
    // Get the import parameters for the function module
    JCO.ParameterList importList = function.getImportParameterList();
    logger.infoT("The value sent is" +
    (String)importList.getValue("USER_NAME"));
    // Set the export parameter value for the function module
    JCO.ParameterList export = function.getExportParameterList();
    export.setValue("From EJB", "RETURN");
    function.setExportParameterList(export);
    catch (java.lang.Exception e) {
    e.printStackTrace();
    <b>Jco conn from  Java to others(ex:ABAP)</b>
    =====================-==========
    •     Open Visual Admin(C:\usr\sap\SID\JCxx\j2ee\admin\go.bat) and connect to server
    •     Go to Destinations service
    •     Open HTTP Settings Tab
    •     Add/Edit destination SLD_DataSupplier and type following values
    URL – http://xyz.corp:53000
    Authentication - BASIC
    User – dynproxxx
    Password - bp52st000
    •     Press save and test (if you get response code 200 everything is o.k.)
    •     Add/Edit other HTTP Destination named SLD_Client with the same values as SLD_DataSupplier:
    URL – http://xyz.corp:53000
    Authentication - BASIC
    User – dynproxxx
    Password - bp52st000
    •     Press save and test (if you get response code 200 everything is o.k.)
    •     Go to SLD Data Supplier service.
    •     Press the button named: Send the Data to SLD and confirm triggering SLD Data transfer (if you receive successful message everything is o.k.).
    ===================
    following blog might helpfull
    =======================
    /people/michal.krawczyk2/blog/2005/03/10/registering-a-new-technical-system-in-sld--abap-based
    for basic infor
    ==============
    http://help.sap.com/saphelp_nw04s/helpdata/en/21/84570b3ae14e77b3047c82218974b9/frameset.htm
    Award points if it helps

  • JCO x JCA

    Hi,
    which of these is recommended to use and why?
    thanks
    JJ

    Hi Jiri,
    JCo is the SAP specific way to access SAP from Java. It has been the officially recommended but proprietary technology as long as there hasn't been a generic solution for accessing "backends" (EIS). For history reasons this holds for EP5.
    JCA is such a generic technology ( see http://java.sun.com/j2ee/connector/index.jsp ). So it has also become the officially recommended technology for accessing SAP from EP6 on.
    Hope it helps
    Detlev

  • JCA vs JCo

    Hi,
    When is it better to use JCo (through the SAP Connector wizards in the IDE or 'manually'), and when is it better to use JCA?
    In case of JCA, are there any IDE wizards?
    Thanks
    Dov

    Hi Zornitsa,
    Here is what I see at the Log Viewer...
    10:07:39.595    0 INFO    LicensingManager started for 40 ms.
    10:07:43.442    0 ERROR   service cross - jar file C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\services\cros
    .jar does not exist.
    10:07:43.613    1 ERROR   java.io.FileNotFoundException: C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\service
    \cross.jar
            at com.sap.engine.frame.core.load.res.JarResource.openJar(JarResource.java:401)
            at com.sap.engine.frame.core.load.res.JarResource.getClassInfo(JarResource.java:130)
            at com.sap.engine.frame.core.load.res.JarsResource.getClassInfo(JarsResource.java:41)
            at com.sap.engine.frame.core.load.ResourceLoader.loadLocalClass(ResourceLoader.java:249)
            at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:143)
            at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:303)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:132)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    10:07:43.773    1 ERROR   Service cross error. Nested exception is: java.lang.ClassNotFoundException: com.sap
    engine.services.cross.CrossFrame
    Loader Info -
    ClassLoader name: [service:cross]
    Parent loader name: [Frame ClassLoader]
    References:
       interface:cross
    Resources:
       C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\services\cross.jar
    Loading model: {parent,local,references}
            at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:314)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:132)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    10:07:43.773    1 ERROR   Core service cross failed. J2EE Engine cannot be started. --> java.lang.ClassNotFou
    dException: com.sap.engine.services.cross.CrossFrame
    Loader Info -
    ClassLoader name: [service:cross]
    Parent loader name: [Frame ClassLoader]
    References:
       interface:cross
    Resources:
       C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\services\cross.jar
    Loading model: {parent,local,references}
            at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:314)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:132)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    10:07:43.442    0 ERROR   service cross - jar file C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\services\cros
    .jar does not exist.
    10:07:43.773    1 ERROR   Service cross error. Nested exception is: java.lang.ClassNotFoundException: com.sap
    engine.services.cross.CrossFrame
    Loader Info -
    ClassLoader name: [service:cross]
    Parent loader name: [Frame ClassLoader]
    References:
       interface:cross
    Resources:
       C:\usr\sap\DB0\JC00\j2ee\cluster\server0\bin\services\cross.jar
    Loading model: {parent,local,references}
            at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:314)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:219)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:132)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:72)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:126)
    10:07:43.773    1 ERROR   Core service cross failed. J2EE Engine cannot be started.
    10:07:43.823    2 INFO    Service runtimeinfo started. (20 ms).
    And here is what I see in the Developer Studio Log:
    17/08/2004 10:10:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Deploy Thread] ERROR:
    MinhaApp.ear -> Deployment aborted
    DEPLOYMENT ...
    ==> SDM host : C5057943L
    ==> SDM port : 50018
    ==> URL : file:/C:/DOCUME1/C5057943/LOCALS1/Temp/temp23923MinhaApp.ear
    ... ABORTED
    Aborted: development component 'MinhaApp'/'sap.com'/'localhost'/'2004.08.16.12.14.47':
    SDM could not start the J2EE cluster on the host C5057943L! The online deployment is terminated. A timeout occured during the cluster running verification!
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Reason:
      ... ABORTED
    Aborted: development component 'MinhaApp'/'sap.com'/'localhost'/'2004.08.16.12.14.47':
    SDM could not start the J2EE cluster on the host C5057943L! The online deployment is terminated. A timeout occured during the cluster running verification!
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    DEPLOYMENT ...
    ==> SDM host : C5057943L
    ==> SDM port : 50018
    ==> URL : file:/C:/DOCUME1/C5057943/LOCALS1/Temp/temp23923MinhaApp.ear
    ... ABORTED
    Aborted: development component 'MinhaApp'/'sap.com'/'localhost'/'2004.08.16.12.14.47':
    SDM could not start the J2EE cluster on the host C5057943L! The online deployment is terminated. A timeout occured during the cluster running verification!
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Thank you very much again!
    Dov

  • Custom iView Connecting to SAP R/3 system using JCA !!

    I did not get any response on the Portal forum so posting it again in the WebAs forum ...
    Environment : SAP Portal : EP 6.p SP2
    I am using JCA to connect to the SAP backend systems.
    The following code connects to the backend ...
    IConnectionFactory connectionFactory = (IConnectionFactory) ctx.lookup("EISConnections/SAPFactory");
    IConnectionSpec spec = connectionFactory.getConnectionSpec();
    ((Map) spec).put("client", "CLIENT_NUMBER");
    ((Map) spec).put("UserName", "YOUR_LOGIN_ID");
    ((Map) spec).put("Password", "YOUR_PASSSWORD");
    ((Map) spec).put("logonmethod", "UIDPW"); // or SAPLOGONTICKET
    ((Map) spec).put("Language", "YOUR_LOGIN_LANGUAGE");
    ((Map) spec).put("ashost", "YOUR_APPLICTION_SERVER_NAME");
    ((Map) spec).put("sysnr", "YOUR_SYSTEM_NUMBER");
    IConnection client = connectionFactory.getConnectionEx(spec);
    I want to use the message server for load balancing. Is there a way to specify the message server and logon group ??
    These is the code to get the BAPI information ...
    // Create interaction
    IInteraction interaction = client.createInteractionEx();
    IInteractionSpec interactionSpec = interaction.getInteractionSpec();
    interactionSpec.setPropertyValue("Name", "REMOTE_FUNCTION_MODULE_NAME");
    // Create IFunction instance
    IFunctionsMetaData functionsMetaData = client.getFunctionsMetaData();
    IFunction function
    = functionsMetaData.getFunction("REMOTE_FUNCTION_MODULE_NAME");
    // CCI api only has one datatype: Record
    RecordFactory recordFactory = interaction.getRecordFactory();
    MappedRecord importParams
    = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS"
    and the following code populates the input table parameters ...
    IStructureFactory structureFactory
    = interaction.retrieveStructureFactory();
    IRecordSet table
    = (IRecordSet) structureFactory.getStructure(
    function.getParameter("TABLE_NAME").getStructure());
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    table.insertRow();
    table.setString("COLUMN_NAME_1", "VALUE_1");
    table.setString("COLUMN_NAME_2", "VALUE_2");
    importParams.put("TABLE_NAME", table);
    The above code causes performance issues in the SAP system because the code is calling the following other BAPI through the JCA java api ...
    1) RFC_GET_FUNCTION_INTERFACE
    2) DDIF_FIELDINFO_GET
    Looks like, the JCA library is not caching the metadata information for the BAPI instead for each call, it is calling other BAPI's to get the BAPI metadata information. Also, if I reuse the same IFunction class instance for all connections (Using Singleton Class), it seems to make less "RFC_GET_FUNCTION_INTERFACE" bapi calls.
    The problem is with the input table structure which I need to populate for the BAPI. Every time the structure is populated, the internal BAPI's are getting called and it takes more time to populate the structure as number of users increases.
    I am looking answers to the following questions ...
    1) Specify message and logon group in JCA
    2) Provide a way to cache the metadata for the BAPI's
    More details about JCA can be found here ...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bc9baf90-0201-0010-479a-b49b25598ebf
    I appreciate your help !!
    Thanks
    Bhabesh Patel

    we updated JCO to the latest version for EP 6 SP2 Patch 8 and it fixed the issue.

Maybe you are looking for

  • How an Event (0BUSEVENT) works

    Hi, I would like to know what an event is and how it works. In Production Planning Standard Flow i could see a routine for 0MATERIAL Field in which 0BUSEVENT is used. 0BUSEVENT has values like PA,PB,PC,PD etc.. i would like to know what these values

  • OSX 10.8.5 Can't install any updates for any of my 3rd party software

    Hi Guys Don't know if any of you out there can help me but for some reason I am unable to install any unpdates for ANY of my third party software on my System Drive or any other drive for that matter.  I continually get the little yellow triangle on

  • Alert log in 11g

    Hi, I have a database where it started on 20th Jun, but my alert_sid.log contains entries starting from 27th Jun. Database version is 11.2.0.2 I know ADRCI purges only log.xml, but wondering why i'm unable to see the old entries in alert_sid.log. Can

  • Ios8.1 is killing my iPad air! I hardly want to use it anymore since wifi is so messed up

    wifi is always dropping. I hate using my iPad air now. It makes me want to smash it!!!!!!

  • IMac internal network

    I have two external drives daisy-chained to my iMac for Time Machine,Superduper bootable back-up and a further Superduper back-up of my old Snow Leopard drive. Since upgrading from 10.7.3 to 10.7.4 I get an irritating message each time I awake the co