Skip to Content
avatar image
Former Member

RFC look up

Hi All,

we are having one issue in mapping of a PI interfaces. I can see there is one use of RFC lookup function in PI message mapping.Here at this step some conversion is hppening. Could you please let me know what is the use of this RFC look up and where i can find the code in RFC look up. Is there any RFC function module assigned to RFC look up if yes tell me where this function module is assigned in PI.

Thanks

Mohit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 10, 2010 at 02:48 PM

    Hi Which version of PI r u in??

    if you r using PI7.1 you can see graphical function for RFC look up in message mapping,if you are using PI 7.0 OR

    older version you will see User defined function in message mapping,click on user defined code uyou will see which functional module using and what is the input parameter and Output parameter.

    Regards,

    raj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 10, 2010 at 07:21 PM

    Hi Mohit,

    Yes its very important to first to know what version of PI you are using for ur integration.

    In case of PI 7.1 RFC lookup is a graphical mapping function and in this case you need to import the RFC metadata imported into the IR, and just map the structure to your destination structure.In this case you need to have a RFC receiver comm channel to fetch the data from the RFC program in the application server.

    In case of PI 7.0 we dont have this fancy,we need to write an UDF to connect to the RFC module of another application system,we dont need to import the meta data of the RFC,we do need to create the receiver comm channel RFC type and imcorporate as a input param in the UDF.

    The RFC lookup UDF for PI7.0 and older is available in SDN itself.

    Cheers,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      As replied by Abhishek, In PI 7.1 RFC lookup is provided as standard fucntion in the mapping from PI7.1 and above.

      To use this function, first of all you need to import you RFC(remote enabled function module) metadata from your backend application system into PI ESR. Then in RFC lookup fucntion you need to select the imported RFC metadata to be used for that particular field mapping.

      In your case, since mapping is already developed, you need to find the field(s) in your message mapping for which standard RFC lookup function is used.

      If you found that field in your mapping, u just need to double clcik on RFC lookup function node. It will show you the RFC metadat used for this particular lookup.

      If you want see the functionality behind the look, then you need to go to backend application system and search for the fucntion module whose metadata is used in the lookup.

  • avatar image
    Former Member
    Jul 11, 2010 at 08:21 AM

    HI

    Could you please let me know what is the use of this RFC look up and where i can
     find the code in RFC look up.

    Is there any RFC function module assigned to 
    RFC look up if yes tell me where this function module is assigned in PI

    .

    The code will reside in the ECC system to which this RFC look up is made ,ask your abap

    counter part or if you have access you can check the relevant RFC in SE37.In PI 7.1 all we

    do is Import the RFC to the Enterprise Services Repository and maitain the parameters

    [refer|http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm]

    and /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups

    ,Unlike we used to write udf in PI 7.1

    Regards,

    $rinivas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Mohit

      Could you please let me know how i will find that to which ECC system the RFC look up is done

      Ideally you should be aware of what systems are in landscape and to which system PI is doing the RFC look up.

      Do you have any technical design document on this , if you are doing a upgrade/support activity.

      Even if you dont have above information ,try this..

      1. Click of SWCV in which you have design objects defined( like mappinge etc.)->you will see

      Display software componet version screen towards right pane->Go to definition tab->Connection data for import

      from SAP system.-> here you can see the system, client,message server (this should be more then enough to identify the

      system from which RFC was imported)

      2. In the RFC receiver channel, on target Tab, you can see the RFC client parameters: like apllication server, system number.

      with this information you can appraoch you ABAP counterpart and ask to check the RFC (provide him the RFC name).

      Regards,

      $rinivas