How to show warning message in am

How to show warning message in am but not Stop , it still can go ahead.
Thank you very much.

jamras ,
If i got you correct you wanna show user a list fo warnings after that have occured in some method in AM, and show them to user collectively, and the processing of the page should not stop in the above. What you need to do for it, is instead of throwing warning message in AM, collect all warnings in a arraylist or vector. when you navigate back to CO, iterate through this arraylist/vector and for each use pagecontext.putDialogmessage(oaexception).In this way you will be able to show all warning messages on page and your processing will not stop!
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to show warning message in two Lines.

    Hi,
    Can some one please let me know how to show a warning message in two lines. I have created a Message in EBS in two lines but it still displays on the page in a single line.

    use bundled exception.
    ArryList peerExceptions = new ArrayList();
    peerExceptions.add(new OAException(....));
    peerExceptions.add(new OAException(....));
    OAException.raiseBundledOAException(exceptions);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • FB70 why does system show warning message "enter true account assignment" ?

    FB70 why does system show warning message "enter a true account assignment object with revenues" ?
    i enter profit center but i still get warning message "enter a true account assignment object with revenues" 
    what should i do ?
    my  system have CO-PA .

    Dear,
    Please see that the profit center which you are entering in FB70 must have segment.
    still it gives warning message do worry enter it will post the transaction.
    bsrao

  • How to show error message using java.awt?

    How to show error message using java.awt?
    Which is the class corresponding to the JOptionPane?
    Or I need to use Frame ?

    No, JOptionPane is swing!
    You would have to create your own frame, put your message in it, then show it.

  • Don't know how to repair "Warning" message

    Hi all,
    I opened a file using Adobe Acrobat 8.2, which came on a new Dell laptop I purchased just before the holidays. Just as I started to move the side cursor to advance the page a warning box appeared that said:
    Warning: A serious error has been detected and Adobe Acrobat 8 Standard cannot continue. Please reinstall the application and try again." When I click OK it closes the whole pdf file.
    I can't reinstall anything as I have no disk - the laptop didn't come with anything - all programs were preloaded. What do I do and how can I reinstall Adobe Acrobat?
    I've run all my cleaners, debuggers, defraggers, malware, etc and everything is clear. I really need help as I can't open school documents without this! Help! I truly appreciate it!

    Thank you, Anubha.To tell you the truth, I wasn't thrilled with the prospect of paying around $500 to get the newest version. Something interesting happened this afternoon, though, when I opened my laptop. As soon as it connected to the internet, a request for Adobe update popped up, and I watched in great surprise as it automatically "removed" files and then "re-installed" files.
    Bottom line, everything is working again. I don't know whether there is some feature that detects when a repair is needed, but a repair it did!Thank you again and thank you to the Adobe gods!Art
          From: Anubha Goel <[email protected]>
    To: Art627 <[email protected]>
    Sent: Wednesday, March 25, 2015 10:13 PM
    Subject: You have been mentioned by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community
    |
    You have been mentioned
    by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community - View Anubha Goel's reference to you  Hi Art627, I am sorry but Acrobat 8 is a very old version and Adobe no more provides support for this product.You might find download link for Acrobat 8 pro on Adobe's Other downloads link, but not for Acrobat 8 standard.Please let me know what is your OS version.I would suggest you to install and use the latest version of Acrobat i.e. 11.0.10 which is compatible with your OS as well as offers enhanced features and functions. Choose to download a 30-day free Adobe Acrobat trial version from here:Download Adobe Acrobat free trial | Acrobat XI Professional Now, see how it goes. Regards,Anubha 
    Participate in the conversation by replying to this email
    To stop receiving these messages whenever you are mentioned, go to your preferences and disable notifications for direct social actions. |

  • How to show the message BAPI call delievers

    Hi, Experts,
    I have called some back end FM via BAPI. Also the message that FM generates will be sent back to WD context. How can I show them on the top of the screen.
    Best regards,
    Fan

    Hi Fan,
    First of all,You need to use UI component message area that you can place on the top of the VIEW like any other webDynpro UI Element in design mode. Next you need to create instance of the message manager.
    You have to set the value of parameter message_text, the message that you recieve from the BAPI.
       get message manager
       DATA: l_current_controller TYPE REF TO if_wd_controller,
             l_message_manager    TYPE REF TO if_wd_message_manager.
       l_current_controller ?= wd_this->wd_get_api( ).
       CALL METHOD l_current_controller->get_message_manager
         RECEIVING
           message_manager = l_message_manager
      LOOP AT lt_return INTO ls_return .
          IF ls_return-type = 'E'.
      report error message
            CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = ls_return-message.
          ELSEIF ls_return-type = 'S'.
      report success message
            CALL METHOD lo_message_manager->report_success
              EXPORTING
                message_text = ls_return-message.
          ELSEIF ls_return-type = 'W'.
      report warning message
            CALL METHOD lo_message_manager->report_warning
              EXPORTING
                message_text = ls_return-message.
          ENDIF.
          CLEAR ls_return.
        ENDLOOP.
    Regards
    Manoj Kumar

  • Show Warning Message near the field

    Hi all,
    I want to show my warning message near the field which is required instead of right at the bottom.
    I use the following onSubmit() Method when the user hits the submit button to check for required fields:-
    if (this.testfield == null) {
    this.setBackgroundColor(componentId : "testfield", color : "Red");
    this.focus(componentId : "testfield");
    this.setVisible(componentId : "testfield", visible : true, collapsed : false);
    this.showWarning(warning : "Testfield is Required");
    else {
    this.submit(text : "submit");
    This gives me the error message right at the bottom of the presentation as opposed below the field.
    How can I get this message to appear right below the field which is required?
    Any idea?
    I tried this.setText()
    But it does not work.

    The "showWarning" and "showError" methods used to be more useful when we had the option in earlier releases (5.7) to place them at either the top or the bottom of the presentation.
    I now never use either one of them.
    This is not what you want to hear and know you've thought of this, but what I do is add text attributes (errorMessage1, errorMessage2,...) to the BPM object and then place the text fields on the presentation as read-only, bold red foreground color text fields directly above the field causing the error. In my presentation's initialization method, I always use the setVisible method to false and collapse them. In your submit logic, you'd set the value of the error message attribute and set the error message field to be visible and not collapsed. You need to add an on change event for the field causing the error that will make the error field not visible and collapsed. Similarly, if you have a Save button, you need to make all the error fields not visible and collapsed.
    Dan

  • How to Capture warning message in SHDB recording

    Hi SDN,
    I am getting problem in Recording FB03 through SHDB.
    when i am clicking on save as complete button i am getting a warning message as duplicate entry.
    when click on enter button the actuval object got saved bu from recording it is not captured.
    how we can continue with this

    Hi
    Sorry
    i know that
    i don't want to display messages.
    when i am recording a Transaction code.
    i am getting a warning message as check for duplicates.
    when click on enter button that warning message is got disappiared but that enter click is not recorded in FB03 recording.
    when i process that recording it is stopping that transaction code at that warning message in BDC.
    please suggest

  • How to show a message in a query BI7?

    Hi everybody,
    In BI7, I need to show an error message that the selection screen of a query to after checking a variable.
    I tried the following in the code of customer exit for variables (step 3):
    1. Put "MESSAGE E899(bd) WITH text-008" but after show me the message, interrumped the conexion with BEx.
    2. Put the functions:
           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
              EXPORTING
                i_class  = 'R9'
                i_type   = 'I'
                i_number = '108'
                i_msgv1  = l_msgv1
              EXCEPTIONS
                dummy    = 1
                OTHERS   = 2.
            CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
            CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
            sy-subrc = 4.
            raise no_replacement.
       But after the message appears, it shows another warning message "Variables contain invalid values" and then doesn't do anything (i.e. BI hangs up and is unresponsive).
    The idea is that after the error message appears and is closed, the system returns to the selection screen for give the possibility to enter a correct value.
    Thanks in advance.
    Marcela

    .

  • How to show a message in a form 'PL/SQL Button Event Handler'

    We need validate the sal of an employee, and if it is bigger the value musts
    not be inserted.
    We trying a code like the one shown in the note 134312.1 'HOW TO PASS A
    PARAMETER FROM A PORTAL FORM TO A STORED PROCEDURE' and it works in the insert event of the insert button (using 'PL/SQL Button Event Handler') and it works, but we need to show a message that says the data wasn't inserted. How can we do this?
    The code we used is:
    declare
    v_deptno scott.emp.deptno%type;
    v_empno scott.emp.empno%type;
    v_sal scott.emp.sal%type;
    mySal scott.emp.sal%type;
    v_string varchar2(256);
    blk varchar2(10):='DEFAULT';
    begin
    select sal into mySal from scott.emp where empno=7369;
    v_deptno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_DEPTNO');
    v_empno:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_EMPNO');
    v_sal:=p_session.get_value_as_number(p_block_name=>blk,
    p_attribute_name=>'A_SAL');
    v_string:='You just inserted empno: '||to_char(v_empno) ||'to deptno ->
    '||to_char(v_deptno);
    if mySal < v_sal then
    doInsert;
    else
    -- We want to display a message here, when mySal > v_sal
    end if;
    end;
    ----------------------------------

    I did something similar but wasn't using a stored procedure. Couldn't you set a flag variable once you know you're not doing the insert and in the "before displaying the form" section put an IF to check if your flag was set, and if so do an HTP.Print('You are overpaid buddy!');
    Then just reset your flag.

  • How to show error message on page #NOTIFICATION_MESSAGE#?

    Hi,
    Is it possible to show error message on a page, where apex substitutes #NOTIFICATION_MESSAGE# at page template, with a javascript call? My requirement is to report error messages which i get from ondemand process, these on-demand processes were called from my javascript code. If any error message is returned by on-demand process, as of now, I'm reporting the error message to user by javascript based alert dialog box, but it would much better if i could keep the error message reporting by my application in a consistent manner. So any suggestion please?
    -Krishna

    Hi Roel,
    Thanks, jumping in for help.
    I tried your given code, i found that the page html source doesnt has any element with a name '#messages'. As per my understanding, its the apex engine which checks for any error, if found it shows it by adding an element id '#messages', but here on my requirement its not the apex engine which has detected the error, its my functional logic which wants to report a message. On a normal and error free page condition, we usually dont find '#message' element. I'm curious on how apex inbuilt engine is reporting an error to a page?

  • How to convert Warning message Appl.Area V1 mess.No 428 to Error Message

    Hi,
    Can any one please tell me how to make a warning message to error message in Scheduling Agreement, message no is 428 and application area is V1, this message comes when the user exceeds the target Qty in Schedule line.

    If a message is a custom message, then by changing the message type from W
    (warning) to E(Error) we can convert the message type into error message. This is done with the help of development guy. A change in the code is needed.
    If it is a standard message, then it depends on w hether we have teh access to change the message type. If access is there, then it is possible to change the message from Warning to Error. i.e. If we are capturing std SAP message in our code and displaying then we can change it, else if SAP message is displayed directly, we cant change it.
    So, to change it, capture the error message from SAP in some Zcode and then convert that message into a custom message of message type E.
    The whole change needs ABAP support.
    Reward if it helps.

  • How to display warning message in PL/SQL?

    Hi,
    I would like to know how to display a warning message in PL/SQL?
    Thanks and Regards,
    SC

    PL/SQL is not an interactive programming language, so there is generally no place to print any sort of message, no place to prompt the user for input, etc.
    A SQL*Plus script can use the SQL*Plus client as a very basic way of interacting with users using the PROMPT command to accept input and using DBMS_OUTPUT to print messages to the console (assuming the script does a SET SERVEROUTPUT ON to enable printing the results). Other applications may have similar sorts of scripting possibilities, generally based on a subset of the commands SQL*Plus supports.
    Justin

  • How to trap warning messages generated from the background processing?

    Hi all,
    Following is my requirement, i want to know whether it can be done and how?
    The credit management (CM) warning messages generated as a result of the CM background processes, where do the messages go? Can you trap them and include them in an interface control report?
    Thanks

    Hi
    If it's created a job for that process, you can try to read the log: here you should find all triggered messages, so the warning ones too.
    U can try to use fm like BP_JOBLOG_READ or BP_JOBLOG_SHOW in order to get the log.
    Max

Maybe you are looking for