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                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • 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 print the message in 2 lines?

    How to print the message in 2 lines?
    Here i am having it like this... MESSAGE i000(zm) WITH lv_uname.
    here I want to print lv_uname in 2 lines because it lengthy one.
    Thanks,
    Sridhar.

    No man, itas not comming..I am using the below logic to print my message:
        CONCATENATE text-I01 lv_printdate1 text-I02 INTO lv_printname
    SEPARATED BY space.
        MESSAGE i002(zm) WITH lv_printname.
    its printing in a single line...

  • 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.

  • 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 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

  • Need to display Information message in two lines - Alignment problem

    Hi all,
    In a screen program, I am trying to display an information/Confirmation message to confirm few things from user side. For this I am using POPUP_TO_CONFIRM FM. This FM enables me to display a text question.
    My question would be "'New Price  400 is lesser than particular Product's Regular Price."
                                     "Do you want to continue and save the changes made?".
    I am finding it difficult to align these two lines in the popup window.
    I want to be displayed in two lines. Just like how it appears above.
    Please guide thro this.....
    Thanks,
    Rajan

    Check the following function Module:
    CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
      EXPORTING
    *   DEFAULTOPTION       = '1'
        diagnosetext1       = 'New Price 400 is lesser than particular Products Regular Price'
       DIAGNOSETEXT2       = 'Do you want to continue and save the changes made?'
    *   DIAGNOSETEXT3       = ' '
        textline1           = ' '
    *   TEXTLINE2           = ' '
    *   TEXTLINE3           = ' '
        text_option1        = 'YES'
        text_option2        = 'NO'
        titel               = 'TEST'
    * IMPORTING
    *   ANSWER              =
    Regards,
    Gurpreet

  • How to show Attribute name in Single line in ADF-JSPX pages

    Hi,
    I am having a issue , attribute name like "Name Of Catalog" in Brazilian-Portuguese Lang. is displaying in two lines instead of showing in one line, but it is correctly showing in English language.
    And also this issue reproducible on IE 7 browser only. Please let me know your comments on above issue.
    Thanks
    Chandrakant

    Hi John,
    I have seen some solutions like using horizontal layout, where child components are arranged in a horizontal line. No wrapping is provided when contents exceed the amount of browser space available. Is this OK to use?
    One more question is, how to enable Portuguese - Brazil Lang for pages in Jdev ? in other words, I want to see Label Text in Portuguese - Brazil Lang instead of English ?
    Thanks.
    Chandrakant

  • 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.

Maybe you are looking for

  • I need to add a bunch of songs but don't want them to be included in my shuffle. How do I acheive this??

    I have to learn about 20 heavy metal songs that I have downloaded as MP3's. Since this is not the type of music that I want on my shuffle feature when I am working, how do I segregate the metal songs so that they are either in their own playlist or I

  • Bug in PDF

    There is a bug in the acrobat for ipad. When you have an interactive PDF and you have buttons linking to pages in the PDF, the buttons appear with a bluish box damaging the view of the interactive PDF. Please let me know how to fix this or maybe is a

  • Unable to compress non-cumulative infocube with 0DOC_NUM

    Hi Gurus! I'm working on a retail project. I've created an infocube based on 0RT_C01 to keep the stock movements. It is a non-cumulative cube. After the load of the initialization data (2lis_03_bx) ,historical movements, the initialization of 2lis_03

  • Rental movie download problems

    I I trie to download a movie ,it says it has downloaded buy won't let me play it

  • Imported PDFs = Beachball?

    Hi, I'm having a problem with imported PDFs. I brought a few into FCP (they're multi-paged) and whenever I try to do anything with them (make and edit, move them, anything) I get the beachball for about 30 seconds, then I'm able to do whatever it is.