cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding RFC look up

former_member581827
Participant
0 Kudos

Hi All,

I am working on one scenario file to File.

In file structure one of the field should be checked against a standard table and needs to retrieve value.For this we need to use RFC Look up.

Does any one have any document step by step how it can be achieved.

Do we need to create UDF and that can be used in Message Mapping.

Your advice is appreciable...

Regards,

Chandra.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member581827
Participant
0 Kudos

vdvsd

Former Member
0 Kudos

Hi Chandra,

Go for this Artical written by Michal : for doing RFC lookup

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1...

Thanks

Farooq.

Former Member
0 Kudos

HI,

Refer the below weblog for RFC lookup:

• RFC lookup using JCO (without communication channel)

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

• RFC lookup with communication channel.

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

Function of the Lookup API -

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api

Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

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

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

The steps are as follows:

• Develop and test ABAP function module.

• Develop and test Java method within Integration Repository/message mapping tool.

Now pass the value which need to be compared to the ABAP import parameter of the function module and under that function module compare the value which is passed through XI and return the result of that FM to XI after the validation.

thnx

Chirag Gohil

Former Member
0 Kudos

Hi Chandra,

u need to create a UDf for this...

Use this crazy piece for any RFC Mapping Lookups:

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

check this thread u can find some :

Reward points if usefull.

Former Member
0 Kudos

Hi,

Yes we have to write UDF which will be used in message mapping.

But ,before writing UDF,we need to write java code for calling RFC using NWDS.Then that file containing code for calling RFC is used under the imported archives in ur design.

after importing that file under imported archives,now u will use that file while writing ur UDF in message mapping.

Regards,

Anoop

Former Member
0 Kudos

hi Chandra,

Have look at this forum discussion for RFC lookup

Also this blog

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

regards

Ramesh P