Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error message in PBO module

Former Member
0 Kudos

Hi,

I want to display an error message in status bar.

my validation is in PBO and m writing there - message e010 with 'error msg...' but when the respective screen(300) is displayed, its showing an error msg pop up and only option to exit.

I want to be on same screen(300) after error message is displayed. Also the error messge comes in the status bar.

Please suggest.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can display a status message as an error message by using DISPLAY LIKE dtype (press F1 on message to get syntax details).

This will prevent exit from screen but display the message as error message.

You can also try using AT exit command in CHAIN ENDCHAIN.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can display a status message as an error message by using DISPLAY LIKE dtype (press F1 on message to get syntax details).

This will prevent exit from screen but display the message as error message.

You can also try using AT exit command in CHAIN ENDCHAIN.

Former Member
0 Kudos

Use the option "Display LIKE" for the message statement.

e.g Message EXXX display like 'S' with 'message text'.

this should change the only the display of your message i.e. in status bar instead of the pop-up and not the behaviour...

Edited by: Rohit Ganeriwal on May 6, 2009 5:28 PM

0 Kudos

Thanks all,

it works as below:

Message SXXX display like 'E' with 'err text'.

thanks.