Headstart error message... getting user response

Hi,
I'm trying to get an error message to come up in headstart.
I've so far managed to get normal error messages to popup and inform the user of an error. This is fine. My problem now is, I need to ask the user a 'Yes' / 'No' question (or 'OK' / 'Cancel') and use their response.
I've tried:
if qms$errors.show_message('Question here?','Q') then
   --code if Yes/OK
else
   --code if No/Cancel
end if;but this doesn't seem to work. It brings up an error message, but only with the 'OK' button and nothing else!
Any help greatly appreciated.
Thanks.

Try using:
Create an entry in the QMS_MESSAGE_PROPERTIES (e.g. with code = 'ABC-00001') with SEVERITY = 'Q' and an entry in QMS_MESSAGE_TEXT
And then use
qms$errors.show_message( p_mesg => 'ABC-0001' )
The second parameter of qms$errors.show_message is param0 and that has nothing do to with "Q". Maybe you can use the parameter p_errtp => 'Q', but I remember vaguely that that is not working...
HTH
Roel

Similar Messages

  • In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message "C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on th

    In my computer some of the iTunes files got deleted accidently and I couldn't reinstall it . Evrytime I try torun setup file  I am getting this error message"C:\Users\Rif\AppData\Local\Apple\Apple Software Update\" ,appreciate if anyone can help me on this pls?

    Even after deleting all files and folders from hard drive i am still getting this error!!

  • When checking email I now get an error message saying User name or password is incorrect...

    When checking email I now get an error message saying User name or password is incorrect...  Went to AT&T store and they didn't have a clue how to fix it...
    I'm sure this question has been asked, but can someone point me in the right direction? 

    I am also having the same problem and I did go on my computer and change the password and my iPad still gives error message. Yes wish someone could help.

  • Can we display custom error message in user decision step screen.

    Hi,
    My requirement is to display error message when approver selects reject button in user decision step.
    based on some condition i need to display error message in user decision screen when approver tries to
    reject .
    Please help
    Thanks,
    Phani

    Hi ibrahim,
    Thanks for your Replay.
    steps
    1. cretae global class with interface  IF_SWF_IFS_WORKITEM_EXIT.
    2. cretae Event with importing parameter.
    where i need to call EVENT_RAISED method ,do inned to call that method in
    IF_SWF_IFS_WORKITEM_EXIT ?
    how  SWRCO_EVENT_AFTER_EXECUTION value is passed to method EVENT_RAISED ?
    Thanks,
    phani

  • My ipad receives email with the hotel wifi but will not send.  The error message is "user name or password for ........is incorrect" but both are correct and unchanged.  Restarting iPad didnt help.

    My iPad receives email on the hotel wifi but will not send.  The error message reads "user name or password for smpt......is incorrect" but both are correct and unchanged.  Restarting iPad did not help.

    I did try this too, but when I access my webmail on the iPad, the iPad doesn't allow me to type my message.  I am able to enter in the "to" address and the "subject" line, but then the keyboard will not come up for me to type my message.  Is there some trick to this?  Very frustrating!

  • TS3899 Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect

    Having trouble accessing my email account thru the mail app, after entering the account information in the settings page, hotmail returns with the error message " The user name or password for Hotmail is incorrect". Help

    Hotmail is having problems:
    http://bostinno.streetwise.co/2013/08/15/hotmail-outage-hotmail-is-down-for-user s-still-photos/
    http://www.engadget.com/2013/08/14/outlook-outage/
    http://www.infoworld.com/d/applications/microsofts-skydrive-outlookcom-are-down- some-users-224940
    http://mashable.com/2013/08/14/outlook-down/
    http://techcrunch.com/2013/08/14/microsoft-acknowledges-outlook-com-messenger-sk ydrive-outages/

  • Error message in soap response

    Hi,
    I have created a SOAP message using SAAJ. I want to add error messages in the response. Any idea how to do this?
    Thanks!

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • Error Message "waiting for response from user"

    When some people invite me to chat on Ichat, they get an error message saying "waiting for response from user."  On my end, I never get the invite.  Other people are able to invite me without any problem.  How do I fix this?  Is the problem on my end? 
    Thank you!

    Hi,
    I can see now where the issue is.
    A Jabber Buddy list can only accept Jabber Buddies.
    A Buddy List that Logs into AIM such as your @Me.com name can only add Valid AIM Names to it as Buddies.
    The main problem is that both Jabber IDs and AIM names can have the @symbol on them and look like email addresses.
    Example Jabber IDs
    Example "AIM " Names
    [email protected]
    ralphjonhsr  (No @)
    [email protected]
    [email protected]  (Apple ID type)
    [email protected]
    [email protected] (Apple ID type)
    any Facebook name
    [email protected] (Email registered with AIM)
    So your Jabber Buddy List will find that there is No (@)me.com Jabber server and say the message cannot be delivered.
    The AIM (@Me.com) Buddy never gets the Request for Authorisation for the same reason and the auto response of adding An ID/Name to Send a Message to starts iChat wanting that person to Accept or Decline being a Buddy- which they cannot do - so you get the name with the "Waiting for..." message.
    Either everyone gets a Jabber ID or everyone gets a Valid AIM Name.
    8:39 PM      Friday; October 28, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I cant open pdf files...i will click on the file to be downloaded, then when i try to open it i get an error message "c:\Users\Owner\Downloads\"the documents name".pdf Application not found

    for example...i will go to a restaurant website that has a menu. to view the menu i first have to click on the downloadable menu pdf file...after i click on it, a window appears showing i have downloaded the file...but, when i go to open the pdf, i get that error message...completely unable to open pdf files that ive downloaded

    See:
    http://www.java.com/en/download/help/quickstarter.xml - What is Java Quick Starter (JQS)? What is the benefit of running JQS? - 6.0

  • Getting error message for "user created how tos"  CS3

    I tried to create some new How Tos in CS3 and recieved the following error message when I try to open it:
    "The Adobe Help application could not load a URL because the specified file could not be found. You may need to re-install the application and the help component."
    If I access one of the ones created with CS2 it opens (I dragged them over from CS2, I have since removed CS2 from this computer, it's still on my laptop) I haven't tried creating them and importing them to this computer).
    I'm using Microsoft Office Word 2003 to save the How Tos as html files, and notepad to edit Add_001.howto file.
    Since I gotten this error, I reloaded CS3 Design Standard, it didn't fix the problem. Also I have ensured that the Add_001.howto file points to the right location (C:\Program Files\Adobe\Adobe Photoshop CS3\Help\additional how to content)and is in the right format:
    "John Shaws CS3" "47. A GLOSSARY OF IMAGING TERMS" 47.html (works).
    "Noise Ninja" "The Thirty Second Guide to Noise Ninja" Noise Ninja 001.html (doesn't work)
    The only thing new on the computer is a brand spanking new EVGA NVidia Geforce 9500GT PCI express(512 mb ddr2 dual DVI output) with the latest drivers. It replaced NVidia GeForce 6600GS and Matrox Millenium video cards (the Matrox). The new video card does not include some program that allows it to run MS-DOS programs, but I don't feel that is causing the problem.
    System Info:
    Photoshop CS3 10.0.1
    Computer: Gateway DX310X with Gateway FPD1975W and FPD1730 monitors
    Windows XP Media Center Edition, Service Pack 3
    Intel Pentium D proccessor
    1GB internal memory
    168GB of free space on hard drive.
    I hope I have given you suffiecient information to give me some possible solutions.
    Thanks
    Rick

    Mylenium
    Thanks for the assist.
    It isn't a Windows Indexing Service problem.
    It is an operator problem. As you pointed out the long name and spacing are the issue here.
    I changed the the Add_001.howto file from:
    "Noise Ninja" "The Thirty Second Guide to Noise Ninja" Noise Ninja 001.html
    to:
    "Noise Ninja" "The Thirty Second Guide to Noise Ninja" NN001.html
    I changed the file in the Additional How To Content folder, to match.
    And it works now.
    Now that I know what was wrong with my file names, I'll be able to get the various plugin help files/documents into Photoshop so I won't have to get out of it to get help on them.
    Thanks
    Rick

  • Custom error message in user exit is giving Short dump

    Hi All,
    We have a scenario where in if any user try to create/Change/Delete particular types of contract in SAP system we have to issue error message
    saying ZIN/ZIR contract creation/Change/Deletion is blocked in SAP. This has to be done from the web application. So we are putting below code
    in user exit MV45AFZZ in the form USEREXIT_SAVE_DOCUMENT_PREPARE.
    CONSTANTS: lc_vbcpic01 TYPE sy-uname VALUE u2018VBCPIC01u2019, u201CWeb application user ID
             lc_zin           TYPE vbak-auart VALUE u2018ZINu2019,
                         lc_zir            TYPE vbak-auart VALUE u2018ZIRu2019,
                         lc_text(32)    TYPE c VALUE u2018Check long text for more detailsu2019.
    DATA: l_uname TYPE sy-uname.
    CLEAR: l_uname.
    MOVE sy-uname TO l_uname.
    *If user ID is not the Web application ID then block the creation/Change/Deletion
    IF   l_uname NE lc_vbcpic01
    AND ( vbak-auart EQ lc_zin
    OR    vbak-auart EQ lc_zir ).
    MESSAGE e830(zv) WITH lc_text.
    ENDIF.
    This code is working fine while creating/Changing the contract i.e. Giving us error message so that user wonu2019t be able to create/change the contract.
    But when we delete the contract from VA42, Control is coming to this message statement and is giving Short dump. Below is the error analysis of the dump.
    Error Analysis:
    During "Exit Command" processing, the program tried to send a " " message.
    This is not allowed at this point in processing.
    The program had to be terminated.
    Screen name.............. "SAPMV45A"
    Screen number............ 4001
    If any one has come across such scenario/any work around for this problem please let me know your inputs. Your inputs are highly appreciated.
    I am working on 4.6C version of SAP.
    Note: When i issue information/Warning message contract is getting deleted after displaying the message.
    Thanks,
    Vinod.

    I exactly replicated the same in DELETE_DOCUMENT also
    I am getting the Dump. I tried with exit also , but it continued and deleted. To avoid deletion we have to use Leave program or LEAVE TO CURRENT TRANSACTION.
    Delete Function is Defined as EXIT command. so it is not possible to give error message. To convice you i just copied demo program and raised the error message.
    it is also giving the dump.
    copy the demo program DEMO_DYNPRO_AT_EXIT_COMMAND and make this change , information to error .
    MODULE cancel INPUT.
      MESSAGE e888(sabapdocu) WITH text-001 ok_code input1 input2.
      IF ok_code = 'CANCEL'.
        CLEAR ok_code.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.
    and see...

  • Itunes will not open - no error message - flashes user agreement and closes

    I just updated Itunes to 10.5.1 I am running MacOs 10.6.8 on a macbook pro.  when I open Itunes it flashes the user agreement and then closes. no error message.  please, for the love of all that is holy, help me

    Dear Julian,
    I have had this problem for the past year, I have tried everything except the obvious (and correct) solution:
    immediately after you click itunes (from the dock) start rapidly pushing the enter button.  when the licence agreement flashes it already has "okay" highlighted so if you press enter at the right time it will continue opening Itunes - you may have to try it a few times to get it right, but it works.  isnt it wonderful that someone on this forum responded to your inquiry? thanks for posting!

  • Error message from user exit - current screen becomes grayed(non-editable)

    I am working on a Sales Order (VA01/VA02) user exit(USEREXIT_SAVE_DOCUMENT_PREPARE) in MV45AFZZ program. I am validating certain values entered by user in this exit. Based on a condition, I issue a error message e.g. "message e001(ZV) with .....". I expect the processing to interrupt and the system control  returns to the current screen. When there is an error, error message shows up on the status bar, but the current screen is completely grayed out(non-editable), not able to modify the incorrect entries. I keep hitting ENTER but no change to the grayed screen. Is there anything wrong in the way I issue error message?
    I am on ECC6.
    Thanks.

    could you please help me if possible in my senario :-
    I am validating a field(serial number while creating delivery) in standard exit ZXQSMU04 and written a code to display an error message. The functionality is working correctly on validation and displaying the error message. But once the error is getting trigger the serial number field is becoming in gray mode i.e non editable.
    I tried a lot to overcome this issue but not getting success could anyone help me to make the field editable while triggering the error message.
    Please note : Its an exit and not having any message field in export or return table. Also tried with warning and information message.
    Thanks in advance.
    Regards,
    Gautam Kumar

  • How to access error messages from gateway response in browser?

    hi,
    i get 400 bad request as response with error messages and transaction id .
    i need those messages in my alert box.
    how to do it?
    thanks and regards,
    kartik

    Hi,
    Now just use below code.
      oModel.read( sRead, null, null, true, function(oData, oResponse){
                          alert("Read successful: " + JSON.stringify(oData));
    },function(oError){
                          alert("Read failed");
                       var oXmlData = oError.response.body;
                       var oXMLModel = new sap.ui.model.xml.XMLModel();
                       oXMLModel.setXML(oXmlData);                              
                        console.log(oXMLModel.getProperty("/message")); 
                        console.log(oXMLModel.getProperty("/code")); 
                        console.log(oError);
    with above code, you will be able to read the response from body. also no need to add messages to header that I mentioned in earlier reply.
    I believe with above code, you will be able to read exact error messages.
    Regards,
    Chandra

  • Same error message getting added multiple times on clicking of row.

    I have an application table where I can add an employee. At EO level, I have kept the unique key validator so that user cannot add the same employee again in the table.
    So, now if user try to add the same employee which is already added in the table, then when I click on some other row (i.e on row change), an error message comes (which we have set at the EO level).
    Now if you keep on clicking this row, the same error messages will keep on adding in the error box which is displayed. So, its like if you click the same row 5 times, the same error message will be shown 5 times in the error dialog box.
    But the moment you click on some other row, it works fine i.e it shows you the error message only once which is what I want. So, is there any way to solve this issue?

    my jdev version is 11.1.1.6.0
    And sorry but I didnt get your 2nd question regarding af:message tag! The message is coming from some bundle and we have set the message at EO level.

Maybe you are looking for

  • TS4644 How do i permanently delete my credit card info from my iPhone?

    I saved my debit card information on my iPhone 5s iOs 7 device a while back so i could purchase an app and some music. Now my bank account that is connected to that debit card is in the negative at the moment. I have 12 apps that have been needing to

  • Problem opening a particular PDF document in ALL browsers

    I have a problem a PDF document in all browsers. I have a mail order account online and I am trying to open one of my statements by clicking on the PDF logo. A new window opens and is either blank or tells me it cannot load (depending which browser u

  • I need a form that allows the creation of multiple records

    I have a form that is a daily timesheet. It's essentially a table with repeating rows, each row showing a record of time worked. Is this possible to produce in Form Central? I can't find any options relating to adding records.

  • BAPI TO CHANGE FUNCTION LOCATION WITH LAM

    Hi Experts, I am working on a T code 'IL02' to change classification and LAM (Linear data tab ) I am not getting proper BAPI please hep me . I think uploading classification I can use BAPI_OBJCL_CREATE but for LAM ( linear data tab ) I am not getting

  • NAT port is closed , cannot open it up

    I am having trouble with the airport extreme base station port mapping feature. I must be putting in the wrong IP address numers. Could someone steer me in the right direction ?!