cancel
Showing results for 
Search instead for 
Did you mean: 

parameter JCO.Request and JCO.Response where <null>

Former Member
0 Kudos

Hi ;

I try to execute RFCtoRFC scenario. I have done all settings including receiver,sender agreement too.

But when i call rfc , i get following error

parameter JCO.Request and JCO.Response where <null>

My code that the calls a remote function is like;

CALL FUNCTION 'ZBAPI_EH_GET_DATA_GEN'
    DESTINATION 'OLT200'
  .

What would be the reason ?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The reason for this error is quite simple. There is a limitation of RFC adapter on PI. Every RFC function must have at least one IMPORT or EXPORT parameter otherwise it cannot be transformed to XML. Just try to create dummy parameter in you function and then try to call it together with this parameter.

Please take a look on note 803492.

Best Regards,

Lukasz

Former Member
0 Kudos

Hi,

in your RFC call, specify the data which is sent as RFC req msg from R/3 system in EXPORTING parameter if your RFC call is asycnh or both EXPORTING and RFC response msg structure in IMPORTING if your RFC call is synch.........in your report, use pretty printer and specify your RFC in CALL FUNCTION and then you will see the default calling procedure of your RFC.......then create a structue for your RFC req msg structure and response msg struc and fill it with data and then execute your RFC by using this CALL FUNCTION method.........

Regards,

Rajeev Gupta