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: 

After Displaying Error message, terminate the process (Urgent Please)

Former Member
0 Kudos

Hi all,

i have developed customer exist which is relates to Usage Decisions and Check for Open QN's.

Exit is QEVA0010, and function exit is EXIT_SAPMQEVA010

here, when i display the error message (upto now it is fine) and when i press <b>Enter</b> or <b>OK button</b> again it is checking from begining of the exit. i want to terminate it when displys the message. i had written "leave to transaction sy-tcode" , "leave screen", "leave to program", "exit", and "stop". no statement is working.

could you please help me on this.

I hope i will get a reply soon, bcz it is very urgent......

5 REPLIES 5

Former Member
0 Kudos

HI prabhakar,

include a check at the beginning of the FM..

so that it is thrown out..

something like this..

check itab[] is not initial.

regards

satesh

0 Kudos

hi sateesh,

i have checked <b>check itab[] is not initial</b> condition also, still it is giving same.......

Regards

Prabhakar

Former Member
0 Kudos

Hi prabhakar,

change the error message to an Abort message .. it'll throw him out on pressing Enter or OK button ..

regards

satesh

0 Kudos

Hi Sateesh

Even though it is giving the same result...

Regards

Prabhakar

0 Kudos

Hi Prabhakar,

really interesting ..

if you want to just come out of the screen..

use call transaction 'TCODE'.

.........

regards

satesh