How to disply error messages if values not available fpr F4 help

Hi,
I have implemented F4 help for a selection screen field using function module.
I want to throw a customized error message if no value is available.
In my case if no value is available it gives standard message no value available.
I have tried but it gives a dump.
Please suggest.
Thanks and Regards
Shraddha

for F4 help defenitely you will be having a select query to populate into internal table
if it is so
after the select query with sy-subrc check
if yes
then it will proceed with the function module
if no then throw error message
message
use this code
form f_f4help .
  data : begin of it_itab occurs 1,
           username type usr02-bname,
           end of it_itab.
  select bname from usr02 into table it_itab.
if sy-subrc = 0
  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield        = 'BNAME'
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = 'P_USER'
      value_org       = 'S'
    tables
      value_tab       = it_itab[]
    exceptions
      parameter_error = 1
      no_values_found = 2
      others          = 3.
  if sy-subrc  ne 0.
*   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
else.
message with error.
endif.
endform.
   cheers
s.janagar

Similar Messages

  • I'm running OS X 10.7.5 on my MacBook Pro.  I can't get a DVD to eject.  I'm getting an error message "supported disc not available".  How can I get the disc to eject?

    I'm running OS X 10.7.5 on my MacBook Pro.  I can't get a DVD to eject.  I'm getting an error message "supported disc not available" when I try to use the DVD player eject button.  It also does not show up on my desk top as an icon as it normally would.  How can I get the disc to eject?

    see Thread
    https://discussions.apple.com/thread/3996208?start=0&tstart=0
    and Kappy reply

  • My iphone suddenly crashed and asked for restoration, however itunes sends error message of host not available, what should I do?

    My iphone suddenly crashed and asked for restoration, however itunes sends error message of host not available (3014), what should I do?

    Try -
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.
    The "device may need service" means a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    Also see:
    3014
    Restoration of code 3014 will not work?: Apple Support Communities

  • When I try to access iTunes Store I get an error message stating feature not available in the uk store

    when I try to access iTunes Store I get an error message stating feature not available in the uk store

    Exact same thing is happening to me. Couldn't find where to view the Itunes version number after a quick look. I hate the "simplified" interface by the way. On windows 8.1. Really starting to hate itunes, very buggy, and apple device locked down content (I'm looking at you TV shows and Movies) make it a pain to use.

  • When trying to sign into the Itunes Store I get error message "Itunes store not available at this time- please try again later". I've updated everything and still can't get in. Any ideas??

    When trying to sing into the Itunes Store I get error message "Itunes store not availble at this time. Please try again later" I've updated everything and doesn't help. Anyone have any ideas?

    Send a PM(Private Message) to ATT Uverse Care.

  • Error Message -Entry Point Not Found -Can you help me?

    When I open up my Photoshop 6 Elements I get this error message:  
    "  Entry Point Not Found- the procedure entry point-CFBundle Copy File Type For File Data could not be located in the dynamic link library core Foundation.dll "
    I can click the OK option 3 times and the message disappears and I am able to work in Photoshop. 
    Can anyone tell me what this erro message might mean?
    Thanks!

    I am receiving the exact same message when I open Photoshop Elements 6.0.  ADOBE:  PLEASE respond to our requests and post the fix for this.
    Also, to whoever runs this forum, please do not indicate that this question has been answered in any way.
    thank you.
    frustrated

  • How to resolve error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again."

    I inadvertently deleted my iPhone backup on my MacBook Pro. I restored iPhone to factory settings and then synced remotely with iCloud. However the error message repeatedly states:
    iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again.
    Any ideas as to how this can be resolved please. Thank you very much.

    My wife's iPhone 5 would not backup, after upgrading to iOS 8.     The "genius" at the Apple store succeeded in DELETING, the only recent backup of her phone so
    recovery became more critical.
    I followed all the procedures for troubleshooting it, but still it would try to backup and then stop due to an error. We particularly wanted to preserve some game data/history/progress that she'd been working on for years.      This game (Dream Fish) would no longer open after the iOS 8 upgrade ... and the phone would not successfully backup, and so we had no confidence that it would restore from an older backup either.       I googled for solution and found Phoneview and iFunBox.      These apps allow you to see & access data files in the iPhone.      Phoneview was too fragile and crashed when copying a file any size.     
    I found "iFunBox".     iFunBox was excellent.      I used iFunBox to recover her game data.    It allows you to make a copy of data files that reside on the iPhone... and store them as a manual backup on the Mac.
    And in the process I found 2 games that caused iFunBox to crash.      The 2 games in question were not important enough to try to keep, so I deleted them from the iPhone.
    So then, I had a manual backup of the important iPhone data, and had eliminated two game files that apparently had a conflict with iOS 8.
    My next Backup attempt was successful.        The iPhone with iOS 8 would now backup to both the Mac and to the Cloud.
    Next I deleted Dream Fish from the iPhone and downloaded a fresh version from the Cloud.    The new Dream Fish with no history opened in iOS 8.
    Then I used iFunBox to copy my wife's Dream Fish data history from the Mac back into the new game.
    Once the transfer was complete, Dream Fish would now OPEN and all of her progress was there and working like normal.
    Hope this helps.

  • Error message "VI is not executable"! Need help with Application Builder

    Hello,
    I have a problem with an application, built with the Application Builder. I have read some threads about the problem I have, but I still don't know a solution.
    When I run my front panel from LabVIEW, everything is good. So, now I created an application (and an installer) to be able to run it on other PCs as well. This application does not work. Everytime I start it on my PC, I get the error "VI is not executable. ...". I read in several forums solutions for this error, but I cannot fix it! I've changed my properties for the builder, but with no success. Perhaps, anybody has more ideas, what's the problem.
    To get a better idea from my project, here a little description of it:
    In the block diagram there is a while loop which is continuously runned. In this loop I only set some properties for the layout of the front panel, such as decorations which will be hidden/shown and changes of colours of indicators... For the rest, it waits for a click on the button "Start" in the front panel. After that, a DLL is called to communicate with a USB device. Some measurements are carried out and the DLL is closed. I hope, you can get a global idea from my block diagram...
    I use LabVIEW 8.5, the DLL is a third-party DLL, which we wrote on our own. But I think the DLL works properly, if it is called from a C# application it works and it works, too, by calling it from LabVIEW when I am in development mode.
    It's a project for university and I'm just a beginner in LabVIEW, so I don't have so much experiences in it, but I think i improved my knowlegde about LabVIEW very well in the last weeks!
    So, i hope to get an answer soon (the deadline for the project is not soooo far away )
    If you need more information, please let it know...
    I would be very grateful if there is someone with a working solution...
    Kind regards from the Netherlands,
    Sebastian

    Sebastian,
    Your architecture makes it very difficult to debug this and other problems.  Does the error message mention which VI is causing the problem?  It is very important to wire your error clusters everywhere.  In LabVIEW, when a node throws an error (Error.Status = T), future nodes do not execute.  At the end, place an error cluster indicator that you can see on your front panel.  When an error posts, you can right click the indicator (even in a compiled application) and select "Explain Error".
    This is a start, but you really need to push this into a queued-state machine before this gets any more complicated.  As it were, if anything in your loop hangs, your whole application hangs.  See attached for a queued-message handler (not advisable for actual applications, but you get the point.  You would want to have a type defined enum in lieu of strings, and shared data between states differently, etc.)
    -Jason
    Message Edited by LabBEAN on 01-20-2009 08:36 AM
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs
    Attachments:
    State Machine.vi ‏18 KB

  • After downloading Yosemite iPhoto is blocked.  Update error message reads: Update not available for this ID either because it was bought by a different user...

    After downloading Yosemite iPhoto is blocked.  Directed to update.  Update error message: Update not available for this ID either because it was bought by a different user.....  This could be because my iPhone is now linked to the Mac and it is recognising that ID.

    My previous post should read...Could this be because my iPhone is now linked to the Mac and is recognising that ID?

  • Why an Error Message "Valid size not available for this Creation" in Elements 10 Photo Collage

    I have several image editing programs, but I bought Elements 10 specifically to do things the others wouldn't.  I wish to make a photo collage but all I get when I try, after following the instructions in the "help" and "Elements 10 for Dummies" is an error message stating "Valid Size not available for this Creation."  A meaningless phrase anyway because nowhere does it request a "valid size." Please will someone tell me the magiac words to make my lovely collage automaticaslly, or shall I revert to doing it manually on one of my other excellant image editing programs?

    http://helpx.adobe.com/photoshop-elements/kb/error-valid-size-available-creation.html
    If nothing there helps, see post 4 in this thread:
    http://forums.adobe.com/message/4248143#4248143#4248143

  • Values not available for iput help (for Bex)

    Hi Friends,
                  When I am trying to give a value as input for a Bex query. I am getting a validation error saying that the value is invalid. For example:I had given YDRP_Y01 as the input for executing the query. It is giving an error that the YDRP_Y01 is not a valid value.
    I am having these values in the underlying multiprovider for the same infoobject. When i am trying for input help by pressing F4, even then i am not able to find these objects.
    Somebody please help me in resolving the issue.
    Regards
    Sunil

    Hi Sunil,
    I am having these values in the underlying multiprovider for the same infoobject. When i am trying for input help by pressing F4, even then i am not able to find these objects.
    check Master data of that infoobject, whether it contains value "YDRP_Y01". when selecting F4, data come from Infoprovider or master data according the selection made at infoprovider or infoobject.
    Best Regards.

  • How to get rid of the error message we could not complete your iTunes store request?

    How to get rid of the error message we could not complete your iTunes store request?
    having this problem when trying to authorise an newly downloaded app in iTunes

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Although Apple has not provided any indication on the cloud status page.
    Do not change your settings.
    Edit

  • HT1766 At the end of a synch I am getting the following error message "iTunes could not back up the iPod because the backup could not be saved on the computer".  Any ideas on how to resolve?

    At the end of a synch I am getting the following error message "iTunes could not back up the iPod because the backup could not be saved on the computer".  Any ideas on how to resolve?

    See:
    iOS: Troubleshooting backup issues in iTunes
    Try going to iTunes>Preferences>Devices and delete the existing backup so iTunes creates an entire new one vice changing the existing one.

  • When trying to sync my iPhone with my MacBook Pro, I receive the error message "You do not have enough access privileges to update this device".  How to I adjust the access privileges??

    When trying to sync my iPhone/iPad with my MacBook Pro, I receive the error message "You do not have enough access privileges to update this device".  How to I adjust the access privileges?

    Hello magestecal,
    Thanks for using Apple Support Communities.
    To troubleshoot this issue where you're getting a permissions error when trying to sync your iPhone, I'd like you to please follow the steps in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Take care,
    Alex H.

  • HT1766 Error message: "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup?

    Error message when attempting to backup up iPhone4S to Mac says "iTunes could not back up the iphone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup? Can't find answer to that anywhere.

    We had this problem after upgrading to iOS 8.       The iPhone 5 would not backup either to the cloud or to the computer.   Backup always ended with an error message.
    Long story short, with the help of iFunBox ( which I used to make manual backups of some important iPhone data files ), I discovered two games that
    would crash iFunBox.      They were not important games for us, so I didn't try to isolate the offending data files.     And I deleted the two games from the iPhone.
    Apparently these two games conflicted with iOS 8 just as they did with iFunBox.      The next backup without those games was then successful.
    I backed up to both the Mac and the cloud.
    Hope this helps.

Maybe you are looking for