cancel
Showing results for 
Search instead for 
Did you mean: 

http-xi-RFC synchronous call - multiple records ?

Former Member
0 Kudos

Hi Gurus,

Can we have multiple records processing in RFC synchronous call ? for ex, BAPI_COMPANY_GET_DETAIL. I want to feed multiple company ids and get the responses in browser.

I have changed cardinality in message mapping and interface mapping as <b>o to unbounded.</b> Tested the same which works fine.

But, <b>when I activated the interface mapping, I get an error</b> which says I can not use multi mapping in synchronous RFC call.

what is the alternative ? please help.

Accepted Solutions (0)

Answers (4)

Answers (4)

vijay_b4
Active Contributor
0 Kudos

Hi Mallik and Gemma,

If you haven't already, please apply note 878943. Hopefully, this should take care of your problem.

check with your BASIS team and see if they can apply this note.

Check this link for more info:

Reward points if this helps

Regards

Pragathi.

Former Member
0 Kudos

Hello Mallik

I have the same problem as you. Have you fix the error?

I have an scenario like FILE-XI-RFC, in file i have multiple lines, and for each line, i need call the RFC. I don'tt want to change BAPI to accept table by modifying import/export etc.

Please, it is possible to do? or not...

Thanks in advance.

Gemma

Former Member
0 Kudos

HI,

It is better to use the RFC lookup in mapping and get the multiple records , i men each one for one lookup , so that in your mapping use UDF for RFC lookup.

see the below link

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

Also read thru this to get more idea on lookups - http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0

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

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

Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffb...

Regards

Chilla

Former Member
0 Kudos

hi mallik,

multi mapping can be used only with BPM. hence create a BPM.

if you dont want to use multi mapping ,change the signature(import,export types)

of RFC appropiately(use a table to accept input).

Regards,

kausik

Former Member
0 Kudos

Hi,

I have tried file-RFC-File using BPM(/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit)

This works fine for single record in input file. How do I process <b>multiple records</b> for this scenario ?

I do not want to change BAPI to accept table by modifying import/export etc.

Thanks in advance