Skip to Content
avatar image
Former Member

RFC Lookup with RFC - not BAPI

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Mar 10, 2007 at 04:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 09, 2007 at 06:45 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 10, 2007 at 05:53 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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