cancel
Showing results for 
Search instead for 
Did you mean: 

Call Function - Dest "RFC"

Former Member
0 Kudos

Hello,

i have a big problem.

I´ve written a web dynpro programm.

In this program i call a function:

CALL FUNCTION 'READ_DAT' DEST 'Z_READ_DAT".

Z_READ_DAT is a RCF which points on a exe file on my pc.

When is use this Function in SAPGUI all works fine, but when i call it in WDA there is a dump.

"Cannot open RFC". ST22 says EXEC_SAPGUI : cannot open sapgui.

What can i do?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Benjamin Pfahl ,

there are cetain RFCs that cannot be used with Webdynpro, like gui_upload and all. the Fm 'READ_DAT' DEST 'Z_READ_DAT, since its working fine in normal abap means it cannot be used with wda, the Fm might be using sap gui to fetch from your pc.

Regards

Sarath

Former Member
0 Kudos

Hi,

thank you for your answer.

You are right.. this RFC tries to communicate via GUI.

We´ll try another way.

Answers (0)