Error Messages to be displayed in Interactive Form

Hi All,
I have a requirement in SPPM form to check for the amount and based on that give some warning messages or error messages depending on the amount entered after checking the amount. I am successfully able to track the error when a certain event is triggerred (i.e. Dropdown of PayScale Group/Level) but I need to validate based on the value and give error messages. If someone has done this kind of error handling in Interactive Forms please tell me know.
Also the warning message does not seem to appear any idea why ?
Regards,
Samar.

Hi Samar,
you may check out the adobe designer help for scripting, displaying the messsages etc. store the value in a hidden fieldand do the scripting accordingly.
I didnt get what you meant by 'as this is a free text'.
Kindly update once you find the solution. Hope this helps.
Thanks and Regards,
Anto.
addition *****
FYI, this is what i get on a quick search at the adobe designer help. you may search in the help for all your scripting queries :
messageBox method
Displays a dialog box on the screen. It is available only for client applications.
FormCalc syntax
$host.messageBox( STRING param1 [, STRING param2 [, INTEGER param3 [, INTEGER param4 ] ] ] )
Parameters
param1
A valid string representing the message to display.
param2 (Optional)
A valid string representing the title to appear in the title bar of the dialog window.
param3 (Optional)
An integer representing the icon to display in the dialog box.
0 (Error) - This is the default.
1 (Warning)
2 (Question)
3 (Status)
param4 (Optional)
An integer representing the buttons to display.
0 (OK) - This is the default.
1 (OK, Cancel)
2 (Yes, No)
3 (Yes, No, Cancel)
Returns
A valid integer representing the value of the button pressed by the user:
1 (OK)
2 (Cancel)
3 (No)
4 (Yes)
Examples
JavaScript
// Display the number of child nodes under rootNode.
xfa.host.messageBox("Number of nodes under rootNode after appending clone: " + xfa.record.nodes.length);
Message was edited by:
        Antony John Isacc

Similar Messages

  • Error Message is not displayed on the pop screen for chain end chain

    Hi,
    I have called a screen in one of the standard program using enhancmenets,
    and i had put validations using chain and end chain, but the error message is not displayed immediately on the screen
    but it is displaying as log , i want the error should come on the same screen and it should not allow till the correct values are entered , how to handle it
    regards
    afzal

    Hi,
    have you tried option "LIKE" with instruction MESSAGE.
    Example:MESSAGE ID '38' TYPE 'S' NUMBER 000 DISPLAY LIKE 'E' WITH 'My Message'.
    And instead of using a MESSAGE instruction, why to not use a popup ?
    Like using one of these function modules (for instance):
    TMS_BCU_POPUP_TO_CONFIRM
    POPUP_TO_CONFIRM_STEP
    POPUP_TO_DECIDE
    FC_POPUP_ERR_WARN_MESSAGE
    etc...
    If that does not work, perhaps it's your ehancement which is not the good one or perhaps you have use a second one.
    Regards
    Mickael

  • Validation error message is not displayed for an attribute as an Input List Of Value

    Hi everyone,
    I use jdev 11.1.1.7.0
    In my application I've created an Entity Obj and a View Obj base Employees table.
    for the JobId attribute I've taken actions as listed below:
    1. in Employees EO I've created a validation for this attribute and in some cases an error message returns (the error message is "the salary is not high"):
         * Validation method for JobId.
        public boolean validateJobId(String jobid) {
            if (...) {
                return false;
            if (...) {
                return false;
            if (...) {
                return false;
            return true;
    2. in Employees VO  I've created a LOV for this attribute (the view accessor is JobsViewObj ) and I display the attribute as an Input Text with List Of Values.
    in jspx page I drag& drop this attribute as below:
              <af:inputListOfValues id="jobIdId"
                                    popupTitle="Search and Select: #{bindings.JobId.hints.label}"
                                    value="#{bindings.JobId.inputValue}"
                                    label="#{bindings.JobId.hints.label}"
                                    model="#{bindings.JobId.listOfValuesModel}"
                                    required="#{bindings.JobId.hints.mandatory}"
                                    columns="#{bindings.JobId.hints.displayWidth}"
                                    shortDesc="#{bindings.JobId.hints.tooltip}"
                                    autoSubmit="true">
                <f:validator binding="#{bindings.JobId.validator}"/>
              </af:inputListOfValues>
    I open the Popup and I select a row from the Popup list and then I click Ok. After that if the validation method(validateJobId) returns false, the error message("the salary is not high") must be show to the user. but the error message doesn't display. I don't understand why this happens.
    Can anybody guide me about this problem?
    Regards
    Habib

    yes, you're right, I've tested it in 12.1.3 and error message was displayed.
    it seems it's a bug(bad bug ) in both 11.1.1.7 and 12.1.2. and now what can I do? is there any way to display the the error message?
    Regards
    Habib

  • How to create an error message which doesn't allow submitting form ?

    Hi,
    is there a way to create an error message so that the user can't submit the form until the error is solved?
    On my form I am doing some validation checks when the user hits the button to submit the form via e-mail.
    So if something on the form isn't filleld out correctly the user gets an error message. But after the user has clicked ok on the error message he can still send the form.
    So I am searching for a way that he can only submit the form if he has resolved the problems.
    I tried with
    xfa.host.messageBox("material is not valid!" , "error", 0);
    but this only shows the error messagen and doesn't prevent the next step.
    Can I solve this with using a different type of error message, or user different parameters at the messageBox?
    Thanks for your help.
    Martin

    hi Martin Beyer
    try like this.
    in submit button CLICK event u have to right validation for fields which u want to check.
    example :  here iam validating two varibles.
    var sub=0;
    if(sub==0)
    if(fields2.item(i).rawValue == null && fields.item(i).rawValue != null)
         sub++;
         xfa.host.messageBox("Status of Achievement is Mandatory");
         xfa.host.setFocus(fields2.item(i));
         break;
    if(sub==0)
              var Repe = xfa.host.messageBox("Do you want to Submit now???", "Warning", 2, 2);
              if (Repe == 4)
                   sub=0;
              else
                   sub++;                              
    hope it will help you.

  • Error message need to display on other screen

    Hi All,
    I have implemented the enhancement implimentation for one perticular transaction code and i am valdating the one field in the one sub screen and i am displaying the error message. but its displaying in that subcreen. 
    But my requirment is i need to display that message in another sub screen.
    can any body tell me how it is possible to do the validations on one screen and displaying the error message in another screen.
    Thanks.

    HI,
    Is that subscreen is under tabstrip.....then you can use the sy-ucomm ....
    Thanks,
    Shailaja Ainala.

  • During an update of the applications on the BlackBerry smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatis

    I have reset both my torch and playbook back to original only thing that I kept was my contact. And still problems I am a few min away from leave my loved blackberry and going android !! Or heaven help us Phone
    Issues 1) playbook wont connect to desktop manager anymore 
    2) Play book has 2 calendar icons with two different settings on them ??? I have one that is currently working with my yahoo email and calendar account. 
    3) my Phone when connected to desk top software shows the calendar as read only
    4) Unable to update my phone says During an update of the applications on the BlackBerry® smartphone an error message may be displayed "BlackBerry Desktop Software failed to validate your BlackBerry device update - Aborting install due to validation failure. Some packages contained unsatisfactory dependencies." 
    I just want my email and Calendars to work I am tried of spending nights trying to get these deices working !!! 
    someone please help me. !! 
    I know you are going to ask I have updated everything last time and it is all as update as it can get. 
    As for now as I wait I am going to wipe my phone again and just set everything up again !! If I have to even my contacts AHHHH Help I am starting to think crazy thoughts 

    Did you try to eboot the your PC or laptop where your device is connected ?
    I experienced this with my windows laptop, after a failed to do an update, I restart the laptop and my Torch, then retried, and it's worked

  • LSO_CHECK_BOOKING custom error messages are not displayed

    Hi,
    Good day! I am currently experiencing some problems displaying custom error messages from BADI LSO_CHECK_BOOKING. I have implemented this Badi and is appending error messages in CT_MESSAGE_TAB however when the message is displayed in portal, the custom message is not displayed. Instead, SAP displays a predefined error "Error When Creating Prebooking with the data entered..."
    Is there a way for me to display my custom error message instead of the predefined SAP message?
    Thanks a lot.
    Cheers,
    James

    Hi James,
    You have not mentioned, which portal you are using. Please see below, that there are differences in the learning and the admin portal:
    Learning Portal:
    The framework of the existing design of the Learning Portal does not
    allow customer specific error messages to be displayed in the portal.
    Only a generic message will be displayed when prebooking in the learning
    portal if the BADI LSO_CHECK_BOOKING returns an error. The design of the
    application does not expect to raise an exception from the BADI. If the
    BADI processing is assumed to be unsuccessful, the messages filled by
    the BADI will be ignored and a general error message will be displayed
    in the portal.
    So this is basically a design limitation.
    Administrator Portal:
    Have you tried e.g. the following notes?
    SAP Note 1806593 Admin Portal: Message is not displayed while prebooking
    SAP Note 1575238 LSO: BADI LSO_CHECK_BOOKING does not show warning messages
    Regards,
    Agnes

  • Stop Transaction Error Message Doesn't Display

    Hi,
    I am using a custom message, like "Results Not Yet Confirmed", in the Stop Transaction action. But this error message is not displaying when I run the JavaScript code. I used the expression "document.<AppletName>.getValue(1,1)".
    Any clues?
    Regards,
    Chanti.

    Hi Chanti,
    What display type are you using?  An iGrid?  If so, try
    document.appletName.getErrorMessage()
    Otherwise, please provide more details - the display type and which MII version you are using.
    Kind Regards,
    Diana Hoppe

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • Error message is not displayed

    Hi all,
    I am working on Tomcat server and JSP. i have created a web page using JSP and html. when i click on submit button, it should display the next page. if any error is there, it should display the error on the webpage. But, it is not displaying any error message.
    It just says :
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Open the localhost:8080 home page, and then look for links to the information you want.
    Click the Refresh button, or try again later.
    Click Search to look for information on the Internet.
    You can also see a list of related sites.
    HTTP 500 - Internal server error
    Internet Explorer
    i tried using one undeclared variable and try to navigate to next page, even then there was no error message like "variable not found".......it just gives the error message as above............
    I am not able to makeout where i am going wrong, what is the problem.....
    I am finding it very difficult to debug.
    please help !!
    regards
    ashvini

    .....what is jsp url ?
    orginal post of yours...
    when i click on submit button........
    which means that in your first page, you have a form with an action attribute that points to a jsp - that's what i meant by submit jsp url.
    and where can i find <tomcat_root>/log file ???Go to your TOMCAT installation directory, there would be a logs folder under that which in turn would contain your log files.
    ram.

  • Error Message when trying to update a form

    Hello,
    I receive the following error message when I try to update a form:
    Error: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
    The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
    Insufficient privileges (WWV-12600)
    When I click on the Update button on my form, I call a dynamic page which calls a procedure to update the database and display a confirmation message to the user.
    The parameter I am having a problem with is the v_ins_1.
    This links does not work: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=SS-002+Dollar+Cost+Averaging+%28PMID+%3D+40215%29&v_ins_2=&v_in s_3=&v_ins_4=&v_ins_5=&v_ins_6=&v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid =2543&_fnavbarid=1&_fnavbarsiteid=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    This link works: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=*Custom+Inventory&v_ins_2=&v_ins_3=&v_ins_4=&v_ins_5=&v_ins_6=& v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid=2543&_fnavbarid=1&_fnavbarsitei d=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    Any suggestions?

    Also got a message "Acrobat failed to set up a workflow folder in the specified shared folder or hosted service"..?

  • Error when pressing Submit button in Interactive Form

    Hi
    I have a WD/Java component with an embedded interactive form. The form has two buttons, a SubmitToSAP and a CheckField button. Everything was tested on the development system and worked fine. The component was then deployed to the QA system and has also been tested successfully there.
    Since a few days the WD does neither react on both of the buttons. Instead an error message appears indicating the following text:
        Character string "0" does not exist in the set of allowed values
    What seems strange is the fact that this issue started on the development system after a colleage had modified his WD/Java component (which does not contain an adobe form). After deploying this component on the QA system later we also got the issue there.
    Does anybody have a suggestion how this issue could be fixed? Could this be caused by the SDM? Thanks for responding.
    René Morel

    Hi rene,
                Can u send the complete stack trace?? It seems u r trying to get some values from value set & that values doesn't exist in the set.After checking the stack trace only we can find out main problem.
    regards
    Sumit

  • One error message by submit button on long form

    I've done this before, but I don't remember what I did. I
    have a very long form with some spry validation. I want to make it
    so when the user goes to click submit at the bottom of the form,
    they get ONE error message for all text field validation failures.
    I do not want to display an additional error message for EVERY
    field I have. I just want to display one message saying something
    like "You are missing fields" and they can scroll up to find out
    which ones. Is this possible?

    @Arnout
    Sorry I pasted the wrong url. I meant the example
    http://labs.adobe.com/technologies/spry/samples/validationwidgets/TextfieldValidationSampl e.html
    at the bottom of the page.It should be changed a litte bit to this:
    <form id="form9" name="form9" method="get"
    action="TextfieldValidationSample.html">
    <table border="0">
    <tr>
    <td>Integer:</td>
    <td style="width: 600px;">
    <span id="int_min_max2">
    <input type="text" name="textfield9" id="textfield9"
    />(Between 100 and 999)
    </span>
    </td>
    </tr>
    <tr>
    <td>Errors:</td>
    <td style="width: 600px;">
    <span id="additionalErrorZone">
    <span class="textfieldRequiredMsg">You have an
    error!</span>
    <span class="textfieldInvalidFormatMsg">You have an
    error!</span>
    <span class="textfieldMinValueMsg">You have an
    error!</span>
    <span class="textfieldMaxValueMsg">You have an
    error!</span>
    </span>
    </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <input type="submit" name="submit9" id="submit9"
    value="Submit" />
    </td>
    </tr>
    </table>
    </form>
    <script type="text/javascript">
    <!--
    var InvalidZones = new
    Spry.Widget.ValidationTextField("int_min_max2", "integer",
    {minValue:100, maxValue:999, useCharacterMasking:false,
    validateOn:["blur", "change"], additionalError:
    'additionalErrorZone'});
    //-->
    </script>

  • Crm ic error message cant be displayed

    hi guys , i have a problem y want to display an error message in my interaction center error area and i put this code portion
    IF IS_ORDERADM_H_WRK-PROCESS_TYPE EQ 'ZIOR'.
    SELECT SINGLE OBJECT_ID INTO NUMOPERACION FROM CRMD_ORDERADM_H
    WHERE PROCESS_TYPE EQ 'ZIOR' and
    DESCRIPTION_UC EQ IS_ORDERADM_H_WRK-DESCRIPTION.
    IF SY-SUBRC eq 0.
    sy-MSGV1 = IS_ORDERADM_H_WRK-DESCRIPTION.
    sy-MSGV2 = NUMOPERACION.
    raise ERROR_OCCURRED.
    ENDIF.
    ENDIF.
    if i delete the IF IS_ORDERADM_H_WRK-PROCESS_TYPE EQ 'ZIOR'. condition my message error is displayed but
    when i put this condition my message error is not displayed even though the IS_ORDERADM_H_WRK-PROCESS_TYPE is equal to ZIOR
    what should i do?

    Hello Alejandro,
    What do you see in debug? Do you see the application entering in that piece of code below the IF statement and entering in the RAISE statement?
    This because the only reason that I can find to explain this behaviour is that the IF validation fails. Maybe IS_ORDERADM_H_WRK-PROCESS_TYPE points to another process type or it is empty.
    Can you confirm?
    Kind regards,
    Bruno

  • Error message does't show at modal form

    Hi,
    Can anybody tell me when and where the error should be displayed when the form is a modal form.
    Please help me!
    Kind regards
    Edward de Ridder

    I replay to my own message because I did not find the problem but I have a workaround that maybe interest some of you.
    Copy the procedure DisplayServerQMSError from an early version of qmslib to qmslib65 qms$errors. Change than the call qms$trans_errors.Display_messages in the procedure unhandled_exception to DisplayServerQMSError and it works fine by me.
    Of course there are nicer ways to do this, please tell me if you know one.

Maybe you are looking for

  • Install oracle ilearning in the apex 4.1 oracle XE 10g

    hi i have a question can install in apex 4.1 oracle ilearning ? the database it i have installed in the oracle XE 10g and in linux ubuntu 11.10 Screen Edited by: 935459 on 20-05-2012 10:51 AM

  • Extensions is Installing under catogory called other and not Dreamweaver

    Hi I currently using Dreamweaver cc and extension manager cc .I installed an extension called EasyRotator Slider Builder but extension mager put the extension under a product called other and I cant see the extension in dreamweaver. Can you please le

  • Insertion Using Execute Immediate

    How to use Execute Immedaite in Inserting while with dynamic table name. Is that possible or we can use only the dynamic values. Execute Immediate "Insert Into " || DYNAMIC TABLE NAME || "Values" Using (Value_1, Value 2, Value3).

  • Can I see wmv. Videos in my ipad

    Hi I have tried to download some videos that are wmv. This are videos from a camara that were edited in a window media application. I tried using boxdrop, downloading them by email and nothing works. Is it anyway to watch these videos? Thanks

  • Which colour space for different displays

    Hi Everyone, This might be a long winded question so please bear with me. I have a pc with a wide gammut monitor which displays 94% adobe rgb and 100% srgb. I have just purchased a surface pro 3 which I've just calibrated and it displays 74% adobe rg