How display more error messeges in BSP

Hi all,
I want to diplay more error messeges in BSP.
I'm working in the extention standar class CL_CRM_BSP_PM_GENERIC_1O
in the method
IF_CRM_BSP_PROCESS_IL~CHECK_BEFORE_SAVE
with the following parameters:
  ls_message-msgid = 'ZGIVAUDAN'
  ls_message-msgty = 'E'
  ls_message-msgno = '001'
  CALL METHOD gr_intlay_1o->set_status_message
      EXPORTING
  is_msg_show      = ls_message
With this procedure the system shows only one error messeges. If I repeat the same step for another message number the system displays only the last message.
What's the code or parameters need to show multiple error messages in the same page (BSP)?
Thanks in advance,
Best Regards
Lorenzo

Hi Lorenzo,
  Go through the links,
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/625f3c689a6c4de10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/f5/aedd3a6dac703be10000000a11405a/frameset.htm
Regards,
Azaz Ali.

Similar Messages

  • ADF RegExp Validator ??? how to change Error Messege ?

    what is the key for the Error Massage in the ADF Regular Expression validator.
    Message was edited by:
    JOKe

    Timo, Thanks for Guidance and sugession.
    actualy for ADF component Internationalization working properly, but the Validators are defined in .java file and from that we have to bind our messages. we have created two properties file , one for English content and another for Arabic . But Still in Arabic conversion. the English message is coming. Is am i going in wrong way?.....i am just giving you highlight of my module......
    1) My Validation is for Date i.e. "from date should not be greater than to date", which i have define it in .java file. At first we have Hardcodef the message,but as per the requirement we have to translate this message into Arabic one.
    2)the two property files we have defined are abc_en.properties (for english) and abc_ar (for arabic).
    3)now in java file we have declare one String variable "res" and insted of sop we have defined one method
    MessageUtil.messageInfoWithTitle(res.getString("NEW.DATE.TITLE"),
    res.getString("NEW.DATE.WARNING.MESSAGE"));
    so that whenever we call this method it will take these key values and depending on the locale this message should get display.
    So what is wrong thing i did? Please help me out.

  • How to capture the DB Errors to display more specific error on the screen

    HI,
    How to capture the DB Errors to display more specific error on the screen?
    Can any one suggest on this please.
    Thanks

    hi,
    in your db package or procedure write this in ur exception handler
    as
    excpetion when others
    FND_MSG_PUB.ADD_EXEC_MSG (pkg_name, proc_name,
    substr(sqlerrm, 1, 240))
    now in your java code you can catch and throw this excpetion by using
    OAExceptionHelper.checkErrors (Tx, messageCount, returnStatus, messageData);

  • How to display error message in BSP

    Hi,
    I am working on a BSP application where I want to display some error messages if a particular validation fails.
    I have written the code for adding the message using CL_BSP_MESSAGES->ADD_MESSAGE in event DO_HANDLE_EVENT. The message passed is added successfully in table M_MESSAGES in method ADD_MESSAGE . But I want to know what code should be written in the layout to display this error message.

    Hi,
    In javascript you have to do validation(Eror Message) below is the sample code for message
    var yourwords = "Enter Carrid"    !';
    vae speed = 500;
    var control = 1;
    function flash()       
    if  ( control == 1 )
    windows.status = yourwords ;   
    control = 0;    
    regards
    krishnakiran
    Edited by: Krishna KiranN on Dec 12, 2011 11:53 AM

  • ADF-BC/JSF How to display acustom error message from a backing bean

    Hi all
    Can anybody provide an example of how to manipulate the list of error messages from a JSF backing bean.
    In my code I use a different navigation case and this directs the user to the page displaying the error message but I am sure that there must be a more elegant way.
    Thanks in advance
    Thanassis

    Thanks Kris
    I think you 've put me on the right track here, it's just that in my case what I really want to do is prevent my users from editing records not belonging to their own group. This is done via a selectOne table component and then the backing bean code tests if the value #{row.UserGroup} matches the #{bindings.LoggedOnUserGroup.inputValue}. If the values are equal then the beans returns the navigation case to the edit page. Otherwise it returns the navigation case for the "cannot edit" page.
    So what I am thinking is to return null and somehow raise the right kind of exception in order to display the error in the af:messages tag.
    Thanassis

  • How to Download displayed output to Excel Using Bsp Application

    Hi Experts,
    please give me some idea because I am New In BSP.
    How to Download displayed output to Excel Using Bsp Application.
    If any sample code please do send me.
    In my condition I am getting data in  2-3 table view formats on one page and i want download that in Excel.
    please help me.
    Regards & Thanks,
    Yogesh

    Hi,
    This is more a question for the BSP forum.
    Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
    runtime->server->response->set_header_field( name = 'Contnet-Type'
    value = 'application/vnd.ms-excel' ).
    runtime->server->response->delete_header_field( name = 'Cache-Control' ).
    runtime->server->response->delete_header_field( name = 'Expires' ).
    runtime->server->response->delete_header_field( name = 'Pragma' ).
    Also check threads like
    Download BSP data into Excel
    export bsp-table to excel
    Export BSP Table to Excel
    Eddy
    PS. Reward useful answers and earn points yourself

  • ICI - How to display custom error messages in SAP CRM

    Hello,
    we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
    The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
    Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
    We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
    them to screen.
    Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
    running in the background.
    Regarding to this topic we've the following questions:
    - Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
    - Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
    Thank you in advance!
    Best regards
    René Holy

    NewUser7 wrote:
    Please correct me if I am wrong
    I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
    HTH

  • How do  I display more than one region as a modal popup?

    Hello all!
    I have a popup that displays a report region. I now want it to display more than one region, say a report region and another report region underneath it.
    Here's the code that I currently have (and this one can popup one region):
    $.fx.speeds._default = 1000;
    $( function(){
      $('#ModalForm').dialog(
         modal: true,
         autoOpen: false,
         width: 650,
         height: 450,
         buttons:{ Calculate: function(){calculateTotal();},
                         Close: function(){closeForm();}        
    function openForm(pFoodTemplateId, pMealTypeId)
    var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get
    getone.add('P24_TEMPLATEID', pFoodTemplateId);
    getone.add('P24_MEALID', pMealTypeId);
    gReturn = getone.get();
    getone = null;
    $('#ModalForm').dialog('open');
    function closeForm()
    {$('#ModalForm').dialog('close');}
    $(document).ready(function()
        {$('a.temppop').click(function() {openForm();});
    });The class of the button (or in my case, the link in another region that's not displayed as a popup) is temppop.
    QUESTION:_
    How do I edit my existing code, so that it can now display another region?
    The ID of the region it displays now is ModalPopup. I would like to add another region, with another ID off course. Pick any ID, as long as you can explain to me how.

    Magali wrote:
    Hello all!
    I have a popup that displays a report region. I now want it to display more than one region, say a report region and another report region underneath it.
    Here's the code that I currently have (and this one can popup one region):
    $.fx.speeds._default = 1000;
    $( function(){
    $('#ModalForm').dialog(
    modal: true,
    autoOpen: false,
    width: 650,
    height: 450,
    buttons:{ Calculate: function(){calculateTotal();},
    Close: function(){closeForm();}        
    function openForm(pFoodTemplateId, pMealTypeId)
    var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get
    getone.add('P24_TEMPLATEID', pFoodTemplateId);
    getone.add('P24_MEALID', pMealTypeId);
    gReturn = getone.get();
    getone = null;
    $('#ModalForm').dialog('open');
    function closeForm()
    {$('#ModalForm').dialog('close');}
    $(document).ready(function()
    {$('a.temppop').click(function() {openForm();});
    });The class of the button (or in my case, the link in another region that's not displayed as a popup) is temppop.
    QUESTION:_
    How do I edit my existing code, so that it can now display another region?
    The ID of the region it displays now is ModalPopup. I would like to add another region, with another ID off course. Pick any ID, as long as you can explain to me how.First build your dialog for new ID (please replace NEWREGIONID with your region static id)
    $( function(){
    $('#NEWREGIONID').dialog(
    modal: true,
    autoOpen: false,
    width: 650,
    height: 450,
    buttons:{ Calculate: function(){calculateTotal();},
    Close: function(){closeForm();}
    And now you could open or close the dialog
    $('#NEWREGIONID').dialog('open');

  • How do I display more than one month calendar in the day-view?

    iCal has always had a nice feature that allowed me to display little, what I call, mini-month calendars while in the day-view.  This allowed me to quickly jump to a day two or three (or more) months ahead (or behind) to check appointments on that day or set an appointment, without switching out of the day-view.
    The mini-month was a small clickable calendar that looked something like this:
    1   2   3   4   5   6   7
    8   9  10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    There was also a forward and backward arrow box [ < ][ > ] that allowed me to quickly scroll to the mini-month to find the day I wanted to click into.  And, if I wanted to give it more room by adjusting the frame, I could display up to three months at a time within my day view.
    Since upgrading iCal to 5.0 with the Lion upgrade, I can no longer display more than the current mini-month calendar on the day view.
    This is REALLY inconvenient.  Now, there is no way (that I know of) for me to stay in the day view and be able to jump ahead to a specific day two or three months out, or even to a day in the NEXT month without either going to the year view (a big waste of time) or click on the last day of the current month and then clicking the ">" day arrow to get to the next day which then shows that month's mini-calendar.
    How do I display more than the current month's mini-month calendar in the day view on Lion?

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How can i display the error count

    Hi I'm using jdev11g
    How can i display the count of errors in validation error message pop up instead of displaying the entire list.

    Searching the forum would help
    Re: How to customize Error?

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • How to display more than 10 rows in an Auto Updating Report

    I followed Carl Backstorm's example, http://htmldb.oracle.com/pls/otn/f?p=11933:40:525653462286833::NO:RP:: to create a page with an auto update report/region. It's working fine (thanks, Carl) but I can't have the report display all rows (38 rows in total). Everytime I press the "Manual Refresh" button, it shows 10 (the first 10) rows only.
    When the report displays at the first time, it shows all the rows (38 rows). Number of Rows and Maximum Row Count are set to 999999 and "No Pagination Selected" in the report region. But after I press the "Manual Refresh" button or specifiy an update time value (like 1 second) to have it auto update, then it only display the first 10 rows.
    Is there a way to display more than 10 rows in an Auto Updating Report using Carl's example auto update report/page? Anyone can help? Thank you.
    -Michele
    Edited by: 106451 on Jun 30, 2010 10:12 AM

    Yes, I changed it to:
    function table_object(pId){
         this.id = pId;
         this.start_record = 1;          //optional
         this.num_record = 50; //optional
         this.num_record2 = 50;          //optional
    I don't quite understand how these vaiables are used for though. Thanks.

  • How to display an error message after validation in Formatted Search?

    Hi SBO experts,
    if an error is detected on validation in a Formatted Search, how to display an error message to the user entering the data?
    Thanks & Regards,
    Raghu Iyer

    i created a formatted search query & attached it to the field 'Quantity' at Line Item level in Sales Order screen. just for testing purpose, i eneterd the following code lines in the query validating 'Quantity'
    if $[$38.11.0] > 50
    begin
    select @error = 1
    select @error_message = 'Vendor code cannot begin to X sign.'
    end
    the system throws the error : Internal error (8180) occurred [Message 131-183]
    actually, i need to display an error message to the user if Quantity is not in multiples of the OITM.SalFactor2
    if $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0]) > 0
    begin
    select @error = 1
    select @error_message = 'Error in Quantity.'
    end
    but, this expression to get the remainder itself seems to have some error
    $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0])
    i guess, % operator is used for modulo (to find the remainder of one number divided by another.) ? am i right ?
    Regards,
    Raghu Iyer

  • How to display an error Message in Web Dynpro

    Hello,
    I want to display an error message in Web Dynpro. I'm using this,
    IWDMessageManager message = wdComponentAPI.getMessageManager();
    message.reportSuccess("<some relevant debug message>");
    However, the message is always shown at the bottom of the screen. It is possible to select the location in the screen for showing this object? Or what is the best way for doing this? I've tried to use a Label but I can't set the type (warning, error, info) it's only a message.
    Thanks
    Regards
    SU

    Hi,
    If you include the UI, it will display at the top of the screen..
    Please see below how to create a message in the message editor.
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    and this is how you access the error message in the application ti display it to the end user
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    Regards,
    Ganesh N

  • How to display an error message on screen?

    Hi experts,
    In screen painter, how to display an error message in the message area just below the screen?
    Thanks!

    hi wuyia,.
    Write like this;
    Message 'Process completed Successfuly' TYPE 'S'.
    Message 'Want to Overwrite Value' TYPE 'W'.
    Message 'Press enter to continue' TYPE 'I'.
    Message 'Invalid Input' TYPE 'E'.
    S - Success
    W - Warning
    I - Information
    E - Error
    You can adjust your GUI option to display the message in a Popup or in the status bar.
    Regards
    Karthik D

Maybe you are looking for

  • CS6 DPS tools have broken CS6 licensing - Now Asking for Adobe Sign In

    Hi, Hoping I can get some guidance from someone or even an Adobe tech? Currently my problem is that after I install the DPS v29 tools from here (http://www.adobe.com/support/downloads/product.jsp?product=182&platform=Macintosh) my previously activate

  • My Nokia Asha 201 web browser is writing secure co...

    My Nokia Asha 201 web browser is writing 'secure connection not available' whenever i try to download any jad application it just started recently...Please help ASAP it's killing me

  • Didn't change password and got this from Yahoo! saying I did, Have I been hacked?

    I just received the following email to my Parent account. I migrated to verizon server several weeks ago.  Should I be worried about having been hacked?!  I've removed my email address from this header. Return-path: <[email protected]>

  • What is wrong with this trigger code?

    Hi folks, Just wondering whether I might be missing something here about Oracle 9i, that one of you might notice, either from the syntax perspective, or regarding a bug? The code below compiles in the database I have, but the trigger does not fire, a

  • JSP check boxes

    I've created a form within my JSP page that has a table of data (rows retrieved from a database). The first column is a check box allowing the user to select none to many items from the table. In my servlet, MyInsertServlet, how are the selected item