cancel
Showing results for 
Search instead for 
Did you mean: 

About the RFC lookup

Former Member
0 Kudos

Hi Gurus,

Please tell me What is LOOKUP AND WHAT IS RFC LOOK UP 1)HOW IT WORKS WHY WE HAVE TO CONFIGURE THE RFC ADAPTER AND IN WHICH DIRECTION WE HAVE TO CONFIGURE .

2)WHY WE NEED BAPI'S FOR RFC LOOK UP

PLEASE TELL ME CLEARLY IN GENERAL ENGLISH .

THANKS AND REGARDS,

RAM.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Vijay

When we have to do a lookup from an SAP system, genrally we go for RFC lookup.

EG: suppose you receive post code as a prt of input file and you have to determine where that post code belongs to.

Based on that information you will direct your input file to the Area Server.

The Post Code - Area information is in SAP system.

Then you have to pass on this Post Code to an RFC which will be present in SAP system.

The task of this RFC will be to retrieve the Area from that Post Code

(Postcode 110011 belongs to Delhi)

To do this lookup you must first import the RFC in PI

Design your mapping to pass and receive the values.

Define an RFC communication channel (this should be configured to facilitate the communication between PI and ECC)

This shoud be a receiver communication channel.

Hope this answers (in English)

Sourabh

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi ALL ,

Thanks for the Insight ful answers. I understood now what is Lookup and all.

Thanks and Regards,

Ram.

Former Member
0 Kudos

Mapping Lookups

A mapping lookup enables a function in application system to be called while a mapping program is being executed. This therefore requires the Integration Server and the application system to communicate with each other. This is achieved by using an adapter, which can be accessed by using the mapping program. In this way, the channel for communication is visible in the Integration Directory.

3 type's of lookups:

RFC,JDBC,SOAP.

coming to rfc lookup:

Rfc lookup it is one of the standard function of the Conversion Function group and it was provided by sap and it supports in graphical mapping from pi 7.1 v .

http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm

Prerequisites

The RFC channel to be used for the lookup must be configured and activated in the Integration Directory.

The definition of the RFC structure used for the lookup must already be imported into the ES Repository as an imported archive.

before pi 7.1v, if we want use Lookups ,then need to write udf .

step by step example:

[RFClookup & Jdbc lookup|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661]

[RFClookup & SOAP lookup|http://www.saptechnical.com/Tutorials/XI/RFCLookup/Index.htm]

Edited by: bhavanisankar.solasu on Feb 9, 2012 10:23 AM

Former Member
0 Kudos

Hi Ram,

RFC look Up are generally Used in SAP PI if you need to get any data which is stored in SAP System .

RFC communication channel will be used as Parameter to connect to your SAP system and get the Data.

To be simple Take example of Scenario where u need to get value from Database table in PI.

Input (SAP system) you are giving Employee Number and Output (3rd party system) is Employee details .

Employee data is stored in oracle data base.So you will using JDBC lookup for which u will pass Employee

number as input and get employee details and send it to third party system.For connecting to data base you

need a communication channel which has user credentials to connect to data base,

Same scenario is applicable for RFC look up instead of Data base system here data is stored in SAP system tables .

BAPI is program module written in ABAP to retrieve the data from the Table stored in SAP system.

RFC communication channel is used to connect to SAP system where the details are stored .

Regards,

Yeshwanth R

Edited by: Yeshwanth Ramappa on Feb 8, 2012 5:23 PM

former_member184681
Active Contributor
0 Kudos

Hi,

Most generally, you use RFC Lookup to execute a remote-enabled function module (in another system) during your message mapping. Thanks to this, you can retrieve some additional values, validate data, perform value mappings and so on.

Refer here for general information about lookups:

http://help.sap.com/saphelp_nwpi71/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm

and here for RFC Lookups in particular:

http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/content.htm

Hope this helps,

Greg

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can do RFC Lookup using graphical mapping in the version PI 7.1

Refer this document.

For pi 7.0 version you have to do UDF

follow this link

http://wiki.sdn.sap.com/wiki/display/Snippets/User-defined%2bMapping%2bFunction%2bfor%2bRFC%2bLookup...

Pi 7.1 and above versions

refer this simple link

http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8661

>2)WHY WE NEED BAPI'S FOR RFC LOOK UP

If you want to lookup backend you can use BAPI or RFC call to find values against any validation or so...