Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Jco3 Error : Function module "RFC_START_PROGRAM" not found for processing callback request.

$
0
0

Hi,

 

     I'm trying to User BAPI_DOCUMENT_CHECKOUTVIEW from my java code.

    

     But i'm getting the error as : "RFC_START_PROGRAM" not found for processing callback request

 

     The example code is somewhat :

          String destinationName = "ABC";
         

          // code : registering Destination using DestinationDataProvider

          .....

 

          JCoDestination destination = JCoDestinationManager.getDestination(destinationName);

          IDocRepository iDocRepository = destination.getRepository();

 

          // creating the JcoFunction object for BAPI_DOCUMENT_CHECKOUTVIEW with necessary input data.

 

 

          JcoFunction function = repository.getFunction("BAPI_DOCUMENT_CHECKOUTVIEW");

         

          // Set the function import parameters.

          ....

 

          JCo.setMiddlewareProperty("jco.middleware.allow_start_of_programs","ftp;sapftp;sapftpa;sapkprotp;http;saphttp;saphttpa");


          function.execute(destination);

 

     .....

This is working code if we want to run other BAPI but for this BAPI it is showing error.

As mentioned at few places i've also set the middleware property before executing the BAPI as follow :

 

JCo.setMiddlewareProperty("jco.middleware.allow_start_of_programs","ftp;sapftp;sapftpa;sapkprotp;http;saphttp;saphttpa");


Still the error persits.

 

Anyone could suggest what might be the reason?

 

Regards,


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>