cancel
Showing results for 
Search instead for 
Did you mean: 

RFC lookup with PI 7.1

former_member745782
Active Participant
0 Kudos

hello everybody,

i'm using a new mapping function RFC Lookup in my mapping.

I'm working with PI 7.1

I find 2 documents talking about it but no one explain where set the PARAMETER for runtime use (only for test).

I upload RFC function

I set paramenter in Message Mapping in Signature tab (i called RFCChannell).

For test use i set the paramenter in Test Tab.

But where i need set it for runtime ???

thanks

Alex

Accepted Solutions (1)

Accepted Solutions (1)

prasannakrishna_mynam
Contributor
0 Kudos

Hi,

where i need set it for runtime ???

I hope you have tested the lookup in mapping using PARAMETERS in TEST tab, In order to configure that value at runtime you need to follow the following steps.

1. In Operating Mapping you need to bind the imported parameters created in Message Mapping's signature level.

2. At Interface Determination level you need to set the value to the import parameter, this enables you to assign value of communication channel at runtime.

Regards,

Prasanna

former_member745782
Active Participant
0 Kudos

2. At Interface Determination level you need to set the value to the import parameter, this enables you to assign value of communication channel at runtime.

where???

i cannot find WHERE set this parameter in Interface Determination

prasannakrishna_mynam
Contributor
0 Kudos

Hi...

Have you done the parameter binding in Operational Mapping, because it is the prerequisite to set values at Interface Determination level.

For parameter biding, you need to click the parameters tab in Op.Mapping and give the parameter name and map it to the parameter from Message Mapping.

Regards,

Prasanna

former_member745782
Active Participant
0 Kudos

ok thanks.

Now i found it.

I have a strange problem now.

My RFC need return me a paramenter (numc10).

If i use it from ABAP i receive bach the correct value, but when i call from RFC Lookup in mapping she gave me back only 0000000000.

Did u know the reason?

Shabarish_Nair
Active Contributor
0 Kudos

execute the RFC in SE37 and check the result.

Maybe you are passing the wrong input and hence it is returning the output as 0000000000

former_member745782
Active Participant
0 Kudos

if i run SE37 and run , the result is correct.

If i debug the function i can see also correct value sent back.

But when value arrive in PI..... is wrong

Former Member
0 Kudos

Hi ..

try restarting (stop n start) theRCF channel once and refreshing the cache once.

Regards,

srinivas

former_member181962
Active Contributor
0 Kudos

Hi,

Pass the inputs with padding zeroes if necessary.

Se37 automatically adds padding zeroes when testing from SE37.

Regards,

Ravi Kanth Talagana

former_member745782
Active Participant
0 Kudos

i tried to restart Channell.

no result

former_member745782
Active Participant
0 Kudos

i trasformed return data from numc to string.

Now i have back the number witout zeros.

No result.

In SE37 function work correctly but from RFC Lookup no.

I'm sure the function is called because ne result number is saved in a custom Table. But we have not back it in graphical mapping.,

Former Member
0 Kudos

Hi,

Can you give the source input payload which you are sending to RFC Lookup?

Regards,

---Satish

former_member745782
Active Participant
0 Kudos

RFC Lookop step don't work correctly.

I create my User Defined function and this way work perfectly!

Answers (1)

Answers (1)

former_member204873
Contributor
0 Kudos

For runtime define parameter in Interface determination.

Check this blog:

/people/shabarish.vijayakumar/blog/2009/12/07/parametrized-java-mapping-in-pi-71-plus-some-other-delicacies