cancel
Showing results for 
Search instead for 
Did you mean: 

RFC lookup

Former Member
0 Kudos

Hi :

Can multiple values of a source message be put in an array and passed to a RFC call?

If so ,can someone send the code.

thnx

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

yes def we can do that. u need to have the table parameter defined in the rfc f.n mod. u may refer to: /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

Answers (2)

Answers (2)

Former Member
0 Kudos

you can,

Make a call to RFC_GET_FUNCTION_INTERFACE_US to get the structure of the rfc in xml format, filling it and then you can make the call to your rfc.

you can use as reference the code you'll find in my weblog.

/people/francesco.bersani/blog/2007/03/05/data-lookup-optimized

Hope this help

Francesco

prabhu_s2
Active Contributor
0 Kudos

also u can try with this blog for rfc lookup reference:

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

NOTE: U need to have the data type defined in the tables parameter of the rfc function module