How to give error message for the screen element text field when wrong i/p

How to give error message for the screen element text field when wrong i/p
when wrong input given
I have a text box with SBOOK-CARRID
so when user give wrong entry in text box i.e LG
then I should give some error stating that the the input is invalid or not available ,
now it showing the error of standard messages,
i want manual message to be displayed when error comes.
Thank you,
Jagrut Bharatkumar Shukla

Hi all,
Thank you for your valuable reply,
but the thing is that its a screen field,
i.e text box not a selection screen
i created in screen layout
with name sbook-carrid
now i want to get error message display if wrong i/p is given
thank you.
Jagrut bharatkumar Shukla,

Similar Messages

  • How to display error message on the screen

    I am new to WD world and need all possible steps to resolve the following issue.
    I need to display the error message on the screen if any required field is empty when user click on SAVE button.
    I have set the attribute GO_MESSAGE_MANAGER and check the both box for  PUBLIC and REFTO and set the associated type IF_WD_MESSAGE_MANAGER under COMPONENTCONTROLLER.
    Under the method of COMPONENTCONTROLLER set the value WD_THIS-GV_NAV_FORBIDDEN = IV_NAV_FORBIDDEN. Which is type IMPORTING of associated type WDY_BOOLEAN.
    GV_NAV_FORBIDDEN has been set to attribute WDY_BOOLEAN in the COMPONENTCONTROLLER.
    Under the ACTION (on SAVE button) of my default view (VW_DEFAULT) I am doing the following.
    IF lv_f_name IS INITIAL
            type   = 'E'
            cl     = 'HRRCF0002'
            number = '020'
            return = ls_return.
        lv_message = ls_return-message.

    The thing I can not figure out is the input parameter of this call. My CONTEXT has a node1->node2->node3->f_name.
    CALL METHOD lo_message_manager->report_attribute_error_message
        message_text              = lv_message
        element                   = HOW WIILL YOU FIND THE VALUE OF THIS
        attribute_name            =
       params                    =
       msg_user_data             =
       is_permanent              = ABAP_FALSE
       scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
       msg_index                 =
       cancel_navigation         =
       is_validation_independent = ABAP_FALSE     .
    wd_comp_controller->set_navigation_forbidden( iv_nav_forbidden = abap_true ).

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Error message for the select options

    i want to throw thw error message if the user enters the value not valid(not in the range) for the zregion1 of zbwcntry of the select options.
    and user should be able to correct it before moving ahead.
    Also,iis not a mandatory field,So if it is initial,it can b blank.
    but if the input doesnot lie in the range,it should give error message on the selction screen.
    please guid with the line of codes.

    Check out this code:
        MESSAGE 'Enter some employee IDs' TYPE 'E' DISPLAY LIKE 'S'.
        IF '000001' NOT IN VO_PERNR.
          MESSAGE 'Employee id: 1, not selected' TYPE 'E' DISPLAY LIKE 'S'.

  • How to write Error message for select options?

    i have this select option statement
    SELECT-OPTIONS: s_fevor FOR afko-fevor.
    how to write error message for this?

    Error messages are displayed for Select-options mostly on two conditions:
    1) You needs to check wether a value is entered or not its done by:
    Select-options:SELECT-OPTIONS: s_fevor FOR afko-fevor Obligatory.
       In this case error message is automatically throwed by system.
    b) You can do this in Selection Screen events.
    2) You need to Validate the entered value:
    You can do this in Selection Screen events.
                 FROM AFKO
                 INTO AFKO-FEVOR
                 UP TO 1 ROWS

  • Error Message for the cancellation of paid billing document

    Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
    Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
    Thank you and best regards.

    Hi Rachel,
    You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
    For this accouting document, Pass this to BSAD Table ( Customer clleared items) 
      BSEG-Acc.Year = BSAD-Acc,year )..
    Then throw a error message and EXIT.
    So for all the cleared docments , user can not cancel the invoices.

  • HT1338 I am getting an error message for the Update store, saying "To Update this application, sign in to the account you used to purchase it."

    I am getting an error message for the Update store, saying "To Update this application, sign in to the account you used to purchase it."  how do I get rid of these Old unneccisary Updates?  anyone?

    Welcome to Apple Communities
    What's this app? You need to use another Apple ID to update it

  • My iphone 4 has an error message on the screen that reads "iphone disabled connect to itunes" what do i do

    My iPhone 4 has an error message on the screen that reads "iiPhone disabled connect to iTunes" I've tried connecting and can't get anywhere what do I do and what is the problem?

    Your phone is disabled for some reason. Maybe you entered the wrong Passcode too many times. In any case you need to do just as the phone is instructing you to do. Start the latest version of atones on your computer and connect your phone. iTunes should guide you through the process of getting your phone working again. Here's a link to an Apple support page on this:
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • . I have an iCloud error message on the screen.

    The screen on my iPad is frozen. The hard reset does not reboot the iPad. I have an iCloud error message on the screen. That I can't get rid of.

    Thank you. I had tried this before with no success. However, I tried it again. The problem is I don't know who to reboot without a keyboard. I can't get to the on screen key board with the screen locked up.
    The error message I get is   "  iCloud Backup      This iPad hasn't been backed up in 2 weeks. Backups happen when the iPad is plugged in, locked and connected to Wi-Fi" at the bottom of the message is an OK button.
    Now with the iPad removed from the keyboard:the screen will stay lit for about 5 seconds and then go blank. Turning power off and on brings up a blank screen with the iCloud message and the slide to unlock. Touching the OK button causes a brief flutter of the button. Trying to slide the slide to unlock accomplishes nothing, since it won't slide.
    The battery was at 49% when the problem occurred. I have since recharged the battery to 100%. I  tried earlier to reboot with the iPad connected to AC.
    Again, thank you for your suggestions.  

  • My ipod feel and now everytime i connect it 2 my computer i fet the n/a on my desktop n when i go to restory it ... it say error 28 n the screen is black but when i do the recovorey steps the screen still looks the same so i dnt think it a black screen

    my ipod feel and now everytime i connect it 2 my computer i get the n/a on my desktop n when i go to restory it ... it say error 28 n the screen is black but when i do the recovorey steps the screen still looks the same so i dnt think it a black screen so idk if the fireware is messed up or what n idk if it broking or what n if ipod store will take it n give me a new 1

    From the link at the bottom of my post:
    Error 23, 28, 29: These errors may indicate a hardware issue with your device. Follow the steps in this article. Also attempt to restore while connected with the white USB Dock Connector cable that shipped with your device, on a known good computer and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value, (00 499901 064000 0), can also confirm a hardware issue. Out-of-date or incorrectly configured security software can also cause these errors
    iOS: Resolving update and restore alert messages
    I would do what the article and if unsuccessful make an appointment at the Genius bar of an Apple store since you likely have a hardware problem.

  • HipServ for STORA gives error Message that the Java plugin requires a newer version than 3.0. I have installed 4.0, so how come?

    HipServ for STORA by Netgear: when I start it there is an error message "The new JAVA plugin requires a Foxfire version 3 or later". the version of Foxfire I have installed is 4.0. I delete the error message and the HipServ program goes on and works perfectly. To whom should I direct my question, which is how to get rid of the error message? I can't seem to find any new driver for the STORA backup device (RAID 1 pair of 1 tByte drives on LAN)

    Hi rctbone,
    The problem is not with Firefox, but with the Java update. A solution can be found here:

  • How to give a message in the UI page if there is an error in AppImpl method

    How to give an error message in the jsf page if the AppImpl method fails ?
    Use case : I have a create form and a submit button which binds with a client interface method in Application Impl class. If the method fails due to some exception , how can I notify the users with proper error message ?

    As the previous reply (casting the result) is the best solution here (separating model and view logic) but sometimes we do a shortcut.
    may be it is not the best approach but it comes handy most of the time, this approach is also error-proven. we used it more than 2 years in large applications.
    add the following code whenever you want to add message in UI be aware that we have add it in a jar and add that library to the model projects
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null, fm);
    you just need to add jsf library to the model applications and replace msg with your message.
    regarding throw jboException, it seems good most of the time but sometimes when you are in middle of the transaction it somehow ruin the flow of the transactions.

  • How to Add error message for component from the baking bean

    I am in the situation, I need to add the h:message message component for each component at the time I am looking for an easy process something like I have to add the error message at the bean side, here I am using component binding approach but I am not able to add child for input Text components at the bean side, actually my final target is to add the message for each component when ever they get error and I have to change the style also.....
    So please anybody help me......

    Thanks for the response but one more thing right now I can't add message tag for each component so that I can add message from the baking bean as per ur solution I tried like this
    FacesMessage msg = new FacesMessage("Testing is going");
    FacesContext.getCurrentInstance().addMessage(tf_ADD1.getId(), msg);
    it is working but it is showing on the top of the for even no problem but I need to change the component color based on the message but I am not able to achieve that so how can I do that from backing bean now I can't add tags for each component.
    So please show me a way.

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • CcBPM, how to capture error message in the exception branch ?

    Can I capture error message in the exception branch ? how to do that ?
    because i want to raise the alert including with the error message ?

    Hello Fernand,
    I hope at the end of this you may get some knowledge on Alerts.
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step XI:Alerts step-by-step. (fundamental Basic)
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i CCMS Monitoring for XI. (CCMS monitoring for XI is enough later
    we configure to Adapter Engine).
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 Configuring scenario specific E-mail alerts in XI-CCMS: Part-1
    (This is Important)
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
    /people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies Solution Manager CEN and Alerting configuration (Advanced)
    Please reward points if it is useful...
    Satya Kumar

Maybe you are looking for

  • Upgrading from Elements 10 to Elements 12, and new computer, how do I hook up old albums?

    Our old computer stopped working, and i've had to move our photos from the old computer to the new one. The old computer had Elements 10, and the new has Elements 12. I have the old directory structure and catalog intact from a backup, and want to po

  • Problem with scripts

    Certain sites, most recently The Daily Show, will not load for me. I get a box that says: "Warning: unresponsive script A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if t

  • PDF File Thumbnails?

    Hi, Can't see PDF file thumbnails in Android File Explorers, it only shows the Adobe PDF symbol for all files. How can I see the Thumbnails as seen in Windows Explorer? I'm using a Galaxy Note 10.1. Thanks for help in advance.

  • Broadband speed half of estimated speed

    Hi, Moved into a property 6 months ago and signed up to BT's Phone, Broadband and Vision services.  The rated speedrange at the premises is 3 - 8Mb, with an estimated speed of 5.5.  Since the line was installed I have never achieved a speed over 3mb

  • Latest Macbook Air to 10/100Ether Net . Can I use thunderbolt to Gigabite Cable adaptor in this application?

    I have a new macbook air with a Thunderbolt connection. Can I use teh Thunderbolt to Gigabyte Cable adaptor with the STD 10/100 Ethernet cable and connection?