2009 Apr 09 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.
Use leave program to stop the processing.
Regards,
gurpreet
2009 Apr 09 1:55 PM
2009 Apr 09 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 ...
2009 Apr 09 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
2009 Apr 09 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.
2009 Apr 09 2:32 PM
2009 Apr 09 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
2009 Apr 09 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...
2009 Apr 09 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
2009 Apr 09 3:03 PM
2009 Apr 09 2:32 PM
2009 Apr 09 2:37 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |