04-09-2009 1:54 PM
What is the statement I should use in a user exit to leave transaction without continue the processing?
Leave to transaction or check statement seem not to work
Thanks.
04-09-2009 1:55 PM
04-09-2009 2:10 PM
I don't want just to exit from current processing , I want to stop the processing of entire tcode.
And using exit I'll leave only the current user exit's FM ...
04-09-2009 2:10 PM
Hi Andronic,
Can you give the Exit u are using? Some additional analysis can be done by looking at that module.
Cheers,
Adi
04-09-2009 2:13 PM
select * into wa from egers.
if sy-subrc <> 0.
exit.
endif.
That's the code I'm using. I need to replace the exit statement with something else.
04-09-2009 2:32 PM
04-09-2009 2:22 PM
Try statement STOP that would generate a short dump and lead you to the end of the processing.
Otherwise you could find in the exit function parameters a way to send a stop processing flag to the calling standard program (if designed by SAP).
Issa
04-09-2009 2:32 PM
I would not want to end it with a short dump.
I would prefer to display a message and stop processing... this is what I don't manage to do...
04-09-2009 3:00 PM
>
> I would not want to end it with a short dump.
> I would prefer to display a message and stop processing... this is what I don't manage to do...
Hello,
You can use an "Error" message for this.
BR,
Suhas
04-09-2009 3:03 PM
04-09-2009 2:32 PM
04-09-2009 2:37 PM