cancel
Showing results for 
Search instead for 
Did you mean: 

Error: "RFC partner does not allow to start any program"

Former Member
0 Kudos

Hello,

I am new to the SAP BAPI world.

I am writing on a Java application which gets a document (over the document number) from SAP and saves this document in a local directory.

I call BAPI_DOCUMENT_CHECKOUTVIEW2 for this purpose.

I give all import parameters, also have the line

JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs","sapftp;saphttp");

included.

Problem:

SAP gives me the return message

"RFC partner does not allow to start any program".

The library librfc32.dll is located under WINDOWS/system32, also the exe-files saphttp, sapftp.

Does anybody have an idea what might be the problem for this error? I appreciate every help.

Jana

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jana,

the problem is not in your JCo, it's either in the set up of your receiving partner in R/3 (who is "responsible" for handling the request) or the request you are sending with your JCo doesn't have all the necessary parameters (or the parameters are incorrect).

My suggestion is to check with someone on the SAP R/3 side to see what's going on and if more information is stored in the logs.

regards,

Dion

Former Member
0 Kudos

Thanks for your reply.

I will check the issues you have mentioned!

Jana