Can I force a timeout myself on an RFC Call ?

Hi experts,
I apologize if this question shouldn't be new.
The appropriate search terms are quite general and
therefore throw out hundreds of entries that I didn't
check completely.
My question is:
I want to call an RFC-Module and, regardless of the
RFC destination settings in SM59 or any timeout settings
in RZ10, cancel this call myself if I don't have an
answer after - let's say - 10 seconds.
Thanks in advance
Andreas

What is the RFC doing. If it is a select then you could do something like.
do 10 times
select blah blah
endselect
if sy-subrc eq 0.
w_no_timeout = 'X'.
exit.
endif.
call function 'RZL_SLEEP' for 1 second.
enddo.
I do not think you can do anything in your calling program as the processing will physically move over to teh RFC destination system.

Similar Messages

  • Can I specify a timeout value for an RMI call?

    Is it possible to specify a timeout value when a client makes a remote
    RMI call to a WL
    EJB? If the server method hangs does the client call hang forever with it?
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"

    That's what I did to try this. weblogic.ejbc knows how to pass -dispatchPolicy to
    the weblogic.rmic, so in the RMI descriptor it creates:
    <method
    name="*"
    dispatch-policy="queueName"
    >
    </method>
    so, maybe there is a command-line option for the timeout as well. Anyway, extracting
    xxxRTD.xml and adding
    <method
    name="*"
    timeout="xxx"
    >
    </method>
    works just fine.
    Rick Holland <[email protected]> wrote:
    So all I have to do is build my EJB jar, extract the *RTD.xml file, hack
    it, stuff it back into the jar and deploy (all within my Ant script).
    Sounds fairly straight forward.
    Thanks again
    [email protected] wrote:
    It gets there from the server. If you look inside ejbc'ed ejb-jar you'll find
    RMI descriptors there (they are named like xxx.RTD.xml)
    Rick Holland <[email protected]> wrote:
    Thank you Dimitri, but I have one more dumb question, since I need these
    timeouts
    on the client side where does an RMI descriptor go? I have never used
    one of these.
    Thanks
    [email protected] wrote:
    AFAIK, you can specify it in the RMI descriptor :
    <rmi Name=".....">
    <cluster
         clusterable="true"
    </cluster>
    <method
         name="methodname"
         timeout="timeoutinmilliseconds"
    </method>
    </rmi>
    And, if there is timeout, method invocation will fail with exception like this:
    weblogic.rmi.extensions.RequestTimeoutException: RJVM response timed out after: '1000' milliseconds.
    at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:85)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy2.testTimeout(Unknown Source)
    Rick Holland <[email protected]> wrote:
    Is it possible to specify a timeout value when a client makes a remote
    RMI call to a WL
    EJB? If the server method hangs does the client call hang forever with it?
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"
    - Rick Holland OO/Distributed Systems Consultant
    - ObjectAge Inc.
    - [email protected]
    "Logic is a wreath of pretty flowers, that smell bad"
    Dimitri

  • I got a replacement Ipad2 recently that tells me restore is needed. For over ten days i have tried but it keeps telling me to contact customer care. What can i do to save myself the long distance call as i am in Nigeria but registered with the UK iTunes?

    My replacement Ipad2 says Iphone cannot receive or make calls. Restore from itunes. Have tried 10 times with no success.

    Make an appointment at the genius bar.
    If you went without an appointment, then it would make sense that you could be turned away.

  • I downloaded the iOS7 and I can't force quit the open apps. I was told, "Force-quitting apps is a little different though: Instead of tapping and holding on the icon, you flick a thumbnail up to dismiss it." Comments please & thank you

    I downloaded the iOS7 and I can't force quit the open apps. I was told, "Force-quitting apps is a little different though: Instead of tapping and holding on the icon, you flick a thumbnail up to dismiss it." Unfortunately, that didn't work. Any comments please & thank you

    Sorry if I didn't make myself clear. Prior to loading 1OS7 it was easy to force quit applications that were still open by double clicking and seeing an a red "x" you had to click on.
    It doesn't work that way with the new operating system and the instructions that were given "Force-quitting apps is a little different though: Instead of tapping and holding on the icon, you flick a thumbnail up to dismiss it."
    Do not work.
    I am looking for anyone who can help figure this out.

  • TS1440 If I don't have my startup discs can I not fix this myself?

    My iMac starts up with a flashing question mark within a folder. I've seen many threads about this issue but my question is, if I don't have my startup discs can I not fix this myself?

    Do you know if you had Firmware Password protection setup?
    http://support.apple.com/kb/HT1352
    It would block usage of all the startup keys, like C, N, T, D, CMD+s, CMD+Option+p+r, CMD +v, Option, and Shift, as well as booting from anything but the Hard Drive.
    Force Removing Password Protection
    1) Add or remove DIMMs to change the total amount of RAM in the computer.
    2) Then, the PRAM must be reset 3 times. (Command + Option + P + R).
    http://www.securemac.com/openfirmwarepasswordprotection.php
    Oh, is this a wired USB KB?

  • How can I force an app install in App Store, or otherwise get App Store in a consistent state?

    I've recently reinstalled OS X Mountain Lion on a laptop (completely and thoroughly erased the partitions of the previous installation), and on this freshly created system, after I sign in to the App Store (to download previous purchases), the system behaves as if packages are already installed - which they are not!
    Under the Purchases tab, packages (such as Xcode or other previous purchases) are showing with a greyed out "INSTALLED" button on the right.  Other packages (which have not been installed) are showing with a (pressable) button of "UPDATE".  (For example, iPhoto has a newer version in Mavericks; it seems always possible to click on UPDATE and be prompted to install the latest version for Mountain Lion -- even though that process can be infinitely repeated).  But iPhoto (along with any other packages) has not been installed to the host yet.  /Applications/iPhoto.app and any others are not showing at all on the system, but App Store still believes that they're installed already (preventing a real install, or pretending that an upgrade is an upgrade and not an install).  There are some packages which DO say "INSTALL".  Those are the ones that I have never installed before on the laptop.  So it appears to be possible to still install some packages - but that's the set that I do not want to install.  So for example, now I can't seem to install Xcode or iPhoto or any other previously purchased applications.  It seems pretty clear that there are some bugs here.  But I am concerned about the source of the association - how is OS X determining that THOSE packages are "installed already", but others are not?  Is the upstream App Store server keeping track of machine ID to make this determination?  I heard at one point that App Store uses Spotlight internally - is it somehow querying that?  Finally I wanted to confirm that this is really a complete reinstall.  I set /dev/zero to the first few sectors of the raw hard drive in order to ensure that I could make a few partiiton table, and when I then reinstalled the system, I chose a different partition arrangement.  I have no other drives connected.  So it's truly a reinstall of the OS from scratch, and at the moment I can't see a clear way to install apps!  I also had killed the App Store agent running in the background, moved away App Store related files in ~/Library/Caches/ and started again.  Yet I get the exact same response.  This is concerning from a privacy perspective too.  Suppose the App Store server is encoding the list of installed packages and associating it with the host and then perhaps I sell the laptop.  Now the list of apps may be available to a new user of the laptop.  But it may only show if the same Apple ID is used.
    In any case, I'd like to know how I can best move past this issue, workaround it, and install packages.  Can I force an app to install, even if it's believed to be installed already?  Can I attempt to do an "uninstall"?  Any suggestions about this would be greatly appreciated.

    i also have a very similar problem my mac crashed due to a dodgy hard drive which has now been upgraded and snow leopard reinstalled and i cannot re install my purchased apps which is a pain in the back side any help please

  • I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    I had over 200 e-mails.  I went to my webmail and deleted most of them.  However, my iPhone still shows 200 e-mails.  How can I force my iPhone to update from the e-mail server?  Or will I have to delete each e-mail from my iPhone as well?  Thanks.

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    I am having a Startup problem. Someone comes on the screen with Open Firmware to Startup. How can I reset the PRAM myself to solve this problem?

    Read these.
    http://support.apple.com/kb/HT1431
    http://reviews.cnet.com/8301-13727_7-10330118-263.html

  • How can I force-install iOs5/6 apps on my iPod Touch?

    Hi, I have an iPod touch version 4.3.5 (ML1). Model is MC540C.
    The App Store sometimes bars me from installing apps because the app has a minimum requirement of iOS 5 or 6. How can I force my iPod to install these apps anyway?

    No, it is more than the screen dimension.
    You have a 4G iPod, why not update?
    To update:
    iOS 4: Updating your device to iOS 5 or later
    You need iTunes 10.7 or later on the computer

  • How can I force iTunes Match to upload a "Duplicate" to the iCloud?

    I have one album where the first track was uploaded, and the other eleven tracks are all tagged as "Duplicates." These tracks were not uploaded to the iCloud. How can I force iTunes Match to upload these eleven tracks erroneously tagged as Duplicates?

    I'm adding my 2¢ because I just "discovered" iTunes Match yesterday and decided to subscribe thinking there was no downside (doh!).
    Well, firstly, there's the enormous downside of Apple's structure not being able to keep up with (what they should have known would be) enormous interest... my iTunes has been matching for >20-hours and has yet to reach half-way up my library. BTW: I thought I read the iTunes Match info fairly thoroughly prior to subscribing and did not see anything about it being for songs vrs full library.
    And secondly, and even more important to me, is that Apple's method of determining duplicate songs is not robust enough, especially for classical music and audio books (e.g., LoTR). I have >12000 "songs" in my library, and Match has determined a boatload are duplicates. They are not of course and even if Apple's duplicate-determining algorithm just looked at disc & track numbers it would "know" that. Anyway, there's a fairly good chance I will not have one complete album upload/match out of >500 albums. That's nae Scottish, in anybody's book.
    Gotta say, using Garage Band to individually alter >2000 "songs" on the off-chance that may assist Apple's duplicate algorithm to be correct is not gonna happen. If, after the matching/uploading is complete, I still have >even 100-not-duplicate-songs listed as duplicates, I'm getting my $29.95 subscription back.
    ... and C: does anybody know why Apple's Lion spell check doesn't work on Apple's discussion forums???

  • Can't force Macbook Pro 2010 to shutdown

    Hi,
    I'd like to know what could be happening:
    I can't force the macbook pro to shut down by pressing and holding the power button for 10 seconds.
    I press an hold it for about one minute and nothing happens. I only get menu to choose between restart, sleep, cancel and shut down.
    I will appreciate any help.
    thank you
    Message was edited by: mgcharlie

    thank you very much for your help.
    I'm aware of the risks of forcing shut down and always shut down by choosing this on the apple menu, but there are times when you need to force shut down.
    Right now I'm experiencing the freeze bug on the new macbooks pro. While everybody report they have to force shut down, thats not a option for me. The first time my system froze I tried to force shut down with no luck. I tried several times until I got it to shut down, after 30 seconds or more holding the power button. I really don't know if my battery went off or I got it to force shutting down.
    Now I'm trying to force shut down just to see if it works and it doesn't work at all.
    do you have any idea what could be happening?
    thank you

  • How can i force my mac book pro to use an external display

    how can i force my mac book pro to use an external display
    my screen is black

    What sort of adapter are you using?
    Clinton

  • How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.

    How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.
    When I start a backup. Time Machine says "Oldest Backup: None; Latest Backup: None", so it seems like it should do a complete backup, but it only does a partial. 

    Hi I'd like to jump in here. Your app showed me this:
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 749.3 GB Disk used: 453.81 GB
              Destinations:
                        Plastic Wrapper [Local] (Last used)
                        Total size: 999.86 GB
                        Total number of backups: 64
                        Oldest backup: 2013-07-24 23:25:11 +0000
                        Last backup: 2013-11-17 01:40:47 +0000
                        Size of backup disk: Too small
                                  Backup size 999.86 GB < (Disk used 453.81 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
              /sbin excluded from backup!
              /usr excluded from backup!
              /System excluded from backup!
              /bin excluded from backup!
              /private excluded from backup!
              /Library excluded from backup!
              /Applications excluded from backup!
    Aside from the size of my backup drive, which I will increase at some point, I'd really like to have time machine backing up all system folders, especially Applications. How to I reset this hidden exclusions?
    Thanks,
    Darcy

  • How can I 'force' my Macs to look for each other on the network?

    OK, I have an iMac with a wired connection to a router, and a MacBook Pro with a wireless connection to the same router. Most of the time, they can 'see' one another on the network, no problem. But, every so often, even after both have been on for a while, I will click the Network icon and the other computer will not appear as available - this happens even when the target computer can see the computer I'm using to try to access it.
    So, here's my question: how can I 'force' my Macs to look for (and find) one another on the network?
    Thanks... if you need further information, just ask... - beck

    If you are using Tiger, go to
    Finder menu -> Go -> Connect to Server
    Enter the specific IP address of the other Mac where is says +Server Address+. You can find the IP address by running System Profiler or looking at System Preferences Network pane (on the other Mac).
    Once you have mounted the volume you to access, make an alias for it and place it in the Dock or on your Desktop. The next time you want to connect to that server, use the alias.

  • Can you force a link inside a .pdf to open the "linked to" document in a new window?

    When I have a link inside my .pdf document - linking to another .pdf document or to a Word document - how can I force the linked-to document to open in a new window?
    I have a web site (business internal, so unfortunately I cannot point to it).  My HTML menu has links to .pdf documents - no problem.  However, once I open those .pdfs, they contain links to other .pdfs and to Word documents.  Clicking on these links, which reside inside my .pdfs, opens the "linked-to" docs in the same page.  How can I force them to open in a brand new frame?
    All of my .pdfs were originally created in Word, and in the Word versions, the links DO open into new frames.  I am not sure why, when I convert them to .pdfs, they lose this feature.
    Can anyone help?

    Hi Magenta,
    Would you mind reposting this question over on the Acrobat boards?  You've posted in the AIR forum and you'll have better luck with this over there.
    Thanks,
    Chris

Maybe you are looking for

  • Flash Player Doesn't Work

    I have a dell laptop running win xp and the latest i.e. browser and I've installed the flash player and get that cute spinning sign saying it's installed but when I go to any site that uses flash (examples: youtube.com, karibyron.com) I can't do squa

  • How to set Screen type "Selection Screen" in Dialog program

    Hi Experts, I have copied a screen 400 from a program into my program. In that screen in source program, the screen type was defined as 'Selection Screen'. After i copied that screen into my program, the screen type Selection Screen option is disable

  • Can i turn an imovie project into an Mpeg file to work on a Windows System?

    Hi is there a way of turning an iMovie production into a standard MPeg format to play on windows operating system???

  • Finished Editing - What does everyone export to?

    Hey I have just been playing around with exporting to different formats when the edit had been completed. There are loads of formats available when you use the Quick Time Conversion - What does everyone here use?? Ofcourse for different applications

  • Report question - $ sign in a seperate column

    Hi all, We have a query that reports on each branch plan's quantities. Somehow there one branch plant has the $ displayed on a sepeated column. Please see the example data as follow: (Branch plan)        (new column without any title)        Month/Ye