Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2638

Re: Return back to Sel screen after Error message (without changing message type)

$
0
0

Hello Gita,

 

I know it has been a long time since your request but for next time you might face the same issue, please try the following:

 

IF sy-batch EQ abap_true.

     MESSAGE 'Error' TYPE 'E'.

ELSE.

     MESSAGE 'Error' TYPE 'S' DISPLAY LIKE 'E'.

     RETURN.

ENDIF.

 

It covers both dialog and batch job uses.

 

Hope it will help you in future.

 

Eloi


Viewing all articles
Browse latest Browse all 2638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>