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: 

Blank screen

Former Member
0 Kudos

hi,

how to show blank screen with error message ???

and how to end the program by giving the proper error message ??

Jimmy

9 REPLIES 9

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If you want to error the program and give an error message, all you need to do is somthing like this.

message A001(00) with 'Error, the program is ending'.

Regards,

Rich Heilman

0 Kudos

thanks

but my program is dialog programm so after writin this ,i can see some weiard window with error message .

Can't i show blank screnn and on status bar with error message

Jimmy

former_member181962
Active Contributor
0 Kudos

message e000(<your message calss>) with 'Error'.

in se91 create a message class and also create a message 000 with place holders (&).

Regards,

Ravi

rahulkavuri
Active Contributor
0 Kudos

If its regular reporting then

MESSAGE E000 with "ERROR MESSAGE".

This will display blank screen with error

If u want to end the program then use

EXIT.

LEAVE TO SCREEN 0.

0 Kudos

hi thanks all,

but when error message is comming i can see in background some screen . but i axpect it should be blank screen .

jimmy

0 Kudos

hi jimmy,

create an empty screen.say '0100' in se51.

then call it in your program.

call screen '0100'.

message e000(ZZ) with 'Error'.

REgards,

Ravi

0 Kudos

Do you want that the program should end immediately after throwing the message? If so, please look at my previous post about the "Abort" message. This will throw the error in a dialog box and end the program.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

You can end the program by using

message e000(ZZ) 'Error'.

Regards,

Amole

Former Member
0 Kudos

hi,

message E100(Message_id).

E---Error ( u can also use A, S , W , I )

100---Error Message Number

Message_id --- go to se91 for message id