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

RFC_REMOTE_FILE

peter_dougherty
Explorer
0 Likes
571

Hello again,

I have a little problem in so much as when I use the function RFC_REMOTE_FILE in read mode, and the file that I am trying to read does not exist, my rfcexec aborts, which is a shame. Is there anything I can do to stop this happening ? Thanks for your input.

Peter DOUGHERTY.

Hello again,

I have a little problem in so much as when I use the function RFC_REMOTE_FILE in read mode, and the file that I am trying to read does not exist, my rfcexec aborts, which is a shame. Is there anything I can do to stop this happening ? Thanks for your input.

Peter DOUGHERTY.

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
527

Hello Peter

Why don't you check first if the file you want to read really exists? I am sure there will be an RFC-enabled function module around for this task. If so, you only call RFC_REMOTE_FILE if the file does indeed exist.

Regards

Uwe