0 Replies Latest reply: Feb 1, 2012 12:52 AM by Abhilash RSS

    Can FND_MESSAGE is used to display a prompt message on a OAF page?

    Abhilash
      Hi Guru's,

      I have a query regarding the FND_MESSAGE.Whether it can used to display a message on OAF page?.
      What i'm trying to do is I'm creating a subscription on an hz person profiles event to perform some action,based on success or failure I want to display a message on the screen.I'm writing below code in the subscribtion package.

      IF (l_success = FALSE)
      THEN
      fnd_message.set_name ('FND', 'FND_GENERIC_MESSAGE');
      fnd_message.set_token ('MESSAGE', l_error);
      fnd_msg_pub.ADD;
      RETURN 'ERROR';
      ELSE
      RETURN 'SUCCESS';
      END IF;

      So please provide some inputs.

      Thanks,
      Abhilash