RFC Function Call - System not available

Hello,
in my own program i´m using an RFC function call to get data out of our BW - System like this:
CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA' DESTINATION i_dest
    EXPORTING
      i_query               = i_query
      i_view_id             = i_view_id
      i_t_parameter         = i_t_parameter
    IMPORTING
      e_axis_data           = gt_axis_data
      e_cell_data           = e_cell_data
    EXCEPTIONS
      system_failure        = 1
      communication_failure = 2
      OTHERS                = 3.
This works fine and fast as long the BW System is up and running. If the BW system is for some reason down my program has very bad performance because this RFC function call is trying for about 10 seconds every time.
Is there a way to avoid this long waiting time? A kind of parameter?
If there is no answer after one or two seconds the programm should continue.
Any ideas for this?
Thanks a lot.
Best regards
Manfred

try the following like look for TTL(time to live) in the doc
http://www.google.co.in/url?sa=t&source=web&cd=5&ved=0CDkQFjAE&url=http%3A%2F%2Fwww.erpgenie.com%2Fsapgenie%2Fdocs%2FSAP%2520Connectors.doc&rct=j&q=ttl%20for%20rfc%20call%20in%20sap%20abap&ei=DShnTv7VGYbWrQeYgPXcCg&usg=AFQjCNGvnINnxj8kYx9IeelUHy0dQPmuMA&cad=rja

Similar Messages

  • Error-The RFC destination EDSCLNT900 is not available in ICWC

    Hi All,
    I'm working on CRM Utilities 2007. In the ICWC, I'm getting the error 'The RFC destination EDSCLNT900 is not available'. Kindly help me in resolving this error.
    Regards,
    Archana.
    Edited by: archu_sap on Jul 15, 2009 10:30 AM
    Edited by: archu_sap on Jul 15, 2009 10:33 AM

    Hi,
    You have to maintaine RFC Destination EDSCLNT900 in the CRM system.
    generally we have to maintain RFC (t-code SM59) in the sytem where Function Module is present.
    Suppose you are having FM in ECC system  and you want to call in CRMsystem,  then you have to maintain RFC destination (EDSCLNT900) in ECC system.
    Thanks & Regards.
    ShreeMohan

  • Source system not available error

    If the error message is teling as source system not available
    so what can be the reasons for that and tell me the solution also.
    data cllection is incorrect
    so what can i do i have checked trfc connections every thing but every thing is fine
    so any body help me out in this.
    your suggstions will be rewarded.
    Regards.
    Vikram.

    Hi Vikram,
    Try the below mentioned steps:
    1. Check the connections on BW sysetem and R/3 system.
    Use the tcodes: sm58 and sm59. On the context menu of the source system created, check the option for conections. If connections are not fine, contact the basis team
    2. Go to 'source systems' select you source system and right click and select 'Repicate Data Sources' , then try replicating the the infosource for that
    appilication at the top node level as a whole, the try replicating the Data source
    with in your infoarea..
    Hope it would help ..if yes..assign points.
    Regards,
    Manu.

  • The RFC Destination ALESERVER is not available

    Hi ,
    I am getting the error message " The RFC Destination ALESERVER is not available "  in my CRM Web UI screen.But when I login with another User ID , this error message is not showing.
    RFC connections are maintained  in transaction SM59 and BD97.but I m still facing with this issue.
    Please advice what could be the cause of error.
    Regards,
    Ravi

    Hello,
    please check in SM59 the LOGON-User for this RFC-Destination.
    Maybee the user where it works is maintained, the other not.
    Or if there is a general RFC-User maintained the user where it does not work has maybee not the authorization in the target.
    Best regards
    Manfred

  • HT204380 I am new to Facetime.  I want to be able to talk to my iMac from my Macbook.  When I try to connect via email I get a message that says the person being called "is not available for Face Time".

    I am new to Facetime.  I want to be able to talk to my iMac from my Macbook.  When I try to connect via email I get a message that says the person being called "is not available for Face Time".

    Hi PhiDor,
    Thanks for visiting Apple Support Communities.
    See this article for some information that can help:
    FaceTime for Mac: Troubleshooting FaceTime
    http://support.apple.com/kb/ts4185
    Regards,
    Jeremy

  • RFC Function module is not working in program while Background

    Hi All,
    we have a one program in BI  system which is calling RFC function module. it is executing the program in foreground very well. Same program we have executed in background , it is not working at all. Thiis RFC function module exists in R/3 4.6c system.

    Hello Raju,
    Transactional call of a remote-capable function module specified in func using the RFC interface. You can use the addition DESTINATION to specify an individual destination in dest. If the destination has not been specified, the destination NONE is used implicitly. Character-type data objects are expected for func and dest.
    When the transactional call is made, the name of the called function, together with the destination and the actual parameters given in parameter list, are registered for the current SAP LUW in the database tables ARFCSSTATE and ARFCSDATA of the current SAP system under a unique transaction ID (abbreviated as TID, stored in a structure of type ARFCTID from the ABAP Dictionary, view using transaction SM58). Following this registration, the program making the call is continued by way of the statement CALL FUNCTION.
    When executing the COMMIT WORK statement, the function modules registered for the current SAP LUW are started in the sequence in which they were registered. The statement ROLLBACK WORKdeletes all previous registrations of the current SAP LUW.
    If the specified destination is not available for COMMIT WORK, an executable called RSARFCSE is started in the background. This attempts to start the functional modules registered for an SAP LUW in their destination, every 15 minutes up to a total of 30 times. You can make changes to these parameters using transaction SM59. If the destination does not become available within the given time, this is noted in the database table ARFCSDATA as a CPICERR entry. By default, this entry in database table ARFCSSTATE is deleted after 8 days.
    Thanks and Regards,
    SAP Shori

  • RFC function call from VB Script

    I have an RFC enabled function that I need to call from VBScript.  I was working through this issue as a BAPI call but after research and RFC not initialized error messages over and over I am coming to think that the issue is not how I was doing it but what I was trying to do with different objects. 
    I think the issue is that I was trying to call a RFC function with BAPI methods, I didnt understand that there was I difference but now I do.  I don't know how to initialize the RFC on the host system and unsure if I even have all of the components on the host system to make these function calls.
    The goal here is to call a function that passes 3 paramters and modifies a user object in SAP.

    Hello John,
       are you using DCOM Connector? I have a VBScript working correctly, using DCOM Connector, and consuming a Z function module defined as RFC.
    What's the error message you're getting?
    Regards
    Michael

  • RFC function call

    Hi friends ,
    I have created on RFC in R/3 to update saftystock in MARC table . when i execute this in SE37 it is updating the MARC table . The proble is when i execute this RFC from BW system with the
       CALL FUNCTION 'ZSCPI033' destination 'TCOCLNT101'
    EXPORTING
      BAPI_HEAD         =
      BAPI_MARC1        =
      BAPI_MARCX        =
    IMPORTING
       BAPI_RETURN        = V_RETURN1
      TABLES
        INT_MAT           = t_process
    It is updating the record in MARC table of R/3 system with the value 0. BAPI_return type is showing 'S'.
    can anybody help me on this pls.
    Regards
    prithvi.

    Hi
    Kindly do coding
    put a COMMIT WORK after the RFC
    if l_failure = 'X' .
          rollback work .
          message i000 with reservation ' : Data not saved! '.
        else.
          commit work .
          message s000 with reservation
              ' : successfully saved! '.
        endif.
    Reward points...for your query answered

  • Getting Return values from RFC function call with visual basic

    Hi,
    I am creating a sample app to connect to a SAP system which call its RFC functions created with ABAP. It was known that the function will return more than 1 return values.
       SAP Function name ==> "ZFMTP_RFC_GET_RESULT"
            Export parameters (to SAP):
                    - Student Name [char 10]         ==> "STUNAME"
                    - Student ID         [char 20]        ==> "STUID"
           Return values (From SAP):
                    - Results [char 10]        ==> "RESULT"
                    - Remarks [char 200]        ==> "REMARKS"
    i have managed to get sample codes for connecting and call a RFC function with vb but they only get a return value. How do i retrieve multiple return values like the above function "RESULT" and "REMARKS"?
    Here's my vb code to accessing the function
            Dim R3 As Object
            Dim FBFunc As Object
            Dim returnFunc As Boolean
            Dim connected As Boolean
            R3 = CreateObject("SAP.Functions")
            R3.Connection.Client = "000"
            R3.Connection.User = "BCUSER"
            R3.Connection.Password = "minisap"
            R3.Connection.Language = "DE"
            R3.Connection.System = "dtsystem"
            R3.Connection.Applicationserver = "xxx.xxx.xxx.xxx" 
            connected = R3.Connection.Logon(0, True)
            If connected <> True Then
                MsgBox("Unable to connect to SAP")
            End If
            FBFunc = R3.add("ZFMTP_RFC_GET_RESULT")
            FBFunc.exports("STUNAME") = "Jonny"
            FBFunc.exports("STUID") = "12345"
            returnFunc = FBFunc.Call() <<== How do i get the return value? or RESULT and REMARKS of the RFC Function?
    thanks alot.
    Edited by: Eugene Tan on Mar 4, 2008 7:17 AM

    Hi Gregor,
    Thanks for the link....i am having some doubts with the codes, hope you can clarify them for me if you know the codes..
    Below is the code snippet.
    Set impReturn = CHPASS_FN.Imports("RETURN")  <<=== is RETURN the standard keyword to get a                                                                                return object?
      expPassword.Value = currpass
      expNewPass.Value = newpass
      expFillRet.Value = "1"
    ''' Call change password function
      If CHPASS_FN.Call = True Then
        outFile.Write (", Called Function")
        Message = impReturn("MESSAGE") <<==== So if i have 3 return values..i just replace with the return                                                               value variable names?
        outFile.WriteLine " : " & Message
      Else
        outFile.Write (", Call to function failed")
      End If
    thanks alot...all your help is very appreciated.

  • How to handle JCO Exceptions at JCO (RFC) function call

    Hello Forum,
    I am implementing an JCO Server scenario.
    I use dynamic repositories like Example7.java from the JCO documentation.
    Example7 throws an JCO.AbapException if anything went wrong, e.g. the function is not implemented.
    How to react on this AbapException?
    The examples in SAP Help documentation only catch
    SYSTEM_FAILURE and COMMUNICATION_FAILURE.
    All other RFC modules I have seen which declare the function modules to be used by dynamic JCO repositories (like Example7.java) do not define any other Exception parameters.
    But these two are only thrown and caught when something with communication went completely wrong, e.g. RFC not found.
    But when RFC can be reached and the JCO Server is executing the Java method, an AbapException could be thrown on error. How to react on this?
    In my implementation based on the examples I always get a ABAP dump. The dump says:
    Exception named  without message text. Why that name?
    How to handle this type of exception in order to avoid the dump?
    Can anyone post an example please?
    Thanks,
    Carsten
    Edited by: Carsten Schön on Apr 15, 2008 4:22 PM
    Edited by: Carsten Schön on Apr 15, 2008 4:24 PM

    Hi Micky,
    thanks for your quick response.
    If so, to throw JCO.AbapException on JCO Server side is not correct?
    What I do is throwing the JCO.AbapException (like in the JCO Example 7).
    At the RFC call in APAB I handle both exceptions SYSTEM_FAILURE and COMMUNICATION_FAILURE like
    CALL FUNCTION 'MY_JCO_FUNCTION_MODULE'
        DESTINATION JCO_DEST
        <...>
        EXCEPTIONS
          SYSTEM_FAILURE        = 1  MESSAGE RFC_MESS
          COMMUNICATION_FAILURE = 2  MESSAGE RFC_MESS.
    This works as far something with RFC is wrong, e.g. Server can not find the function or Server not reachable.
    But the AbapException thrown by the JCO Server (Java) is not handled that way. Why?
    Sorry if this is the wrong forum but I tried posting in Netweaver integration and got no answer for 1 week and because it's ABAP related I thought the topic suites here.
    Carsten
    Edited by: Carsten Schön on Apr 15, 2008 5:10 PM

  • RFC Function calls modal dynpro

    Hello,
    I programmed an outlook addin which calls an abap RFC function to store the email with sap content. Within the function a modal dialog is called to enter some information. The outlook addin is waiting for the function to add some information to ms outlook. This handling has three big disadvantanges. 1. the dynpro is opened in the backgound of the outlook window. 2. the modal dynpro has no button in the task band. 3. The dynpro is not bound to the outlook window.
    To get the dynpro in the front you need to lower some other windows or you have to use the ALT TAB function to click through all windows. The RFC function gets the windows handle by the outlook addin but I dont know how to handle it? Can I bound the dynpro to the outlook window so that if I click on the outlook button the dynpro will appear? Can I give the focus to the dynpro? Is there any better idea to handle this problem in a better way?
    Thanks in advance for any suggestion...

    Hi,
    The second fm is called inside the first fm. , so giving result out you need to declare export paramters in the first fm.
    aRs

  • Can we disable implicit DB commit in JCO RFC function call?

    I called RFC function provided by ABAP from JCo connection, found that each RFC function is a db LUW itself. All the db access sql in RFC function is implicit commited.
    Till now, to wrap the db access sql in seperate "Update function module" or "Perform on commit" seems to be a choice for me (like most BAPI doing so). But is it the only choice?
    The point is, can we disable(or bypass) the implicit DB commit while calling a RFC function from JCo connection?

    Hi Guru,
    Yes you approach is correct, make sure commit/rollback is possible only when a change is/was made in database.
    Go through these links will be helpful,
    BAPI_TRANSACTION_COMMIT with Web AS/SOAP Interface
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    Hope that solves your problem.
    Thanks & Regards,
    Kathirvel

  • System not available in my language

    I've tried to download adobe acrobat standard after purchasing on an ongoing monthly subscription onto my laptop but error message states that it is not available in my language.

    Hi Kim ,
    I need to know few details before we  assist you further .
    Which version of Acrobat are you using ?
    In which Language do you want to purchase it ?
    Have you purchased a universal subscription ?
    It would be great if you could share the screen shot of the error message with us .
    Regards
    Sukrit Dhingra

  • Possible checks before RFC Function Call

    Hello everyone,
    I have the problem, that one of my transport requests was denied to transport into production by our QA, because I didn't check, if the RFC FM (it was a BAPI to be exact) exists in the target system and I didn't handle the RFC exceptions.
    Can someone tell me what this means, and to be sure, what additional checks can be done before calling a remote enabled function module? Code snippets are more than welcome!
    Thanks in advance,
    Alej
    PS: Points will be rewarded!

    Hi,
    variables declared in the top include of the function group is available to all the function modules in the group during runtime.
    Regards,
    Renjith Michael.

  • Why is Call Block not available?????

    I've started getting these harrasing political phone calls from the same number. In the past,
    I remember that I could use Call Block (*60) to block them. I now see that the feature  is
    "no longer available to new customers". So how do I keep these cretins from ringing my phone????
    I subscribe to Freedom Essentials, so I have Caler ID, Forwarding, and Voice mail. I never noticed
    that they don't mention Call Block now.

    There's always the Do Not Call List but unfortunately politicians are exempt.  Like how they write the laws to suit their needs????
    You could check with your states public utilities commission or verizon to see why it is no longer being offered. 

Maybe you are looking for

  • IPad Won't Sync with MKV to MP4 720p Videos

    I converted some mkv files (1280x720p x264, AC3) to mp4 using QuickTime 7 and Perian by exporting to mp4 with the video set to pass thru, and the audio set to AAC 160 Kbps 48 kHz. ITunes won't let them sync with my iPad, but it doesn't tell me why. O

  • After MAc Book Pro update NO Camera on SKype

    Updated my MAc Book Pro to OS Yosemite 10.10.2 and updated skype to latest version and since then NO camera. I can see the person I call they can only see a black/gray screen although my camera on my screen is shining green.

  • F110 - edit proposal - current iteam should be first

    Hi viewers, while running App- F110 in edit proposal.... if i run for a particulor vendor for 5 times... now if i want to run  6th  time i have to search for that pmt iteam. is there any setting to appear the payment iteam as 1st line iteam as defaul

  • Oracle text performance

    hi all. i have useing orcle text for the indexing purposes .. the below query goes for an wildcard search and it performance is very poor .. /* Formatted on 2009/08/11 16:06 (Formatter Plus v4.8.5) */ SELECT *   FROM (SELECT z.*, ROWNUM r           F

  • Delete. wrong forum sorry

    delete wrong forum sorry