Monday, December 20, 2010

Raising custom error messages in custom WebADI template

In order to raise a custom error message using your custom WebADI
integrator, I did the following:

1. Registered/Created a custom error message in the fnd_new_messages.

2. In the package which has been registered for the WebADI integrator i created a common error handling procedure which will be called on errors.

3. The definition of the error handling procedure looks like this :

Spec : Error_handler(p_error_code,p_error_msg)
Body :
fnd_message.set_name ('ABC ', p_error_code);
fnd_message.set_token ('TOKEN', p_error_msg);
fnd_message.raise_error;

4. Call this error handler on the errors and you will be able to see the error code and error message on the template.


5 comments:

  1. To display custom error messages in WEBADI document, do the below steps
    1. While defining interface, set API returns to FND Message Code
    2. call raise_application_error in your exception handling block

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. I am playing a manager role in a multinational company. My job is to send the business proposals to the domestic and global clients, so I rely on yahoo mail services. I want to understand IMAP settings for my yahoo emailing services. I don’t have ideas about yahoo mail settings. Can anyone have the relevant answers for yahoo imap settings?

    ReplyDelete
  4. I am been Reading your blog for a lot time i must say its a amazing blog and i found blog to be very informative and helpful will come back to read more. Thanks for sharing!


    malwarebytes not scanning


    malwarebytes not opening


    malwarebytes customer service


    ReplyDelete
  5. Procurement Resources is a website providing detailed price trends where you will find detailed information about more than 500 products, here you will find detailed price trends for many products like sodium bicarbonate prices, sodium chlorate prices, sodium chlorite prices, etc. Then definitely visit the website of Procurement Resources once.

    ReplyDelete