Is this possible: SAP Java Connector - XI - R3 with XI RFC Adapter?

Hi,
I try to call a RFC on a remote R/3 System over the XI Server in a Java Application with SAP Java Connector.
I have configured a RFC Sender Adapter in XI. I get the
following Exception:
"lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'SenderChannel_RFC"!
Is this scenario possible? Or do the connection from
a SAP Java Connector App to the XI RFC Adapter not work?
You can't set the Client and System ID of a Third-Party or
Standalone Java system in the SLD.
Thanks for any help!
Regards
Wolfgang

Hi,
We use a JCO for directly connecting to sap systems.
In that case we need not use any XI also.
But if you want to use RFC adapter and java application the best way is to use java proxies as sender and reciever as RFC adapter.
I donot think there is any  architectural significance in using rfc adapter of XI while using JCO.
Let me know if I mis-understood the context.

Similar Messages

  • SAP Java Connector: Is it possible to cut field values of extracted table?

    I am extracting some SAP tables using the SAP Java Connector (via RFC_READ_TABLE or similar). Is it possible to pass some kind of maxlength for some fields of a table, e.g. if we have a field with size 3750 (like PROFS in table USH04) but I only want the first 100 chars - something like LEFT(PROFS, 100) in SQL?
    Thank you for your helpful response!

    Hi.
    The point is that PROFS has a size of 3750 - but RFC_READ_TABLE will only extract data up to 512 chars per row.
    Kind regards

  • Integrating SAP Java Connector with SAP XI

    Hi XI experts
    We are about to integrate our SAP ERP2004 system with a new WMS system.  The vendors of the WMS system normally integrates with ERP directly through SAP Java Connector, but we would like to put SAP XI between the two systems so we have good way of monitoring the messages beeing sent.
    I would like to make a synchronous test scenario where we send a ARTMAS idoc from SAP to XI which sends it to the WMS. After WMS system receives the ARTMAS Idoc it sends an acknowledgement back to XI which passes it on to SAP.
    The integration would then look like this:
    SAP ERP <-> SAP XI <-> WMS (Jco)
    Is this scenario possible? And if so, how would you suggest to set it up?
    I was thinking of using the RFC adapter to connect to the Java Connector of WMS, but am not sure if this is the right approach or how it should be set up.
    Any help or comments would be greatly appreciated.
    Best Regards
    Chris

    I have made a setup like this:
    SAP <-> XI <-> WMS
    The Scenario is like this:
    SAP sends an ARTMAS03 idoc to XI which maps it directly to the same ARTMAS03 idoc structure (need a few changes in the future so thats why im not using IDOC tunnelling) then it uses a RFC receiver adapter to connect to our SAP gateway, where the WMS is registrered through JCO.
    When I first sent the idoc, i got a "RfcAFWException: failed to read funtionname from XML document: missing namespace declaration(2)" then after reading Q23 in note 730870, I used the RFCNormalizer xslt to change the namespace to a "urn:sap-com:document:sap:rfc:fuctions" instead of the "urn:sap-com:document:sap:idoc:messages". The error is now "functiontemplate from repository was <null>".
    As far as i can see the error is because the metadata repository defined in the RFC adapter cant find the function module that normally would be in the root of a RFC-XML. But I dont know how I can send an Idoc through the rfc adapter to the gateway then. Anyone got some ideas?
    Thanks
    Chris

  • Sharing the Metadata Repository (SAP Java Connector)

    Is it possible to share the metadata repository across multiple client processes in the context of the SAP Java Connector?  If so, can someone point me to the technique that I have to implement?
    Each client process creates its own JCO.Pool (with a unique key) and obtains a repository by invoking JCO.createRepository(...).
    Thanks in advance.

    Hi jim,
    You will probably find the answer in this article :
    <a href="http://www.winfobase.de/lehre/lv_materialien.nsf/intern01/84528E02791D4B16C1256E7B004B9571/$FILE/Tips&Tricks_JCo_Programming.pdf">Tips and Tricks in JCO Programming</a>
    Regards,
    Mathieu

  • Download Sap Java connector

    Where can I download sap jco?

    Hi Alfonso !!!
    You can navigate through http://service.sap.com/connectors
    it's the place for all kind of SAP Connectors family.
    So, under the option *Overview choose SAP Java Connector link, at this point the left navigation menu will be wide open, so the last step is be able to find there the option "Tools&Services", the page with title Tools & Services: Support and Release Strategy, License Terms, Software Download will be opened, there is the place where you can find all versions of JCO for all supported OS.
    Be sure you also have an "SS" user (Sap Service User like SXXXXXXXXX) to certify your access to this link.

  • How to install the SAP Java Connector

    Hi,
    I am unsure how to install the SAP Java Connector on Linux (Suse Linux Enterprise 10). The SAP Integration Kit install and admin guide says:
    ===
    u2022 Copy the librfccm library and the libsapjcorfc library to busines
    sobjects_root/enterprise120/PLATFORM_PATH, where busines
    sobjects_root is the full path to your businessobjects directory,
    and PLATFORM_PATH is your platform. For example, PLATFORM_PATH
    is solaris_sparc for an installation on Solaris.
    u2022 Use symbolic links for the location of the librfccm library and the lib
    sapjcorfc library.
    u2022 Add the location of the librfccm library and the libsapjcorfc library
    to the library path.
    ===
    Do I have to do all 3 steps or is the 1st one (copying of files) enough?
    On the other hand, the SAP Java Connector guide says:
    ===
    Then add {sapjco-install-path} to the LD_LIBRARY_PATH environment variable.
    Finally, add {sapjco-install-path}/sapjco.jar to your CLASSPATH environment variable.
    ===
    So, what to do?
    Thanks!

    Thanks for your help. So i copied the 2 files as mentioned in point 1.
    Where do I have to copy the file sapjco.jar to? There is no shared lib folder after installing BO Edge 3.1 on a Linux system.
    I copied the sapjco.jar to /bobje/tomcat/common/lib but still get the message that the Java Connector files are not in the correct directory.
    I already copied the files librfccm.so and libsapjcorfc.so to /bobje/enterprise120/linux_x86 .
    Thanks again!
    Edit: problem solved: Copying the sapjco.so to tomcat/shared/lib is correct, if the directory doesn't exist then just create it (mkdir). The message is just plain information 7 hint.

  • 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,

  • Unable to register the SAP JAVA CONNECTOR sapjco3.dll file

    HI
    I'm trying to intergrate BO and BW using SAP BO Integration kit, and following the manual at http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f&overridelayout=true
    But first i must install the SAP Java Connector, I have downloaded them from https://websmp107.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000719346&.
    My server is a WMvare win 2008.service pack 2.
    My problem is that i'm unable to register the sapjco3.dll file.
    I'm runnning the comand regsvr32 "C:windowssyswow64sapjco3.dll
    but I only get the error message "The module "sapjco3.dll" was loaded but the entry-point DllRegisterServer was not found. Make sure that "sapjco3.dll" is a valid DLL or OCX file ant try again"
    I hav tried both the 64 bit and the 32 bit version of the dll. same error.
    the dll version is 7110.34.16.7531
    Any ideas
    Thanks

    Hi Pal,
    you need to use the Java Connector v 2.1.8 and there is no need to register the DLL.
    ingo

  • Call 'SAP Java Connector'

    Hi,
    has someone integrated in Forms 9.0.4 the call to the 'SAP Java Connector'?
    If yes, do you have an HowToDo or a ProfOfConcept?
    All Tipps and Tricks are welcome.
    Best Regrads
    Martin

    You probarbly already solved the problem but to others who run into the same problem add the following to the reference.txt file on the server: "reference service:eisconnector library:com.sap.mdi"
    The reference.txt is located on the path "..\usr\sap\EP60\j2ee\j2ee_00\cluster\server\managers"
    Depending on the portal version a reference.txt might be located on the state controller as well. In that case modify the reference.text on the state controller instead, restart the portal as verify the reference.txt on the server has been add the reference.
    /Ole

  • I have an iphone 6 and my ex partner is able to read my text imessages remotely without having access to my phone. How is this possible and can anybody help me with this matter as it is a gross invasion of my privacy?

    Hi everybody,
    I have an iphone 6 and  my ex partner is intercepting and reading my imessage text messages remotely and without any access to my phone. Can someone shed any light on how this is possible and if so provide me with a solution to my problem as this is a gross invasion of my privacy and i seem powerless to combat this problem!

    It sounds as if your ex has your AppleID and passcode. Change the passcode.

  • SAP Business connector  4.6 with a ECC 6.0 Unicode

    Hi,
    a SAP Business connector  4.6 is compatible with a SAP ECC 6.0 Unicode ?
    Regards.

    Hi Ganimede,
    I'm not sure if 4.6 is (should be) but 4.8 is definitely UC compatible.
    Please follow these links:
    [Connectors @ SAP overview page|http://service.sap.com/connectors]
    [SAP Business Connector (SAP BC) Documentation|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000719330]
    Regards,
    Martin Fuchs
    SAP AG

  • SAP java connector SAPJCO problem..

    Hi Friends..
    <BR><BR>
    *Can some one help me to solve this problem,<BR>
    I am just trying to connect our SAP server using SAPJava connector i,e, sapjco3. in windows (XP) platform.<BR>
    I am facing below mentioned problem...*
    <BR>
    <BR>
    checkTID called for TID=0A0211C64C364B8158DA000C<BR>
    >>> Error occured on IDS800 connection 1-axsids00|sapgw00|IDS800<BR>
    com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "??????????????????????????u2020 u2020" with extension "  PAYSAPIDL LS_CO          ???" is unavailable.<BR>
         at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:126)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocDocument.<init>(JCoIDocDocument.java:90)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:168)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocRuntime.createIDocDocumentList(JCoIDocRuntime.java:78)<BR>
         at com.sap.conn.idoc.jco.JCoIDoc$DefaultJCoIDocRuntime.createIDocDocumentList(JCoIDoc.java:198)<BR>
         at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:96)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:153)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:3276)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2756)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2574)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2465)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2286)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:270)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:333)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:231)<BR>
         at java.lang.Thread.run(Thread.java:619)<BR>
    rollback called for TID=0A0211C64C364B8158DA000C>>> Error occured on IDS800 connection 1-axsids00|sapgw00|IDS800
    com.sap.conn.jco.JCoException: (104)<BR> RFC_ERROR_SYSTEM_FAILURE: IDocException occurred(Raised by D00120|a_rfc)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:639)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2371)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:270)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:333)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:231)<BR>
         at java.lang.Thread.run(Thread.java:619)<BR>
    Caused by: RfcException: [D00120-DCCCMS|a_rfc]<BR>
        message: IDocException occurred<BR>
        Return code: RFC_FAILURE(1)<BR>
        error group: 104<BR>
        key: RFC_ERROR_SYSTEM_FAILURE<BR>
    Exception raised by D00120-DCCCMS|a_rfc<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2761)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2574)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2465)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2286)<BR>
         ... 4 more<BR>
    Caused by: RfcException: [D00120|a_rfc]<BR>
        message: IDocException occurred<BR>
        Return code: RFC_FAILURE(1)<BR>
        error group: 104<BR>
        key: RFC_ERROR_SYSTEM_FAILURE<BR>
    Exception raised by D00120|a_rfc
    <BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:3305)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2756)<BR>
         ... 7 more<BR>
    Caused by: com.sap.conn.idoc.IDocRuntimeException: IDocException occurred<BR>
         at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:140)<BR>
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:153)<BR>
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:3276)<BR>
         ... 8 more
    Caused by: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3)<BR> IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "??????????????????????????u2020 u2020" with extension "  PAYSAPIDL LS_CO          ???" is unavailable.
         at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:126)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocDocument.<init>(JCoIDocDocument.java:90)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:168)<BR>
         at com.sap.conn.idoc.jco.rt.JCoIDocRuntime.createIDocDocumentList(JCoIDocRuntime.java:78)<BR>
         at com.sap.conn.idoc.jco.JCoIDoc$DefaultJCoIDocRuntime.createIDocDocumentList(JCoIDoc.java:198)<BR>
         at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:96)<BR>
         ... 10 more
    <BR>
    <BR>
    <BR>
    Regads,
    Salil

    Hi Mani,
    Please if u can help me. Do let me know how you got the solution for it.Please
    Regards
    Laku

  • Enquire SAP Java connector

    Dear All,
    Does anyone know is there any concern or issue that will exist if use SAP JCO in ABAP program? e.g.: stability.
    We have an ABAP program which use JCO function as a connector for data convert from scanner to SAP.
    Rdgs,
    Emily

    Hi Salman
    Refer the following link, it may help you to do this.
    Link: https://dsd.esco-salt.com/StartPage/documents/integration/contents.html
    Rewards if useful.

  • SAP java connector

    I know how to make applications Java to SAP System but, I need to know how to make a SAP function module System to Java calls. Please send me steps, examples, codes, hints or libraries. ¡thanks!

    Hi Andrés,
    The previous reply is not correct - ABAP can call Java! You could have a look at the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Hope that helps,
    Vladimir

  • Is this possible in java ?

    myObject.add(new myAnotherObject().setAttr("foo") );

    myObject.add(new myAnotherObject().setAttr("foo") );Regarding the expression �new myAnotherObject()�,
    Is myAnotherObject the name of a class or interface? Or is it a reference to an object?
    Is this what you have in mind?
    class MyObject {
    void add(MyObject o) {}
    void setAttr(String s) {}
    MyObject myObject =
    MyObject myAnotherObject =
    The keyword new requires a class or interface name not a reference to an object.
    Perhaps, did you intend to say �new MyObject()�?

Maybe you are looking for

  • Setting tabs or spacing in HTML files?

    Is there a way to format text in HTML files that are output from Labview? I am trying to make a report and find that setting up strings with the concatenate (even tabs and spaces) doesn't seem to be very WYSIWYG... For example, I have the following V

  • N80 Gallery Bug introduced in firmare 5.0719.0.2

    In case you guys from Nokia didnt notice it yet ... There was a new bug introduced into the Gallery application of the Nokia N80 with Firmware 5.0719.0.2. The bug looks as following: If you open the Picture Gallery there simply wont be any pictures o

  • Elements freezing on acquire image from scanner

    When using a Neat NM-1000 scanner and I acqire image from scanner the program loads the Neat software to scan the image and runs the photo through the scanner and then freezes the software and will not allow me to continue. Is there and update I need

  • Has anyone with a geforce gt650M been able to start Premiere CC ? (Win7)

    Just to know if I am the only one, or if it's a general issue with driver version 320.18 or less. thanks. this is related to post: http://forums.adobe.com/message/5448014#5448014 Premiere Pro CC Crash on Startup

  • ITunes and my iPhone won't sync.  What can I do with this software issue?

    I have a PowerBook G4 running OSX 10.5.8 and I have iTunes 10.  I also have an iPhone 4.  I recently upgraded to iOS 7 on my iPhone 4, I then plugged my iPhone up to iTunes to sync.  Now iTunes is telling me due to the upgrade of the iOS, it will not