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

Prob. while executing the Function Module for upidate transaction using RFC

Former Member
0 Likes
633

Hi Gurus....

I have developed a RFC-FM for creating the BDC for transaction CO11N.

While executing the FM from SAP GUI screen, it works welll, but the same gives prob while executing from outside as an RFC Call.

The system is not able to create the material document when the same code is called from the dot net envoirnment.

The system throws the error message: Protocol error when communicating with SAPGUI.

Please help.

Thanks In Advance...

Abhi.

3 REPLIES 3
Read only

Former Member
0 Likes
593

Hi,

first check your RFC connection - [].

If connection is ok, check authorizations for rfc user (use first your user/pass and then rfc user/pass - if there is error only for rfc user, it is propably authorization problem...)

Best Regards

Matus

Read only

Former Member
0 Likes
593

I had a similar issue with another transaction. Running via SAP GUI was ok. Via an interface did not work. I had to use a different transaction in the end.

I suspect you will need to look for another way of getting the data into SAP. Another transaction, IDoc, BAPI for example. If none of them exist. You may be able to amend your FM so that a BDC session is created, then processed via a batch job.

Read only

Former Member
0 Likes
593

solved...