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

Reg: Function Module

Former Member
0 Likes
606

Hi All,

I am creating a function module to update data into a customized table. In that funciton module, i want to handle exception. But i dont know how to proceed with that.

Can you please any one help me out in this regard.

POINTS PROMISED.

Regards,

Buvana

5 REPLIES 5
Read only

Former Member
0 Likes
586

Hi,

After calling function module write.

if sy-subrc <> 0

RAISE EXCEPTION.

endif.

Reward if helpful.

Regards,

Umasankar.

Read only

Former Member
0 Likes
586

use raise statements

tx

kiran

Read only

Former Member
0 Likes
586

what kind of exception u want 2 add?

u can defne your exceptions in the exception tab

also you can code the logic in ur source code

using if else

let me if its helpful

else wht is that you need in exception

Read only

alex_m
Active Contributor
0 Likes
586

In FM Exception tab maintain all the exception. Inside the FM use RAISE statement to raise the exception.

Read only

Former Member