Skip to Content
avatar image
Former Member

RFC doesn't return any records?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 25, 2006 at 08:49 AM

    What is the name of that RFC??

    Thanks & Regards,

    Govind.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2006 at 06:20 AM

    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

    Add comment
    10|10000 characters needed characters exceeded