SAP JCo Clarifications

Hi Experts,
I have installed SAP Business Connector 4.8 for one of our ECC 6 EHP 4 systems (without AS JAVA) and maintained all the settings for SAP server and listener in adapter settings. I have also maintained correct settings in SAPBC rfc in SM59. The SAPBC is working fine for the xml documents. The client also wants an external Java application to be able to call up the SAP system for business reasons. Now in help.sap.com page "http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm" its written that "SAP JCo is automatically installed when you use SAP Business Connector or SAP Web Application Server for Java." Since I have already installed SAP BC, the JCo should have got installed automatically (I checked LD_LIBPATH, no entry for jco path there, also no classpath is set). How do I check whether this has happened or not? I am dealing with JCo as well as BC for the first time and don't have much idea about them. When the JAVA team is trying to do some work on this, they are getting the below error:
com.sap.mw.jco.JCO$Exception: (102) JCO_ERROR_COMMUNICATION: JCO.Client not connected in repository call
at com.sap.mw.jco.JCO$Repository.getVersion(JCO.java:17820)
at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:18148)
at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:17881)
at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:17991)
at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:17062)
Also, I am getting the below output for the mentioned command:
sapqat01.putnaminv.com:ecqadm 210> java -jar /opt/sapbc48/server/packages/SAP/code/jars/static/sapjco3.jar -stdout
The java class could not be loaded. java.lang.UnsupportedClassVersionError: (com/sap/conn/jco/rt/About) bad major version at offset=6
We are currently running jre 1.4.2, so there is a mismatch in the version in which jco was compiled. What JCO or SAP BC version should I use in this case?
Your help is appreciated.
Best Regards,
Vikash Chandra

Vikas,
I hope, the below link should help you.
Link Removed: asset deleted
Thanks,
Hamendra
Edited by: Jason Lax on Feb 1, 2012 11:21 AM

Similar Messages

  • SAP Jco to PI

    Hi ALL,
    we have some interfaces working currently on SAP Jco ,customer has asked for best practice to move this interfaces from SAP Jco to PI system 7.1.
    Can you pls brief ..wht is this SAP -Jco is  and how does it works ..and what is the right method to move this is in PI 7.1.
    thanks
    Souz

    > Can you pls brief ..wht is this SAP -Jco is  and how does it works ..
    you know google.com?
    http://help.sap.com/saphelp_NW04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm
    > and what is the right method to move this is in PI 7.1.
    That cannot be answered without knowing the whole scenario.

  • Data transfer b/w SAP to Java using IDOC and Interface SAP Jco

    Dear Experts,
    The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
    For this data transferred we are planning to use IDOC process and for interface "SAP Java connector (Version 3.0.5)" we are planning to use. As per our understanding, from Java side one program needs to be written to connect with SAP as "Registered program". This registered program will appear in SAP GATEWAY automatically and using tRFC, TCP/IP connection both SAP and Java system will be connected.
    In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    5. Any sample Java program for the SAP Jco version 3.0.5 to create the "Registered program" with SAP..? (e.g. SAP Listener program).?
    If anybody has detailed steps or explanation please share it with us.
    Thanks in advance
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • Error while running the SAP JCO java program running via command line

    Hi,
        We are facing an issue while using SAP JCO. When i try to run the sample program using RAD 8.0 ( IBM IDE tool For Java Development) its working fine.
    The same sample program if i try to run using command line, Then its giving below exception message.
    Exception in thread "main" java.lang.NoClassDefFoundError: Integration
    NOTE: I have configured proper sapjco jar & Dll files path in class path settings in my batch file.

    Hi,
    class loader can't find class definition during runtime but it could find it during compilation. So the problem is with your classpath. Does your classpath point to file with class Integration? Check this [blog|http://javarevisited.blogspot.com.au/2011/06/noclassdeffounderror-exception-in.html].
    Cheers
    Added reference to blog.

  • Unable to create sales Order/Inquiry object using SAP JCo

    Hi All,
    Pls can you help me.
    I am using BAPI_INQUIRY_CREATEFROMDATA2 and BAPI_Trancation_commit to create Inquiry object.From my Client JCo code there is no error.I debugged the BAPI_Trasaction_commit, there is no error,  return code is 0.  But th system is not creating Inquiry object. When I try the same from SAP GUI client with exactly the same input parameters it works.
    Do I need to set any option/value to commit the Inquiry to the SAP database? How to maintain the same session between the different BAPI's. Is there any issue with Session maintainance? I would appreciate if you can provide me any sample SAP JCo code for creating a Sales Order/Inquiry.
    Thanks
    mars

    Can you put the part of your code that fill the ORDER_PARTNERS table, also you could compare your coding with [Sales order creation using BAPI|http://wiki.sdn.sap.com/wiki/display/Snippets/SalesordercreationusingBAPI] in [Community Code Gallery |http://wiki.sdn.sap.com/wiki/display/Snippets/CommunityCodeGallery] (don't forget that there is a conversion exit on the partner role, so use internal codes "AG" and "WE")
    Regards,
    Raymond

  • Need help in installing the SAP Jco

    Hi All,
    I'm installing HP Change Impact analysis on Quality center and bring SAP in Sync later.One of the installtion step isto install the SAP JCo(Java connector ).I have installed the SAP Jco and on starting the CIT Server..I get a exception messsage
    "SAP Jco is not installed;noclassdeffounderror com\sap\mw\jco\Jco "
    Can anyone help in installing the SAP Jco successfully.
    Thanks,
    Venky

    Hi venkatesh,
    To create JCO follow the procedure.
    Logon to portal>content admn>create JCO destination-->Here u have create Jco for ?Model data and Metadata.
    steps invovled in it.
    1.      Define general data
    2.      Define the J2EE cluster
    3.      Define the data type and connection type
    4.      Define the application server or message server
    5.      Define the security settings.
    Please follow the link for more information.
    http://help.sap.com/saphelp_nw04/helpdata/EN/3a/3b1b40fcdd8f5ce10000000a155106/content.htm
    Regards,
    srikanth

  • RFC calls with SAP JCO and IBM resource adapter for SAP - basic tuning

    Hi experts,
    we are working on a java portal connected to a backend system SAP by calling RFCs.
    On our first integration tests, it appears to be quite slow fetching data from SAP by calling the remote functions from the custom portal. We are using SAP JCo 3.0.6 and IBM resource adapter for SAP 7.0.0.3 to integrate SAP with our portal.
    Is there any basic tuning to achieve to improve performances or any hint of where to tune in SAP ?
    Any help would be greatly appreciated.
    Thanks a lot,
    Jamal

    Hi Jamal,
    I understand you have already checked performance issues in the SAP Server. We had some problems with certain RFC calls and it turned out to be a badly developed ABAP sentence.
    I'd recommend you to use httpwatch or another tool to check the response times from the browser, so you can point accurately where the is.
    Regards
    Francisco

  • The Oracle JRockit JVM is not supported by SAP JCo 3.0.5.

    Hello all,
    I am preparing our new Oracle Fusion Middleware platforms. So far we have been running BPEL 10.1.3.4.0 and we are going to build the 11g platform (WLS and SOA suite) in parallel.
    I have already installed WLS Server 10.3.3 and then SOA Suite + the SOA patchset bu selecting always Jrockit_160_17_R28.0.0-679.
    Now I am abaout to install the adapters and I red in the documentation
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e17054/intro.htm
    For supported JVM information that corresponds to each operating system, see the SAP Note #1077727 in the SAP Service Marketplace.
    Note:
    The Oracle JRockit JVM is not supported by SAP JCo 3.0.5.
    Is anybody aware of this? If it is valid, how could I achieve not to re-installa everything from scratch and select SUN JVM?
    Could I for example create a new Managed Server where I will explicity select SUN JVM to be installed for this instance?
    Best Regards,
    Loukas Rougkalas

    Please post your question to SOA forum. This forum is about WebLogic Connector Container.

  • Urgent: SAP JCO vs FTP

    Hi Gurus,
      We have two servers(one SAP and another non-SAP) installed in our network(at two different locations). Our requirement is to upload data from a flat file(located in non SAP server) into SAP. For this, we thought of two options.
    1. To use SAP JCo, installing it on non SAP server and connecting to SAP system through it and uploading the data by calling some function module using JAVA Program.
    2. To use FTP transfer, transferring the file to SAP Server and uploading data from there.
    Here, we have to consider the facts like performance, security, scheduling etc. As per my research I found that performance wise and security wise option2 is better than option1.
      Would appreciate your inputs on this. 
    Thanks in advance.
    Best Regards,
    Lee

    hi lee,
        option 1 is better. Advantages are :-
    E-mail Requirement:
    - MAPI compatible email client (Outlook Express etc.)
    - Standard SMTP e-mail server
    - Exchange Server
    - Outlook
    - Lotus Notes
    Security can be added to any PDF format. The different types of security are:
    - 128 bit encryption
    - Password
    - Printing restrictions
    - Copy restrictions
    - Saving restrictions
    - Editing restrictions
    performance and scheduling also good so better you go with SAP JCO , its my opinion.
    Thanks & Regards
      Varun Kumar CN

  • How to query an Infoset using SAP JCO APIs

    Hi
    How can I  query an Infoset (on SAP ECC) using SAP JCO APIs?
    Thanks

    Hi,
    Please use the DDIF_FIELDINFO_GET (standard) Function Module to retireve the details which you have mentioned.
    Thanks,
    Arun

  • IDOC data transfer SAP to Java using SAP JCo

    Dear Experts,
              The challenging requirement we are having is, we need to create the interface for data transfer between SAP system and the Java system. The data will be transferred from SAP to java and similarly once some processing done in Java again the details needs to be transferred from Java to SAP.
                 For this data transferred we are planning to use IDOC process and for interface "SAP Java connector" we are planning to use. In this case we are having some doubts.
    1. The data from SAP is going to be transfered from one Custom transaction (Z tcode). Once  "Outbound IDOC" will get triggered and will carry the details. Now the doubt is, whether the data / details will get transfered to JAVA system automatically or we need to perform any other steps from SAP ABAP coding...(like converting in to flat file, XML file and etc) ??
    2. We are planning to install "SAP Jco" in Java server. Is this correct...??
    3. Other than SAP Jco any other softwares needs to be installed or not..??
    4. Since we are going to trigger the "outbound IDOC" from custom transaction, we are planning to develope one program in SE37. Other than this any other program we need to develop or not..??
    If anybody has detailed steps or explanation please share it with us.
    Warm Regards,
    VEL

    Hi All,
      For the above mentioned issue, we implemented JCo software in JAVA system and created the JAVA program including SAP logon credential details like Client, User name, password and Language details.
    When this JAVA program was compiled successfully then, that non SAP system will appear in SAP gateway Tcode.
    Once non SAP system started appearing in SAP gateway that means, both SAP & Non SAP are connected automatically.
    Regards,
    Velmurugan P

  • SAP XI V/S SAP JCO

    Hi All
    I am new to SAP XI.
    Pls let me know the advantages / dis-advantages of using SAP JCO instead of SAP XI
    Regards
    MD

    Hi Madhan,
    Sap JCO is mainly used to connect the Java based applications do chk the below links it gives u a clear picture.
    http://help.sap.com/saphelp_nw04/helpdata/en/64/52d651ac492749b7152609b001c81d/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/e8/bda7c0cef411d6b2bd00508b5d5211/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/01/43e13d82fcfb34e10000000a114084/frameset.htm
    Regards
    Sampath

  • IPV6 support by SAP Java Connector (SAP JCo)

    Hi there,
    Does anyone know if IPV6 is supported by SAP Java Connector (SAP JCo) ?
    Thanks

    See http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/cd5ee2c45365dde10000000a155369/content.htm
    but unfortunately I couldn't make it work. Has anyone made it work? thanks,

  • I am getting the Error as "Returned Content XMl is Empty" in SAP Jco Config

    Hi,
    I am facing the problem in SAP Jco Config in SAP_JCo_Interface Action,
    while searching the BAPI (I am Using search Pattern as BAPI*) I am getting the error like following
    "Returned Content XMl is Empty".
    this URL refer the same problem ... Re: Reg : JCOProxy error:null
    But I am able to connect the SAP R/3 system successfully .. because  from the Existing Transaction the BAPI is called successfully.
    Regards,
    Dhanabal T
    Edited by: Dhanabal Thangavel on Jan 15, 2009 8:30 AM
    Edited by: Dhanabal Thangavel on Jan 15, 2009 8:37 AM

    Hi,
    Are you deploying Office 365 with the latest Office Deployment Tool? Try to download the latest version of ODT from below link, then try again:
    http://www.microsoft.com/en-us/download/details.aspx?id=36778
    A similar issue was resolved here, you might want to have a look:
    http://social.technet.microsoft.com/Forums/en-US/eeb7b577-7868-487a-851d-a6d8c1c6bbda/office-c2r-installation-error-17002?forum=officeitpro
    BTW, Microsoft Office 365 Community > Forums > Deploy Office 365
    is a better source for this kind of problem and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to retrieve ABAP query field metedata using SAP JCO?

    How can I retrieve all field details (such as field name, field description, output length field type) using SAP JCO for an ABAP Query?
    I have query name, user group, query area and infoset name with me.
    Thanks

    Hi,
    Please use the DDIF_FIELDINFO_GET (standard) Function Module to retireve the details which you have mentioned.
    Thanks,
    Arun

Maybe you are looking for

  • Switching to the cinema display by closing the macbook air

    the nice feature of switching to the cinema display by closing the macbook air and reopening it to use the keyboard with a black (mb air-)screen -e.g.for shortcuts in CS5 or Cad -doesn't work any longer using OS X Lion which is quite annoying. Has an

  • TNS error ORA-12154

    Hi all, One of our client is trying to connect to our database from his local pc. We are able to connect to the database fine from here. But when he connects from his pc via vpn it gives him this error: Ora-12154: TNS:could not resolve the connect id

  • How to iterate through a treemap in alphabetical order

    This is with a servlet. I will have a button for next and previous. When next is pressed, I go to the next record in alphabetical order. I know how to use a comparator and set it up. I also know how to use an iterator with 'hasNext' function. The pro

  • DELETE Operation

    Hi All, I am very new to OAF. I am trying to complete the below delete operation. But logicwise I am not able to get an idea. Please help me. Requirement: If user give the po number and click on "GO" button i need to display the all 10 lines of this

  • Xorg update: conflicting memory types

    Hi, Since new Xorg update, I can see the folowing message at /var/log/messages.log: Dec 11 14:36:03 Xorg:2480 conflicting memory types e8000000-f0000000 write-combining<->uncached-minus Dec 11 14:36:03 reserve_memtype failed 0xe8000000-0xf0000000, tr