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: 

Stop the execution of a FM

Former Member
0 Kudos
161

Hi all,

When a function module is executed, I want to stop the execution in between when a certain condition is reached and immediately the FM output should be shown without executing the further lines in the FM?

Which statement need to be used?

Thanks,

Shanthi

1 REPLY 1

Former Member
0 Kudos
91

Hi Shanthi,

Use exit statement, it vl take you to the current output list.

Sujatha