on 11-14-2014 11:12 AM
Hi All,
I am doing a RFC look up to send multiple inputs and get the value in a single call. I have created the RFC FM in this manner. Also done the PI configurations . I am not able to get any value in RFC. Can you please tell me if the design of my RFC FM is correct because I have included both the input and output under tables section or do I need to include the input under import parameters. Please find the below screenshot for reference. The RFC is working fine in ECC. But in PI I am not able to get anything.
This is the look up screen
Mapping Queue . RFC queue doesnt dispplay anything
Hi Amit,
To get multiple values in RFC lookup should be problematic, have you read this blog http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/01/28/graphical-rfc-lookup-and-how-you-...?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
I followed the same blog by Shabaaresh to do this development. But somehow I am not able to get any value. Even if I get some value then I can check and modify it accordingly. But currently I am getting nothing. Has it something to do with the design of the RFC FM. Any pointers where I can check .
Actually I am getting like this in mapping if I test.I guess the value itself is not going to ECC. Has it something to do with the declaration or something in ABAP.
7:40:31 Start of test Compilation of MM_RFC_LookUp successful
Execution of mapping on server took 2 milliseconds
Executed successfully 17:40:33 End of test
>>>Can you please tell me if the design of my RFC FM is correct because I have included both the input and output under tables section or do I need to include the input under import parameters
It should be possible in both the ways. I.e. when your import and export parameters of table types.
However you don't need to mention anything under import/export but define the required tables under table section(which acts as import and export)
Then handle the logic to return the required values in the FM.
Hi Amit ,
I tried mapping using the item node still I get the same output. No data is seen .
This is the RFC trace.
0:49:51 Start of test Compilation of MM_RFC_LookUp successful
Execution of mapping on server took 7 milliseconds
Executed successfully 10:49:52 End of test
Hi nabendu,
This is my RFC structure in PI under request and response. Do you feel any change needed here. Any help will be appreciated.
Hi Amit,
Check the Communication Channel you are using for the RFC Lookup. Do you see any error or entry?
Another point, do u see export and import parameters as of table type. You can check this in request and response of your RFC in PI. The node under root node would show as table type.
Regards,
Nabendu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amit
The RFC Lookup function is still having only 1 input. To perform a single optimized RFC call with multiple input values you need to have the "item" as an input too as mentioned by Amit Srivastava.
There is an example in my blog below (the last part) on how the input queues should look like for a correctly designed RFC Lookup call with multiple inputs. Make sure also to take note of the precautions so that it won't accidentally cause an infinite loop.
Rgds
Eng Swee
Hi All,
I am currently facing this issue. With single value I am able to get the ouput correclty. But for multiple values I checked in debug made the internal table is taking only the first value and not the second one. Can someone please tell me what needs to be done. Whether its a change on ECC side or anything to do with PI mapping.
Hello,
>>his is how it looks in debug mode when I am sending two values. It is taking only one
The way u are populating values in source structure is wrong. "ZSourceApplication" element occ is 0.1 so u cannot pass multiple values to this element in the same context.
So instead of that duplicate "Item" node and each item node should have only 1 "ZSourceApplication".
Thanks
Amit Srivastava
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.