How do i pass the error message at header level in CRMD_order

Hi all,
i got one requirement like when i create/change the sevice order (CRMD_ORDER)
if net_value is more than 1000 i have to set the message 'E' like 'order is blocked'
else 'approved' at header level before going to save the order.
please help me out it is high priority and as i am new to CRM.
thanks in advance.
Thank you,
Madhu.

Anil
     You have to look for a BADI to add the Error Message.
      Also use the FM CRM_MESSAGES_DISPLAY to display the message !
Thanks
<b>Allot points if this helps!</b>

Similar Messages

  • How can we view the error message numbers in the web ui?

    Dear all,
    How can we view the error message numbers in the web ui? It gives the error but no number.  It is possible to debug in web UI so how can we accomplish this?
    Thanks,
    FK

    Hi  Fakhan,
    You can absolutely do that.
    Check the class: CL_BSP_MESSAGES
    Also if you want to find out the exact Message Class and Message Number, go to table T100, type text in field TEXT, you will get Message Class and Message number in fields ARBGB and MSGNR respectively.
    I hope this helps.
    THanks
    Vishal

  • HT1386 Error message says only one library per device. My previous computer crashed and now I want to sync with new computer. How do I overcome the error message?

    Error message says only one library per device. My previous computer crashed and now I want to sync with new computer. How do I overcome the error message?

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How can i see the error message?

    hi, i have written a procedure in the database 10g, with my own error, and it works. but, when my exception occurs, i want to see my ora-20000-message in the footer of the isql-screen in the same way like normal ora-errors do it. because, now the code handles the exeption, but i can not se any message.
    thx.
    (zahl1 in number, zahl2 in number)
    as
    maxvertrag number;
    ergebnis number;
    myerror exception;
    pragma exception_init(myerror, -20000);
    begin
    select max(vertragsnr) into maxvertrag from robertl.tblugovor;
    ergebnis := zahl1+zahl2+maxvertrag;
    if ergebnis>104
    then
    RAISE_APPLICATION_ERROR (-20000, 'Result is > 104!');
    end if;
    exception when myerror then
    ergebnis:=0;
    end;

    This is answered in how can i se the error message?.
    As a side note, you generally don't need to cross-post in these two fora, as many of us frequent both.
    Cheers, APC

  • How to Inscribe all the error messages into a single package ??

    Hi,
    I want to Inscribe all the error messages into a single package., and call the concern package from the exception block in every sp by passing the error code to that package, which will return the Concern error message to the calling Sp.,
    Can any one help me out how to accomplish this ., ?
    regards
    Raja

    I want to Inscribe all the error messages into a single package., Why do you want to inscribe all the messages in a package?
    I would suggest you to store them in a table instead and you can write a functin to retrive the error messages required.
    But if your requirement is for 'Package' then assuming that you store all the error messages in a table 'error_table' (say) following code may help you .
    CREATE TABLE Error_Table (
      Error_Code VARCHAR2(10),
      Error_Desc VARCHAR2(1024));Now insert your error codes and descriptions in this table.
    CREATE OR REPLACE PACKAGE pkg_Error_Handler
    AS
      FUNCTION f_Get_Error_Message(p_Error_Code  Error_Table.Error_Code%TYPE) RETURN VARCHAR2;
    END pkg_Error_Handler;/
    CREATE OR REPLACE PACKAGE BODY pkg_Error_Handler
    AS
      FUNCTION f_Get_Error_Message
           (p_Error_Code  Error_Table.Error_Code%TYPE)
      RETURN VARCHAR2
      IS
        lv_Error_msg  Error_Table.Error_desc%TYPE;
      BEGIN
        BEGIN
          SELECT Error_desc
          INTO   lv_Error_msg
          FROM   Error_Table
          WHERE  Error_Code = p_Error_Code;
        EXCEPTION
          WHEN No_Data_Found THEN
            lv_Error_msg := 'No such error code '
                            ||p_Error_Code
                            ||' defined in the system';
          WHEN OTHERS THEN
            lv_Error_msg := p_Error_Code;
        END;
        RETURN lv_Error_msg;
      END f_Get_Error_Message;
    END pkg_Error_Handler;
    /and you can call this packaged funtion from any exception block to get the error description.
    Regards,
    Abhijit.
    N.B.: Code not tested

  • How do I correct the error message "an error occured while downloading....dismiss"

    I recently started receiving the error message "an error occurred while downloading" on an intermittent basis when trying to download pictures in some of my Yahoo groups using Yahoo mail. When it occurs the only way to clear the error message is to click on a highlighted "dismiss" [a term I had never seen used before these error messages started] which shows after the error message.
    When the error shows for one pic in the posting it will show for all the pics in that post. When the error occurs for an individual pic it will also show up if you try to "download all".
    These errors will show up for a posting sent from the same sender via one email group while not for the exact same email sent to another group. It is not restricted to an individual who is posting or a specific Yahoo group and appears to be truly random.
    Recently I found an example of the same error message in a posting from a Yahoo group in my Gmail account as well so it is not restricted to Yahoo mail alone.
    Has anyone else encountered this problem?....Does anyone know how to fix it?

    Hi saxxy60, I have not encountered this error before, but I have when the internet connection is lost in the middle of the download. You can try to disable any antivirus on the computer [http://answers.microsoft.com/en-us/ie/forum/ie10-windows_8/an-error-occurred-while-downloading-attachment-in/02b00230-ed67-473c-9ad8-370deac2272e?msgId=0d3d89cf-2722-43f3-b21b-2f3214e2f1d1]
    You can try to get more elaborate errors if you try to reproduce the issue with an HTTP traffic capture.
    *An add on [https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/ Live HTTP Headers]
    *[http://www.telerik.com/download/fiddler Fiddler]
    Please let us know if this helped you out!

  • Web services. How can I get the error message?

    Hello.
    I am trying to run a report using XmlViewService. If any report has an error then executeXMLQuery returns empty result set (<rowset xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></rowset>), not the error message. How can i know if a report fails with error or it exactly return empty result set.

    HI,
    Open the C:\OracleBI\web\msgdb\messages\resultviewtemplates.xml file modify the
    kuiNoResultsViewEditor webmessage as per your requirement...
    mark if helpful/correct...
    thanks,
    prassu

  • How can i get the error message from the thrown/raised exception?

    DB version:10gR2
    Examples for this thread taken from
    Want Stored Procs to get exectuted regardless of preceeding SPs Success or
    I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
    In the below example i cannot get the error message thrown from line 20
    create or replace package body mypackage
    is
    variable_proc1 number;
    variable_proc2 number;
    variable_proc3 number;
    v_result       number;
    my_exception   exception;
    procedure proc1
    is
    begin
    select 8/0 into variable_proc1 from dual;
    exception
              when others
              then raise my_exception; ----line 20
    end;
    procedure proc2
    is
    begin
    select 1 into variable_proc2 from dual;
    exception
              when others
              then
                   null;
    end;
    procedure proc3
    is
    begin
    select 3 into variable_proc3 from dual;
    exception
              when others
              then
                   null;
    end;
    Procedure caller_proc
    is
    begin
    proc1;
    proc2;
    proc3;
    v_result:=variable_proc2+variable_proc3;
    dbms_output.put_line('The output is '||v_result);
    exception
              when my_exception
              then
    dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
    end;
    end mypackage;
    When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
    set serveroutput on
    exec mypackage.caller_proc;
    Heyyyyy the error is User-Defined Exception
    PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PM

    Thank you justin.
    Sorry my earlier post was a bit ambiguous.
    I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
    I can actually log this error at proc1 itself like
    exception
    when others
    THEN
    error_message :='My custom message for the particular proc '||SQLERRM;
    dbms_output.put_line(error_message);
    logerror(error_message); --an autonomous error logging proc
    raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
    logerror(error_message);--an autonomous error logging proc
    in the WHEN OTHERS section of exception handling section of the caller proc
    I want to avoid the creation of this redundant row in ERR_LOG table.

  • How can I Fetch the error message from a OAF page

    Hi,
    A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
    Is that possible to fetch the error message from the page?

    is it a confirmation message or an error message ?
    Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
    you would need to look at the code to understand where this is thrown from and add your validation there.
    Tapash

  • PSE 8 - How do I fix the error message: An error has occurred reading files or writing to disk...?

    Hello
    I am using Photoshop Elements 8 on Windows 7 (64 bit). I have all my photos stored on an external hard drive connected by usb. The photos were transferred onto the HDD from a Windows XP machine. I bought a new computer  so I installed Photoshop 8 and imported all my photos to the organiser from the HDD. I have also taken some photos yesterday which I have uploaded to the HDD.
    Now, when I want to delete a photo I check the box to say I want it to be deleted on the hard disk and I get the error message: 'An error has occured while reading files or writing files to disc. The disc may be full or there may bea problem with the source media.' This does not happen with the photos I uploaded yesterday, only the ones which were put onto the HDD from the XP machine.
    Please could someone help? I have tried the File>Catalog> repair and optimise functions. I have reinstalled the software. It still does the same.
    Thank you in advance
    Dave

    David GW wrote:
    The error message goes on to say, Please check your device settings or consult your device documentation regarding resolving writing errors. Which device do you think they are referring to?
    Sorry, but I would have thought that this was rather obvious! The only device capable of being written to under these circumstances is your CD drive; after all, it's a CD you are trying to create...
    You have two potential major causes of problems here. The most common cause of these difficulties is the disks themselves - you only need a batch with poor reflectivity to cause all sorts of read errors, so that's the first thing to try - using a different brand of disk to write to. The second thing you have to realise is that CD writers have a finite life - the lasers in them simply don't last for ever, and towards the end of their lives the power behaviour tends to be a bit erratic, and it tends to fall off somewhat - which causes the same sorts of errors, simply because the dye doesn't get evaporated efficiently. This causes mis-formed pits, hence the read errors. The only solution here is to install a new drive.
    When it comes to reading, commercial CDs have a much higher reflectivity than ones you write yourself, so often these will play whilst your own will fail - a common cause of confusion, this. But it's worth checking; if you get failures to reproduce all of the tracks from a commercial pressed CD, then almost certainly your drive is failing.

  • How do you fix the error message, An error has been encountered while writing the current CD list.

    The error message goes on to say, Please check your device settings or consult your device documentation regarding resolving writing errors. Which device do you think they are referring to? The message came up half way through writing Track 5. So I selected a second set of tracks and got the same error message, this time at Track 3. I tried to play written CD (imation CD-R 1x 52x 700 mb). Opened the tracks using Windows Media Player. First time I was able to play one or two tracks, next time Window Media Player gave me the error message error message C00D0FAB. I have twice before successfully recorded the tracks using a Rode Podcaster, mixed them down and successfully wrote two version of my audio book. Now its not working. Any solutions?

    David GW wrote:
    The error message goes on to say, Please check your device settings or consult your device documentation regarding resolving writing errors. Which device do you think they are referring to?
    Sorry, but I would have thought that this was rather obvious! The only device capable of being written to under these circumstances is your CD drive; after all, it's a CD you are trying to create...
    You have two potential major causes of problems here. The most common cause of these difficulties is the disks themselves - you only need a batch with poor reflectivity to cause all sorts of read errors, so that's the first thing to try - using a different brand of disk to write to. The second thing you have to realise is that CD writers have a finite life - the lasers in them simply don't last for ever, and towards the end of their lives the power behaviour tends to be a bit erratic, and it tends to fall off somewhat - which causes the same sorts of errors, simply because the dye doesn't get evaporated efficiently. This causes mis-formed pits, hence the read errors. The only solution here is to install a new drive.
    When it comes to reading, commercial CDs have a much higher reflectivity than ones you write yourself, so often these will play whilst your own will fail - a common cause of confusion, this. But it's worth checking; if you get failures to reproduce all of the tracks from a commercial pressed CD, then almost certainly your drive is failing.

  • How to not display the error message ?

    hi everybody,
    I would like to know if it is possible to not display the error message in BO XI R2 when I try to refresh my reports ?
    (like "the query bla bla does not fetch any data...")
    Thanks for your help,
    Mario

    I've found this method to not display this error message but  the problem is that the prompt message when you refresh the report are not displayed:
    Has someone an idea ?
    Private Sub Document_BeforeRefresh(Cancel As Boolean)
    Application.Interactive = False
    End Sub
    Private Sub Document_AfterRefresh()
    Application.Interactive = True
    End Sub
    Edited by: Pascolo Mario on Oct 22, 2008 4:35 PM

  • How can I customize the error message UIX STRUTS ADF

    Hi dear forum:
    I need to customize the error message?
    Error
    Id - JBO-27014: Attribute Id in AppModule.BackupsView1 is required
    Fecha - JBO-27014: Attribute Fecha in AppModule.BackupsView1 is required
    AplId - JBO-27014: Attribute AplId in AppModule.BackupsView1 is required

    Repost:
    I need to customize the error message when I insert a new row with wrong values in ADF STRUTS UIX, where can I changue the default values for the message?

  • I need help!!how can i resolve the error message?

         Security.addProvider(new com.sun.crypto.provider.SunJCE());
    KeyGenerator kg = KeyGenerator.getInstance("DES");
    Key key = kg.generateKey();
    Cipher cipher = Cipher.getInstance("DES");
    byte[] data = "Hello World!".getBytes();
    out.println("Original data : " + new String(data));
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] result = cipher.doFinal(data);
    out.println("Encrypted data: " + new String(result));
                   String temp=new String(result); //error occure here!
    cipher.init(Cipher.DECRYPT_MODE, key);
    byte[] original = cipher.doFinal(temp.getBytes()); //if replace temp.getBytes() to result,that's ok��
    out.println("Decrypted data: " + new String(original));
    error message��
    javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at javax.crypto.Cipher.doFinal(DashoA6275)
    and how can i post the key and Encrypted data to columns whose type is varchar in a table in my database,and next time to get the values from my database and translate to key to Decrypte the Encrypted data ?
    thanks!!

    I presume the no-padding error is happening when you attempt to do the decryption. This means, that in some way, you've modified the encrypted data, and the size of the data is not what the cipher object expects. You don't show all your code here, but most likely, you tried to put result into a string (temp?) and when you do your temp.getBytes(), the array of bytes you're getting back is not the same as the array called result in your post.
    Steve

  • How do I fix the error message

    Every time Apple update to their programs I get an Error Message, "TextReaderSetErrorHandler". How do I fix the problem

    Just wha are you doing? What do you mean by every time?
    If installing iTunes try:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or       
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

Maybe you are looking for

  • When editing a PDF document with fillable forms, I get an unhandled exception error when scrolling past the first page

    The first error is "An unhandled Win32 exception occurred in Acrobat.exe [4644]" A debug window comes up after this and I open Visual Studio (not my area of expertise), and a couple more messages come up that may be helpful. Unhandled exception at 0x

  • Drivers / update problems on X230T

    1. My UltraNav (Synaptics) TouchPoint and TouchPad work only until I log in to Windows (7 Pro x64).  Telephone support suggested (after I got disconnected 3 times) that I use LSC to reinstall the driver, but I find no way to reinstall drivers in LSC.

  • Getting someone eles calls.....

    I've just moved to a new area registered with BT for a new number, which is now all up and running. Unfortuantely now we are getting loads of calls asking if we are an Insurance Company, the strange thing is the number people are dialling to get thro

  • Photo Library Indexes

    When I got started in IPhoto, I imported photos from an external drive. I then discovered the only way I could view the pictures was to make sure that drive was connected - which was fine (in my mind) because it took up less space on the internal HD.

  • Why doesn't my apple ID work when I try to download apps?

    I have an apple ID but when I go into the app store and download free apps, a notification pops up ad says "this apple ID has not been used in ITunes yet" Please help me figure out what's going on