cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup returns null value, was previously working

Former Member
0 Kudos

Hi Experts,

I am facing a very strange issue, where my RFC lookup was working fine a couple of months back but is now returning a null value.

The interface was working fine and transported to quality and prod from dev, but now due to a change of addition of another lookup in the mapping, we tried to test the interface and it ceased to function.

I have checked the communication channel monitoring and the RFC cc is working fine.

I have re-imported the RFC, RFC_READ_TABLE and re-activated the mapping but no difference.

On adding the trace statements to the lookup UDF, while creating the DOM structure from the XML, the node equals null, even though the data exists in the SAP system from where the lookup is being made.

The RFC is returning the correct value while testing in se37.

Awaiting help at the earliest possible.

Thanks and regards,

Divya

Accepted Solutions (0)

Answers (2)

Answers (2)

abhay_rajhans2
Contributor
0 Kudos

Hi Divya,

Check the communication channel status in RWB.

If it is in red status, check the error.

And deactivate and again active the communication channel.

Former Member
0 Kudos

I have checked the communication channel status in RWB and it is green, the cc is functioning fine.

Tried changing and saving and re-activating, same result.

abhay_rajhans2
Contributor
0 Kudos

Hi Divya,

For both of RFC lookup are you using same RFC communication channel.

Then try to make Maximum connection in Communication channel as 2.

Check if it works.

Former Member
0 Kudos

Yes, using the same communication channel for both lookups, in fact there are multiple lookups during the mapping.

Have the maximum connections se6t as 200 !

former_member187339
Active Contributor
0 Kudos

Hi Divya,

Try to stop and start the RFC channel from Runtime workbench

Then re-test the interface

Regards

Suraj

Former Member
0 Kudos

Put an external breakpoint in the BAPI & it will stop when the BAPI is called.

Check what values are being passed at runtime?

Regards,

Siva Maranani

abhay_rajhans2
Contributor
0 Kudos

Hi Divya,

Last time we faced same type of issue. At that time we just reentred user id and Password mentioned in RFC channel and it worked. You can try this one also.

Former Member
0 Kudos

Thanks everyone for trying to troubleshoot this with me.

Siva,

Can you please let me know how to apply external breakpoints from se37? I tried doing that but the program was not interrupted like it usually is. The processing was normal from XI perspective.

Is there any log / transaction where you can see the breakpoint results?

My issue has been resolved but this will be good to know.

The user specified in the RFC channel did not have S_TABU_DIS authorisation, which is required to open the SAP table in read mode.

Former Member
0 Kudos

Reactivate the RFC channel you are using for RFC Lookup and check.

Regards

Shailesh