Show message dialog

To show a message dialog in Oracle Forms (in EBS) use

fnd_message.debug('your message here')

By using this built-in there is no need to create your own alerts.