Skip to Content
author's profile photo
Former Member

Proxy generated, but without method definition

Hello,

Upon generation of a proxy of an RFC on 4.6c, the class definition does not contain the target method.

However the method is visible in the visual studio design front end, but not invokable programatically.

This problem is specific to a particular rfc.

The other RFC's generated contain the method definition.

Is there some setting issue on the SAP server side or on the client side?

I am using VS.net

Microsoft Visual C# .NET 69461-270-0000007-18490

SAP .NET Connector 2.0.

SAP 4.6c

Thank you,

Amit

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • May 10, 2005 at 07:29 AM

    To help you on this issue, we need more input:

    - Name of the RFC function that doesn't work.

    - The .sapwsdl file (or at least a snipped of it).

    - The generated .cs or .vb file (the one that contains the proxy) or at least a snipped of it.

    Best you open a OSS support ticket and attach the files.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Reiner Hille-Doering

      I got the same problem and could't solve it.

      It only happens when calling custom functions.

      The SAP Lib doesn't generate the method codes.

      Any tips on the directions I should go ?

      Thanks !

  • author's profile photo
    Former Member
    Oct 04, 2005 at 06:48 PM

    I could work around this problem and fix it by selecting True on CreateTRFC on the options tool box. After that, it generated the Source Codes.

    Add comment
    10|10000 characters needed characters exceeded

    • This sounds like a "mark dirty" issue: If - for any reason - the designer is not maked dirty and thus not showing a "*" in the title, it could happen that it's not saved and no code is generated. Another possible workarriund would be to move one of the icons a little bit.