cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup with RFC - not BAPI

Former Member
0 Kudos

Hi all,

Is it possible to make an RFC lookup to a Function Module remote enabled that not is properly a BAPI? I'm trying using Michael RFC lookup sample, but in the sample he uses BAPI_PO_GETDETAIL (it's working fine to me). When I call a Function Module (import it to XI, make all the steps as in the sample), it returns an error "parameter with name RETURN not found".

I have tried to put this parameter exactly as it is on BAPI_PO_GETDETAIL, but still didn't work. Some tip?

thanks!!!

roberti

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

RFC and BAPI F/N modules caaries more of the same defintion. Check if the parameter is filled for TABELS and EXPORT parameters. Note that for BAPI the data elements is required to start with BAPI_* but not req for RFC

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Hi,

Execute the RFC independently in SE37 and check does it give correct result?

also check out this blog-

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

Rgds,

moorthy

Former Member
0 Kudos

Thanks for your help!

The problem was at my JAVA code (I don't know exactly where, but I wrote it again from the scratch and now it is working

Thanks again!

cheers!!!

roberti

Former Member
0 Kudos

roberti,

Is it possible to make an RFC lookup to a Function Module remote enabled that not is properly a BAPI?

>> yes you can do it .

in rfc function module do you have import and export parameters right. check whether Retrun is passed or not. if you dont structure to accept RETURN as input then dont passit RFC function module

Regards

sreeram.g.reddy