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

Error : RFC Partner does not allow to start the Program.

Former Member
0 Likes
402

Hello Guys,

I have a requirement where in BAPI_DOCUMENT_CHECKOUTVIEW2 need to be called from the front end (JAVA).

When i run this BAPI in SAP it works fine ,when i run the same form front end it throws the error saying

"RFC Partner does not allow to start the Program."( I have checked the error in debug mode).

SAPGUI is installed at the JAVA developers desktop,still am facing this error.

The error is thrown at the below code:

CALL FUNCTION 'RFC_PING'

DESTINATION 'SAPGUI'

EXCEPTIONS: communication_failure = 1 MESSAGE lf_msg_text

system_failure = 2 MESSAGE lf_msg_text.

Please suggest.

Regards,

Najam

1 REPLY 1
Read only

Former Member
0 Likes
345

HI,

You need a RFC path in this case.You can check SM59 and contact your basis team regarding this.