Purpose of RFC and JCO-RFC destinations

Hi,
  Can you please tell me what is the purpose of RFC and JCO-RFC destinations and where do we create them.
Regards
Rahul

Hi,
RFCs are SAP interfaces for communicating between SAP systems. They accept inputs, do the processing and return the output values. You can call rfcs through different applications like web dynpro.
http://help.sap.com/SAPhelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
JCO helps Java applications to connect and communicate with SAP backend systems. Using JCO we can make rfc calls. JCO will help in getting the rfcs in a java compatible format.
http://help.sap.com/saphelp_nw04/Helpdata/EN/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm
Example for setting up jco destinations:
http://help.sap.com/saphelp_erp60/helpdata/EN/ca/115e4088dc0272e10000000a155106/content.htm
Regards,
Shyam.

Similar Messages

  • Monitoring of remote system's Transactional RFC and Queued RFC

    Hello,
    In our production system, in rz20- CCMS monitor templates- Communication-Transactional RFC and Queued RFc- outbound queues- Queues otherwise not monitored we can see blocked queues for each client.
    System is connected to solution manager and we wish the central auto reaction is implemented in solution manager
    However i am unable to find Transactional RFC and Queued RFC for the remote system, they exist only for solution manager itself
    Tell me how can i do the central monitoring

    Hello,
    First you need to check with your Landscape in solman in order to monitor any kind of activities to do so pls follow these steps.
    Go to SMSY in solman under Landscape components>Product systemsselect you satellite system example SAP ECC.
    On the main screen you will find client for which you have generated RFC connection. Please check though connection are working fine, Go to edit mode and try to click on generate button there will be a pop-up, which gives a clear picture of RFC connection which already exists, and you can also re-generate this RFC connection by clean it up when you re-generate pls select under Actions after generation assign RFC dest for system monitoring.
    But make sure there is no project impact on this RFC, like they are not using any logical components and already have some projects running on this RFC connection.
    I would advise you to first you the option of assign and check RFC button which is next to generate icon.
    Regards
    JUDE

  • File to RFC, and through RFC response i am trying to trigger the Mail adapt

    Hi All,
    Right now i am doing File to RFC, its working fine but now the requirement is when xi connect to ftp and picks the  file need to send one success mail after the file pickup and data sent to BW system again i need to send one mail and also error alerts to inbox.
    Till now i am not using BPM, can we do this without BPM pls let me know
    now i am trying to achieve this in File to RFC, and through RFC response i am trying to trigger the Mail adapter.
    or else  i need use only BPM pls share  the steps which i need to be configure.
    Am i correct or pls suggest me some idea to achive this and also pls share some smaple ones in BPM .
    Thanks in advance
    Venkat

    With BPm, follow this:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Instead of receiving the response in file, use mail adapter
    Regards,
    Prateek

  • Big Problem: ABAP-RFC and JCO  client

    Hi Friends,
    I am a java developer in trouble with a ABAP/RFC, and I dont have idea whoe lese ask for help
    This is the situation:
    In order to send a "candidates resume" (curriculum) in to SAP,
    the ABAP developers made for me a RFC which uses the transaction PB10 (applicant master data).
    The rFC when tested in the SAP GUI works fine.
    I wrote a java client which calls the RFC, send the parameters and expect the results.
    This client uses JCO to access SAP.
    But, from the java client the RFC works PARTIALLY.
    I mean, it creates the applicant, fills his name, address (infotypes 002,006,001)
    but doesnt fill the education a qualifications (infotypes 22 and 24).
    I am trying to figure why.
    Some of the internal ABAP errors code that we get are:
    DC -006
    PA -054
    5A -135
    Also I get this message:
    "Exception condition "CNTL_ERROR" raised"
    Please, I am a java-per lost in the SAP land.
    Thanks in advance by any help!!!
    PD: I could sent you the ABAP code of the RFC or the java code of the client if necessary.

    That CNTL_ERROR tells me that its trying to access a gui control which I don't is possible thru jCo.  Gui Controls are very dependent on the SAP Gui Frontend.  Since you are calling the transaction thru jCo,  it oviously doesn't know what to do with it.  Any chance that you can get a hold of the ABAP developer which wrote it initially?  Maybe there is another transaction that can be used instead of the PB10 transaction.
    Regards,
    Rich Heilman

  • RFC and JCo Error

    Hi Masters,
    I  am very new to Webdynpro java. I am trying to connect SAP server , but i am getting error while connecting.
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=hsdnt24s15 GROUP=PUBLIC R3NAME=C5R MSSERV=sapmsC5R PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service 'sapmsC5R' unknown TIME Tue Feb 24 14:54:54 2009 RELEASE 711 COMPONENT NI (network interface) VERSION 39 RC -3 MODULE nixxhsl.cpp LINE 643 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 4
    Regards,
    Anthony.

    Hi ,
    Please search for Adaptive RFC Trouble Shooting Guide.
    Have a look at the [Link.|https://wiki.sdn.sap.com/wiki/display/EP/TroubleshootingSAPJavaConnector%28JCo%29].
    Regards,
    Krishna kattu.

  • Help required for Sender Proxy/RFC and Receiver RFC approach. Urgent please

    Hi All,
    I have one sender R/3 system
    I have two receivers R/3 systems
    Business Partners data from sender R/3 system needs to be repliacted to 2 receivers R/3 systems
    From sender R/3 system one Sync Abap Client Proxy or
    Sync RFC will send Business Partners data to XI.
    For both receivers R/3 systems there is only one RFC Currently there is no flag condition for 2 receivers as this is
    Business Partner replication scenario.
    Also In XI there is restriction that multiple sync receivers cannot be there.
    Please let me know how to make this approach.
    Regards

    Rich,
    Create two O/B Interfaces - Synch. Create Proxy1 for O/B Interface1 , Proxy2 for O/B interface 2.
    So while defining Receiver determinatio, you will define as following,
    Receiver Determination----1
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Receiver : BusinessSystem_ C
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Inbound Interface: RFC_Rec
    Receiver Determination----2
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Receiver : BusinessSystem_D
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Inbound Interface: RFC_Rec
    Hope it helps!
    raj.

  • CCMS qRFC Monitoring: Missing Transactional and Queued RFC Monitoring Nodes

    Hi ,
    We are trying to create a Queued RFC monitoring for VERTEX Queued , but we are missing CCMS Monitor Templates,in monitor Communications -->Transactional RFC and Queued RFC in Dev  and PROD  ,but its present in QA System .
    I have checked all system are at same level for support packs , kernel version .
    I have refered following Notes - 441269,437187,455431, 485826
    Can we create manually new one , but we are missing MTE class also ?
    Can we create new monitoring template ?
    We are running 4.6c with basis support pack level :
    SAP_BASIS    46C           0054    SAPKB46C54
    SAP_ABA      46C           0054    SAPKA46C54
    Thanks
    Hamendra

    Hamendra,
    Please make sure background dispatching is activated in your system. Go to tcode RZ21 and menu Technical Infrastructure --> Method execution --> Active background dispatching.
    This should schedule a job called SAP_CCMS_MONI_BATCH_DP. This is the job that will run the function for building the ALE/EDI monitoring segment.
    After scheduling the job check back in a few hours, if the ALE/EDI monitor is still not there try the following.
    1. Go to tcode RZ21
    2. In the topology section choose radio button "Segment overview" and click display
    3. Go into change mode and delete the monitoring segments
    This will force the system to recreate all the monitoring contexts.
    Check back in a few hours and see if the monitor is working.
    Tarkesh

  • What is rfc. and uses

    <u></u>what is rfc. and uses

    Hi,
    RFC
    Remote Function Call:
    RFCs are requests that an SAP component sends to invoke functions on remote systems, or calls that remote systems initiate to invoke functions on an SAP component.A process that can accept RFCs from SAP components. This allows SAP components to access functions in external systems. In SAP BC terminology, the process is called a Listener. Listeners are one or more threads on SAP Business Connector that wait for incoming requests from SAP components. Listeners are named and register with an SAP gateway to indicate that they are ready to accept requests. Listeners can accept RFC or tRFC requests.
    Transactional RFC (tRFC) and Queued RFC (qRFC). tRFC is used mainly to transfer ALE Intermediate Documents (IDocs).
    Transactional RFC:
    If an error occurs during a synchronous remote function call, the system cannot tell at what point the error occurred (most crucially, whether the function module was actually processed in R/3 before the operation failed). Restarting a failed call is therefore a dangerous thing to do, since you risk duplicating a completed function call.
    To alleviate this problem, you can use transactional RFC, which guarantees that each function call you issue will only be executed once, even if you submit it repeatedly to the R/3 System. The system implements this safeguard by assigning a unique transaction ID (TID) to each transaction that you submit. When you attempt to process the transaction, the system checks whether that TID has already been processed. If it has, the transaction is ignored.
    Queued RFC:
    When you use transactional RFC, you cannot guarantee the order in which the function calls will be processed in the system (it is quite possible that one call might overtake another). For cases where you need to specify a particular processing order, you can use queued RFC, which is an extension of transactional RFC. In qRFC, you place each function call in a logical queue. A function call cannot be executed until all of its predecessors in the queue have been processed. Queued RFC calls are processed asynchronously.
    RFC is an SAP interface protocol. Based on CPI-C, it considerably simplifies the programming of communication processes between systems.
    RFCs enable you to call and execute predefined functions in a remote system - or even in the same system.
    RFCs manage the communication process, parameter transfer and error handling.
    Have a look at this link.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE2/BCFESDE2.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/22/042860488911d189490000e829fbbd/frameset.htm.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    Please go through the following link. You will get good info on RFC & its types.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f078394a-4469-2910-c4bf-853c75674694
    Regards,
    Priyanka.

  • RFC and PROXY

    Hi all,
    i have a standard bapi which is at receiver side,and i neeed to update the data .it is asynchronous.can i use a RFC adapter or should i use proxy here?
    Regards,
    keerthi

    Hi,
    There are advantages / disadvantages for RFC / Proxies / Idocs.  Some of the differences are:
    RFC and Proxy:
    RFC/BAPI has its own overhead of function call.
    Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
    ABAP Proxies uses Webservice and Http Protocols.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    Proxy and Idoc:
    IDOC : After recieving the strucutred data It processes it using a Function Module associated with it.
    Proxy : Proxy is a structure where there is no processing function module associated. You need to explicitly write the Business Logic/Call the subroutines here
    Also go through this urls which may help you:
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    RFC VS PROXY
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Re: IDOC and RFC
    Re: Proxy Vs IDOC
    Regards,
    Rajani.

  • Sync rfc vs async rfc

    1)what are the basic designs in IR for Syn RFc and Async RFC..
    What could be the diffrence wrt. IR
    2) regarding RFC which is imported do we need import/Export or simply Table is sufficient in R/3 Side.
    Edited by: sapient on Feb 28, 2008 10:03 AM

    Hi,
    >>1)what are the basic designs in IR for Syn RFc and Async RFC..
    What could be the diffrence wrt. IR
    For Sync RFC you need to Create the Message Interface as Sysnchronous and in Interface Mapping u will get the Request and Response both TABS
    For Async Only Async Mode of Message Interface is Enough
    >>2) regarding RFC which is imported do we need import/Export or simply Table is sufficient in R/3 Side
    For this you need to Import the RFC/BAPI into IR, as we Import the IDOC's in IDOC's Scenarios
    Regards
    Seshagiri

  • Asynchronous RFC vs synchronous RFC

    Hi Experts,
    Can you give me what are the differences between asynchronous RFC and synchronous RFC?
    thanks.
    Moderator message : Not enough re-search before posting. Thread locked.
    Edited by: Vinod Kumar on Jul 4, 2011 4:45 PM

    Gabriel,
    <b>synchronous</b>
    the sender sends a request message to the receiver and waits for a response message.
    for eg. consider a scenario.. where u have a customer no. and u need customer details.which is stored in R/3...so u can configure a HTTP to R/3 synchronous scenario... a http request will be sent to R/3 having a CUSTOMER NO....and in response u will get details of customer like...cust name,address, etc...
    <b>asynchronous</b>
    sender send a request message but doesn't wait for response.
    for eg consider a file to file scenario .where u need to pick a file from a source location to a destinartion location....so...it will asynchronous interface
    hope u r lil bit clear!!.
    Regards
    Biplab

  • JCO RFC provider and JCO connection

    Hi all:
    Please share your thoughts on the following doubts I have. Thanks.
    1. To my understanding, we use JCO RFC provider(define in Java side) and RFC destination(in SM59) when we have request from ABAP to Java side. Then we use JCO destinations(define in Web Dynpro Content Admin) if we have request from Java to ABAP. Is this correct?
    2. When creating the JCO RFC provider service, why we need to create those entries for repository for example, the server name, the user used to log into repository? What is the repository used for?
    Thanks!

    Hai,
          your understanding of JCO RFC and RFC Destination is right.But JCO Destination gets the metadata and model data from ABAP,thats what we mention the Dictionany meta data and Application data while creating them.
    Yes, we need to mention the application host,sys no,client and userdetails while creating the JCO RFC provider,then only it will fetch the data from that host and that particular client.
    Thanks and Regards,

  • PI System Copy (JCO RFC destinations missing)

    Hi,
    We are doing a Homogeneous System Copy of a PI 7.0 system:
    - Source system --> PI 7.0 Production system ("PIP")
    - Destination system --> PI 7.0 Development system ("PID")
    We are executing the specific POST activities for a PI system (point 5.2.3.2.4 in the "System Copy for NW2004s SR2 Abap+Java" guide). In point 5.2.3.2.4.2, PI RFC destinations must be adapted in both Abap (SM59) and Java (Visual Administrator, JCO RFC Provider). The problem is that in all PI abap RFC destinations (AI_RUNTIME_JCOSERVER etc) the program_id is pointing to our PI
    Production system ("AI_RUNTIME_PIP"), is it OK?
    Besides, in Visual Administrator (JCO RFC Provider service), all the required RFC listeners for PI ("AI_DIRECTORY_PIP", "AI_RUNTIME_PIP", etc.) are missing after the system copy (???). Must these RFC listeners be manually created? How can we do it? Must we create them with the development SID ("AI_RUNTIME_PID") or with the production SID ("AI_RUNTIME_PIP")? Perhaps PI configuration wizard must be executed after the system copy of a PI system so that these JCO RFC destinations are created, but we are afraid executing the wizard could harm the PI configuration...
    Thanks in advance.
    Jon Larrucea

    Hi Jon
    Probably the best thing to do is just create these destinations manually. You will need to do this in SM59 and the Visual Administrator. See the link below:
    Creating RFC Destinations in the ABAP and Java Environments 
    http://help.sap.com/saphelp_nw70/helpdata/en/be/6e0f41218ff023e10000000a155106/content.htm
    Regards
    Mark

  • SSO between EP and ECC-- JCo RFC Provider- Error-- JCO_ERROR_SERVER_STARTUP

    Hello Everyone
    I am setting Up SSO between my EP 7.0 and my ECC 6.0 system. During the phase JCO RFC PRovider i am giving the following values:
    The following was done;
    1. start Visual Administrator -> Service : Choose JCo RFC Provider
    2. Created JCo RFC provider:
    Program ID: SAPJ2EE_Port
    Gateway host: EPDEV ( host of my EP System)
    Gateway service: sapgw00
    Server Count 5
    Application Server Host: ERP6 ( Host of my ECC System)
    System Number: 00
    Client: 000
    Language: EN
    User: SAPJSF
    Password: ..
    When i click on SET i am getting the error " ERROR When ADDING TO BUNDLE" Check LOG FOR DETAILS".
    I checked the DEFAULTTRACE.TRC and get the following MEssage :
    Date , Time , Message , Severity , Category , Location , Application , User
    03/01/2011 , 3:33:30:101 , Error changing bundle SAPJ2EE_PORT , Error , /System/Server , com.sap.engine.services.rfcengine.RFCRuntimeInterfaceImpl.addBundle(BundleConfiguration conf) ,  , Administrator
    03/01/2011 , 3:33:30:085 , com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Tue Mar 01 03:33:30 PST 2011.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
    Could not start server: Connect to SAP gateway failed
    Connect parameters: TPNAME=SAPJ2EE_PORT GWHOST=EPDEV GWSERV=sapgw00
    ERROR       partner 'EPDEV:sapgw00' not reached
    TIME        Tue Mar 01 03:33:30 2011
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2823
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
    I have configured my SLD as well. Any suggestions. Please Advise.

    Hi Ahmed,
    Please do check the validity of the certificate.
    Please do cross check these steps again.
    1.     Transaction u2013 STRUSTSSO2 (Trust Manager for Logon Ticket)
    2.     Double Click Owner certificate. It gets reflected under the certificate tab.
    3.                  Choose Format Binary
    4.                  Choose File Path.
    5.                  Enter the File Name
    6.                 saved in local drive.
    You can import into portal as x.509 certificate.
    check this thread -
    Certificate no longer has signature (use restriction)
    Renew certificate via SAP MarketPlace, and install from tcode slicense.  If you are working on a trial version, there is a SAP license request application form. Fill the form with the hardware key. you will get the new license via email. Install using slicense. Then try exporting the certificate.
    Thanks,
    Divya
    Edited by: Divya V on Mar 10, 2011 11:25 AM

  • Notes on JCO,RFC and ARFC?

    Hi,
    I need information regarding JCO,RFC,ARFC.
    wht the main use of  this?
    Reply ASAP.
    Regards
    kiran

    hi,
    JCO
    SAP Java Connector (SAP JCo) is a middleware component that enables the development of SAP-compatible components and applications in Java. SAP JCo supports communication with the SAP Server in both directions: inbound calls (Java calls ABAP) and outbound calls (ABAP calls Java).
    SAP JCo can be implemented with Desktop applications and with Web server applications.
    SAP JCo is used as an integrated component in the following applications:
    ●     SAP Business Connector, for communication with external Java applications
    ●     in the Application Server, for connecting the integrated J2EE server with the ABAP environment.
    SAP JCo can also be implemented as a standalone component, for example to establish communication with the SAP system for individual online (web) applications.
    RFC
    Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    ARFC
    Asynchronous remote function calls (aRFCs) are similar to transactional RFCs, in that the user does not have to wait for their completion before continuing the calling dialog. There are three characteristics, however, that distinguish asynchronous RFCs from transactional RFCs:
    When the caller starts an asynchronous RFC, the called server must be available to accept the request.
    The parameters of asynchronous RFCs are not logged to the database, but sent directly to the server.
    Asynchronous RFCs allow the user to carry on an interactive dialog with the remote system.
    The calling program can receive results from the asynchronous RFC.
    regards,
    Kris

Maybe you are looking for

  • Iphone 4s and windows 8

    When I plug my Iphone 4s into my new computer with windows 8 it flashes on and off real quick it never connects. Any ideas on a fix?

  • Date Format in WDA table

    Hi Experts, I have had an excellent experience of getting expert answers here. I am again facing a small issue - I have a form with a tabl ui element which gets populated with some values from the backend. One of the field in the table is date. So i

  • Exception condition "OBJECT_ID_NOT_FOUND" raised

    Hi I get the following error when trying to transfer requisitions into SRM from ECC. I have done all the neccesary config. maintained the Ext_Channel on the org structure and integrated the rfc user. I can create the shopping cart manually in SRM Tha

  • Removing posts that have not been responded to

    hi all. i love the forums and am excited about the new redesign. another great example of why switching back to mac is working nicely for me. can i please ask if it is possible to multiple remove or otherwise conveniently remove posts that have not b

  • How do you get to the apps though the zune store!!...

    how do you get to the windows app store with zune because going to the app store without zune i can't download any apps with the usb connector thanks