Application Development and Automation 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: 
Read only

can we write leave program syntax in RFC function module.

Former Member
0 Likes
749

hello friends,

can we write leave program syntax in RFC function module. Iam developing RFC Function module .

useful answers will be awarded..

Regards

Kanth

Edited by: Kanth on Mar 30, 2008 11:38 PM

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
507

Don't use leave program in RFC function module. You can better use EXIT or RETURN. But when developing RFC modules you should use the return structure BAPIRET2 to store message generated in the calling system. So when you use EXIT or RETURN, first give a message so the calling program knows why the RFC module was exited.

Read only

Former Member
0 Likes
507

over