cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup - Multiple Values Issue - Only first record sent to backend

suwandi_cahyadi
Contributor
0 Kudos

Hi,

My SAP PI system version is 7.4 single stack.

I am using an RFC lookup to the backend S4 system in one of our GUI mapping. In the backend's FM, we use table parameter so that we can send multiple values at one call just like what posted in this blog. However, when we send multiple data, the backend only receive the first record. This has been proven from debugging at the backend side.

At first import of the FM to PI it works successfully. But after sometime (not sure what the trigger is), the backend it started to receiving only the first record. This problem is similar to what posted in this thread.

Thank you.

alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Suwandi,

if your issue is similar to the thread that you refer to, then obviously the root cause might be your message mapping, and most likely a wrong chosen mapping context, so you should look into this, upload a sample file, and check your context

Alex

suwandi_cahyadi
Contributor
0 Kudos

Hi,

Thank you for the comment. It's not clear what was done to fix the issue in that thread. However, I could change the context to fix the issue, but it would make the RFC called multiple time depends on the context which could result in worse performance, and it breaks the purpose suggested in the blog mentioned in the question.

It also would not answer why this problem occur only after some time. Because at first, it works just as expected. Multiple values sent, multiple values received at the backend. When the issue occurred for the first time, I've tried (trial and error) some fixing, and in the end I just copied the backend FM, re-import the FM to PI, change the RFC call to the new FM, test the mapping with the same payload, and the issue was solved. But now, the problem occurs again.

And also what I have tried is, in the RFC mapping there is a button called CleanUp, if I press the CleanUp button, and then do a displayQueue in the GUI mapping, then the issue will be solved. But it only works from displayQueue not from testing the payload.

Thank you.

Accepted Solutions (0)

Answers (0)