‎2007 Jun 15 6:21 AM
hi there.
i want to use a message which after showing the message remains on the same screen as when i use message of information type it continue the execution and if i use error message it stop execution i want to use a message which halt the application to same screen
‎2007 Jun 15 6:26 AM
Hello Bhupinder,
Use message type <b>e</b> in proper validatation i.e,
if sy-subrc <> 0.
message exxx(xxx).
else.
stmts.
endif.
reward if helpful.
Regards
--
Sasidhar Reddy Matli.
‎2007 Jun 15 6:23 AM
Hi,
Try this..
* Give success message.
MESSAGE S208(00) WITH 'Invalid data'.
* leave the screen..to stay in the same screen..
LEAVE SCREEN.
Thanks
Naren
‎2007 Jun 15 6:25 AM
hi singh,
use message type <b>s</b> or <b>w</b>,
ex:
message s001(zsmaple).
leave screen.
reward points if helpful,
regards,
seshu.
‎2007 Jun 15 6:26 AM
Hello Bhupinder,
Use message type <b>e</b> in proper validatation i.e,
if sy-subrc <> 0.
message exxx(xxx).
else.
stmts.
endif.
reward if helpful.
Regards
--
Sasidhar Reddy Matli.
‎2007 Jun 15 6:31 AM
Hi,
Use the Information and then EXIT .. this will work same as Error message but remains the same screen .....
MESSAGE I001 with TEXT-001.
EXIT.
Regards
Sudheer
‎2007 Jun 15 6:40 AM
hi,
try with 'S' or 'W' type messages
if useful reward some points.
with regards,
suresh.
‎2007 Jun 15 6:46 AM
Hi,
try this :
MESSAGE 'Wrong column name!' TYPE 'I' DISPLAY LIKE 'E'.
It will display like an error message but act as information message!
Regards,
Sooness.