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

About RFC

Former Member
0 Likes
476

hi, I use a RFC FM to get a file in the target system. In the FM, if I failed to open the file, I give a message:

messsage s000(00) with 'No file found'.

stop.

But when I test, I choose a target, the program is dump, I choose another, there is no message. Can anyone tell me why?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
453

Hi Yu

I would advise you to debug and see whats happening. is ur FM called correctly?

cheers

shivika

2 REPLIES 2
Read only

Former Member
0 Likes
454

Hi Yu

I would advise you to debug and see whats happening. is ur FM called correctly?

cheers

shivika

Read only

Former Member
0 Likes
453

hi,

in ur RFC, add exception for 'file not found'.

so, instead of saying message xxxx....

say, message xxxx raising exception.

so when no file is found in target system, control will return to ur original program and no dump will be occuring on ur target system.

try it out ...

regards,