cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup - Multiple Values issue

Former Member
0 Kudos

Hello Expert.

On my SAP PI 7.1 I'm trying to map a list of values to RFC Lookup which returns for each value a certain flag.

I can see all the values in the queue of the function but the RFC itself gets the first value only under Tables (checked also with external debug in the ECC).

Followed the discussions and blog but nothing works.

What could be the problem?

Regards.

Motty Gal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Problem solved.

A small hidden error in the mapping.

Thank you all for your help.

Motty.
.

Muniyappan
Active Contributor
0 Kudos

still i dont understand how you solved it.  can you explain what that small hidden error in mapping?

what did you do to solve it?

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Gal,

We had the same issue.the below blog helped me to solve.Please check

Thanks,

Akhila.A

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

It could be just context handling, can you share a screenshot of the rfc used in your lookup?

Regards,

Mark

former_member186851
Active Contributor
0 Kudos

Hello Gal,

Check for the RFC whether it can return multiple values. Delete repeated word to execute the RFC in SE37 by giving multiple values.

Once the RFC code is well set for multiple values reimport the metadata. Stop/start the channel

Former Member
0 Kudos

Hi Raghuraman.

I have over 11 years of experience in the highest level of ABAP.

The FM is OK and debugged as I said.

Motty.

former_member186851
Active Contributor
0 Kudos

Hello Gal,

Great to hear.

Please post the mapping screenshots with RFC let us check the context.May be something wrong there.

nikhil_bose
Active Contributor
0 Kudos

If all fields are visible, try to clear RFC cache

NWA > Availability & Performance > Resource Monitoring > JCo Monitoring > Meta data cache

Delete cache for table of function module

Regards,

Nikhil Bose

Former Member
0 Kudos

Hi Nikhil.

I'm working on 7.11 and cannot find the path you gave.

Do you know the path for my version?

Motty

nikhil_bose
Active Contributor
0 Kudos

Hi Gal,

Sorry about the wrong information. Please try following:

In case RFC is re-imported, and its not reflecting at run-time, do a CPA cache refresh

2) If you are mapping elements in the same queue, change context to the element.

You can change Trace level to "ALL" in the mapping testing tool to see the entire values set in RFC

Regards,

Nikhil Bose

arunneerolil
Contributor
0 Kudos

Motty,

Did you change the RFC after the metadata import ?

Try reimporting the RFC metadata in to the ESR.

Also do an external debugging inside the RFC to make sure that the values are getting passed and the RFC itself is working properly.

regards,

Arun