Third Party (RFC) -- XI -- R/3 (RFC)

Dear all,
We are going to connect a non-SAP system with RFC to XI.
The problem is that the thrid party system sends its RFC calls to the ABAP-stack instead of to the RFC-sender-adapter. Of course the function modules do not exist in XI but only in the target R/3.
I tested the scenario with the help of another system (R/3), here the RFC-calls work properly and get successfully through Integration Engine and I get the answer back from the target system.
Does somebody know why the third party system sends its RFC-calls to the ABAP-stack? In RFC sender channel I enabled "Advanced mode" and disabled "Verify sender system".
Thanks a lot and best regards,
philipp

Hi,
this is part of my source code for the RFC call in the external program. Where do I have to maintain the program ID? The RFC call must go to Adapter Engine and not to ABAP stack (that's what it does at the moment).
Thanks a lot,
Philipp
public static boolean connectToSAP(
     String client,
     String user,
     String passwd,
     String lang,
     String appServer,
     String sysNo) {
          try {
               mConnection = JCO.createClient(client, user, passwd,
lang, appServer, sysNo);
               mConnection.connect();
               mRepository = new JCO.Repository("hello", mConnection);
          } catch (Exception e) {
               e.printStackTrace();
               return false;
          return true;

Similar Messages

  • Third Party (Garnishment) checks - RFC destination error

    We have an issue with our testing of Third Party Garnishment checks.  We have a split system, with our HCM system residing separately from the remaining ECC modules.
    We are getting an error in regards to the printing of the checks in A/P.
    The posting is working fine
    the vendor account is cleared
    However, It’s not creating a check # or check form.
    We can do other check runs in this client fine; it’s just the 3PR runs that cause the error.
    The text of the error message is as follows:  An RFC destination could not be specified for the logical system HPQCLNT210.
       We have exhausted our resources here looking into the RFC connection and the partner profile and we cannot find anything wrong with them.
    Can someone offer suggestions on what else we could check?  Thanks so much.

    Hi David,
    Did you check below is set-up correctly.
    - Use transaction SM59 to create an RFC destinations for the remote system.
    - Use transaction BD54 to create the logical system.
    - Use transaction BD97 to link the RFC destination created in SM59 with the logical system created in BD54.
    Also, check entries in TBLSYSDEST is  filled with correct system name HPQCLNT210. Generally this error occurs when system name is incorrect in TBLSYSDEST.
    Thanks,
    Ameet

  • Sender RFC from Third Party System

    I have a vendor who is actually communicating through RFC from third party Application to SAP R/3. Now we are trying have XI in between. Where as with minimal impact on both sides.
    Solution.
    1. Have the RFC made as ZRFC in XI. Let the vendor call the RFC in XI ABAP and internally make an RFC call through XI Interface to R/3 as Sync Interface. Because we need to report the information back to the system where the request initiated.
    2. Have RFC INI file copied as SAP Suggests under one of the folders. Develop the regular RFC to RFC Interface via XI.
    Is there any other alternatives other than the above mentioned solutions? Or out of those 2, which one will provide the best performance
    Appreciate any feedback. Please advice

    That's exactly what we are trying to achieve here. By Eliminating direct connection R/3, we are placing XI in between. But with the budget/timeline constraints from the Partner side, we are trying to have minimal change on the partner side. They might not change something to web service etc...
    Here is the text about INI file
    You can configure the non-SAP RFC client to connect to the sender communication channel in the following ways:
    ■       By defining the parameters PROGID, gateway-host, and gateway-service within the saprfc.ini-file using RFC-SDK.
    ■       By using appropriate parameters in the function RfcOpenEx.
    If you use the saprfc.ini-file, the respective RFC destination has to be of type R.
    All the parameter values used within the saprfc.ini-file or with the function RfcOpenEx should match the entries maintained within the corresponding sender communication channel.
    Example for the saprfc.ini-file is as follows:
    DEST=RFCCLIENTEXT
    TYPE=R
    PROGID=P106646.HKExternalClient
    GWHOST=pwdf2153
    GWSERV=sapgw40
    Please check the following link, for the same  text on RFC Sender
    [Help.SAP|http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm]
    Using the same Sender RFC for non-SAP System, please share any ideas

  • Third party system call function module/BAPI through RFC to update Z table

    Dear Friends,
    We have a third party system which directly inserts a Z table in SAP through its programming, which is an auditing issue.
    We want the third party system should call function module/BAPI through RFC so that the Z table gets updated.
    waiting for inputs..
    Thanks,
    Kumar

    if third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
    You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table.

  • Third party system (JCO) ---RFC--- PI ---RFC--- ECC

    Hello all,
    We are trying to implement the following scenario:
    Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
    The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
    1. This step is working correctly. Connection is OK.
                JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
                                                                                    "user_id", // userid
                                                                                    "********", // password
                                                                                    "pt", // language
                                                                                    "10.x.x.x", // application server host name
                                                                                    "01"); // system number
                mConnectionPI.connect();
    2. This step is not working correctly:
                JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
    We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • Rollback work in third party system thru RFC

    Hi Gurus,
    Here is my scenario:
    I am using RFC_UPDATE_TAXES_DOC to update records in third party system.
    After successful updation only , I am calling BAPI_ACC_GL_POSTING_POST to post records into SAP.
    Suppose I could post Taxes successfully into third party through RFC, but my BAPI gave me some error, I need to revert back the updation done in third party system as well.
    Could you please suggest me an RFC which could do this or guide me with some pointers on how to achieve this.
    Many Thanks,
    Madan

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • How to call the RFC's from the third party applications or Non SAP applicat

    Hi,
    For calling RFC's from the wedynpro , SAP has provided the modeling concept.
    In the same way, if i want to access or call the RFC 's from the third applications or Non SAP applications what is the procedure and what is the methodoligy.
    As per my knowledge, we need to expose those RFC's as webservices . Then we must be able to acces in hetrogeous environment from any third party applications..
    Please revert back soon, It is very urgent.
    Regards
    Vijay

    Ayyappa Raj,
    Thanks for the reply.
    Please let me the detailed information for implementing.
    AS you said . I need expose the RFC's as webservice. This point is clear to me.
    2) Use tthe JCo to connect and create client proxy.
    Can u please elabrate the above point?
    If u have any steps created in the document or url to refer. Please forward it to me.
    Please forwar the document to this id "vijay00" in yahoo.
    AS the sdn is not allowing to give  the maill id i have given only the id details in yahoo.
    I am new to this procedure.
    Regards
    Vijay

  • RFC destination for your third-party tool

    Hello SAP Guru's,
    I have recently established external db connect for an iseries database. Now developers wants to use the open hub destination to extract data to non-SAP systems. They are using API: RSB_API_OHS_3RDPARTY_NOTIFY to connect a third-party tool to the BI system and use this third-party tool to distribute data to other non-SAP systems. To do so they need RFC destination for the third party tool. Could you tell me which RFC connection i have to use in SM59 ? I mean is it ABAP connection or TCP/IP connection or HTTP connection to external server?
    I would highly appreciate any help on this.
    FYI:
    I have already gone through below help link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/8de3f4743b22a8e10000000a1553f6/frameset.htm

    This will be of type TCP/IP.
    You will need to create an RFC server application on the thirdparty system, and implement this function there. You will need to define that server application in your RFC destination definitions (host/Program).
    You may need to read up RFC server help documentation; you can also browse the SAPGUI subfolders for RFC server sample applications and C code (if you have installed GUI in full, there should be such subfolders on your PC). You can also ask for help on 'application server' or 'abap' forums for this.

  • Number of remote RFC connections to SAP from third party application

    Hi All,
    We are using an external application which is using the JCO API to make a connection to the SAP server to pass invoices. But the connections are note properly closed after invoking the RFCs and SAP seems to be not able to handle further requests once the numer  of connections reach the maximum limit.
    Could you tell whether there is a max limit on the number of connections opened to SAP from remote function calls from a third party product?
    Is there anyway by which we can make sure that connections are properly closed in SAP after the each remote call?
    Thanks in advance for your pointers.
    Regards
    Arun

    Dear Arun,
    Here are the parameter settings which you can do to set up RFC connections to SAP servers.
    http://help.sap.com/saphelp_nw70/helpdata/en/c3/ce70a5cf0ab1499bfbf464e6e92de0/frameset.htm
    This will resolve all your problems.
    Thanks & Regards
    Vivek

  • RFC Not found from the Third party system

    Dear Friends,
    I have customized a RFC, All components are active.
    When I am searching the RFC from third party system this RFC is not able to find, others are showing.
    What could be the reason..../
    Thanks & Regards

    Hi Sachin,
    Just to be sure, could you please check whether the RFC radio button is selected in ATTRIBUTES Tab of SE37 for your RFC. Also check if the RFC is active.
    Best regards,
    Prashant

  • Integration of R3 to Third party using RFC

    Hi,
       I want to integrate third party system to R3. This Third party system can accept IDOC. Can anybody plz guide me how to connect this system to R3? Like by using RFC connection or something else. Anf if RFC then what type of connection it should be(TCP/IP or HTTP)?
        I am new to this area so detailed explaination will be helpful.
    Thanks and Regards,
    Atul.

    Hi Atul,
    on R3 you should create an RFC destination of type TCP/IP, let's say 'THIRD_PARTY_RFC', select 'Registered server program' and assign a program ID let's say 'THIRD_PARTY'.
    Your third party system then should register itself on sapgateway of R3 (SMGW) with the same program ID 'THIRD_PARTY'. To check that it is logged: SMGW->logged on client->and check if an entry for the program id exists.
    In WE21 create a port and assign the RFC destination 'THIRD_PARTY_RFC'.
    Then in partner profile assign that port for the idoc you need to send to the third party system.
    An that's all!
    Hope it helps,
    Kind regards,
    Sergio

  • RFC or BAPI to get  ECC CST LST  from SAP to third party

    Hi Friends,
    I want to find out RFC or BAPI to get ECC,CST and LST No. number from SAP system to third party software accourding to Ship to party.Please healp me.

    Hi,
    Thanks very much for your answer. In fact, table UVERS is empty both on SAP Wharehouse server and Netweaver, but you put me on the right way...
    I finally found that table CVERS_REF was enough, but I don't have the version of the component like in the status window...
    I doubt also I'm right using the RFC_READ_TABLE, but I don't know yet if a BAPI exists for what I'm looking for.
    Regards
    François MAESEELE

  • Credit Card Encryption through RFC calls to third party software

    Dear All,
       I am working on credit card encryption in CRM. At our firm, we have SAP R/3 which is integrated with third party server for performing credit card encryption using RFC calls. We want to perform similar thing in SAP CRM. I was looking into SAP standard mechanism to perform encryption and it seems they use class CL_PCA_SECURITY -> External Encryption to encrypt credit card. Are there any BADIs available for me to change behaviour of this call and call our listeners (for third party server) instead of what standard SAP is calling. Here is what in the code:
    call C function 'SSFENVELOPE'
      CALL 'SSF_ABAP_SERVICE'                                 "#EC CI_CCALL
           ID 'OPCODE'             FIELD   SSF_OPCODES-ENVELOPE
           ID 'SECTOOLKIT'         FIELD   SSFTOOLKIT
           ID 'STRFORMAT'          FIELD   STR_FORMAT
           ID 'STRFORMATL'         FIELD   STR_FORMAT_L
           ID 'BINENC'             FIELD   B_INENC
           ID 'IOSPEC'             FIELD   IO_SPEC
           ID 'OSTRINPUTDATAL'     FIELD   OSTR_INPUT_DATA_L
           ID 'STRPAB'             FIELD   STR_PAB
           ID 'STRPABL'            FIELD   STR_PAB_L
           ID 'STRPABPASSWORD'     FIELD   STR_PAB_PASSWORD
           ID 'STRPABPASSWORDL'    FIELD   STR_PAB_PASSWORD_L
           ID 'OSTRENVELOPEDDATAL' FIELD   OSTR_ENVELOPED_DATA_L
           ID 'CRC'                FIELD   CRC
           ID 'OSTRINPUTDATA'      FIELD   OSTR_INPUT_DATA-SYS
           ID 'RECIPIENTLIST'      FIELD   RCPTAB-SYS
           ID 'OSTRENVELOPEDDATA'  FIELD   OSTR_ENVELOPED_DATA-SYS
           ID 'STRSYMENCRALG'      FIELD   STR_SYM_ENCR_ALG
           ID 'STRSYMENCRALGL'     FIELD   STR_SYM_ENCR_ALG_L.

    Vivek,
    While it may be technically possible to accomplish what you are suggesting (leveraging the encryption functionality provided by your third-party server) I would recommend strongly that you consider a token-based solution instead.  You can learn more about tokenization on this [blog|/people/eric.bushman4/blog/2009/01/02/tokenization-as-a-means-of-securing-credit-card-numbers ].
    There are many reasons why a token-based solution is superior to using application specific encryption (as outlined in the blog), but specifically in the case you describe where an SAP CRM and SAP R/3 are involved there is one specific reason to consider:
    When order data is replicated between SAP CRM and SAP R/3 the systems will attempt to decrypt the credit card numbers prior to passing the data and therefore the RAW card number will be stored in the middleware logs.  This is especially true when using SAP's native credit card encryption logic in the CRM and R/3-ECC applications. 
    For example, let's say a user enters a credit card as the form of payment during Order Creation in CRM.  At Order Save the system will send the credit card information to your third-party server for an authorization attempt and the results will be returned to CRM.  As the Order is saved and committed to the CRM database the standard SAP encryption functionality can be leveraged to encrypt the card data.  Based on your middleware configuration, eventually the Order data (including the credit card details) will be sent to the R/3 or ECC system.  In order to do so the CRM system will first decrypt the card number meaning that the CRM middleware logs will contain RAW card numbers.  When the Order is created in R/3 or ECC the native credit card encryption functionality in R/3 or ECC could be used to encrypt the card number prior to the Order being stored in the database.
    Should you choose to use a third-party server you may find, depending on how the third-party vendor's logic works in SAP, that you must utilize a BADI to decrypt the card number in CRM so that the CRM middleware has a RAW card and so that when the Orders is saved in the R/3 or ECC system it can be encrypted again with the third-party vendor solution.  In either case the RAW card number is present in all systems for some period of time and potentially stored in logs thus exposing your systems to risk and greater PCI audit scrutiny.
    Eric Bushman
    VP, Solutions Engineering
    [Paymetric|https://www.paymetric.com]

  • Reg:Integrate third party xml file into sap in RFC without using XI

    Hai Experts,
                        i have a third party web page which is converted to IDOC XML file .i have to get the file and integrate to sap .
    Can u suggest ways of doing it.
    Regards,
    Vikram

    Hai Experts,
                        i have a third party web page which is converted to IDOC XML file .i have to get the file and integrate to sap .
    Can u suggest ways of doing it.
    Regards,
    Vikram

  • How to set up the communication channel for third party idoc

    Hello,
    I am trying to send an idoc from an sap 4.6c system to an third party system. The third party system is supporting idcos with trfc.
    My problem is to set up the communication channel in the integration builder (configuration) for the third party system. The idoc is waitung in XI to transport.
    My settings are:
    adapter type: idoc
    transport protocol: idoc
    message protocol: idoc
    adapter engine: integration engine
    rfc destination: xyz (is working fine)
    interface version: sap release 4.0 or higher
    port: ??
    sap release 46c
    My problem is the port. should i set up a port in idx1? But the third party is not an sap system and so i dont have a client.
    On the xi i have defined a port in transaction we21 (transactional rfc) for the third party with my rfc destination xyz. But if i enter that port in communication channel i got error messages.
    Thanks for any help.

    Hi Christian,
    yes, you have to mainztain that port in idx1.
    First ypi load the rfc-metadata from an SAP referenzsystem and afterwards copy this metadata to the third party port.
    For further details check the onlinedocumentation "IDoc Processing with the IDoc Adapter" XI -> runtime -> adapter
    Good luck,
    Holger

Maybe you are looking for

  • Variable size of Box in SAP Script

    Hi Gurus, My requirement is to border the data printed in main window with lines. I am using the BOX command but problem is that on every page the number of rows varies. How can I keep the length of the box in main window variable? Regards, Charles

  • Malformed topic error - RoboHelp 9

    Hi, After checking out every suggestion on dealing with this error with no luck (including Peter Grainge's print issues and every other posting on malformed topics), I am at a loss - any help/suggestions on a solution would be GREATLY appreciated. I

  • In Oracle 10g for XML  parsing what jar files have to be loaded?

    I am trying to parse the sample xml file. I want to know what are the jar files which needs to be loaded in Oracle 10g. In Oracle 9i I have files which have been asked to load in to the database. 1) xmlparserv2.jar and 2) xmlplsql.jar But in Oracle 1

  • My Acrobat Snapshot function is not working?

    My Acrobat Snapshot function is not working?

  • Trackpad will not response with bluetooth?

    Hi Guys, My iMac was being slow so I re-booted it and now my Trackpad won't recognize  Bluetooth? I've tried re-booting again and get the same thing.  My batteries are fine and now I can't seem to do anything cause I've got no curser to do anything w