on 04-26-2009 3:07 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.