cancel
Showing results for 
Search instead for 
Did you mean: 

RFC doesn't return any records?

Former Member
0 Kudos

Hi,

I have RFC which takes one input parameter and returns

a table.

When i called the RFC from the portalcomponent with

passing one input parameter it didn't return any record.

But when i tested the RFC in SE37 with the same input

parameter it returned one record as a output.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What is the name of that RFC??

Thanks & Regards,

Govind.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sundar,

In SAP some inputs should be prefixed by zeros "0".

In se37 when you run the RFC it implicitly adds the zeros and your RFC executes correctly and return you the correct result.

But, when you are passing a value to these type of inputs from the Portal Components you should explicitly write code to add zeros either in your code or when you are passing the value to the RFC manually prefix the zeros and execute the RFC.

Hope it solves your problem.

Regards,

Maheswaran.B

Message was edited by: Maheswaran B