Skip to Content
author's profile photo
Former Member

SAP .NET Connector Web Service Issue

I'm calling from a C# .NET client to a C# .NET web service that uses the SAP .NET Connector to call a RFC in SAP.

The RFC performs a “Call Transaction”.

This RFC is executed, but the “Call Transaction” is never executed.

However, the “Call Transaction” IS executed if I call from a C# .NET client that uses the SAP .NET Connector to call a RFC in SAP.

i.e. Not using the Web Service.

We have an application that expects to use this web service in production.

Is this a known issue?

Can you provide any input?

Regards,

Lavaughn

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    May 22, 2004 at 04:37 PM

    I don't know why there would be any difference whether it's called from a WS or a client app. Make sure you are using the same connection information so it's not a security issue (userid/password). You can build both the WS and WS client with debug and step into the WS code to make sure everything is correct in the WS.

    Add comment
    10|10000 characters needed characters exceeded

  • May 24, 2004 at 07:50 AM

    Hello Lavaughn,

    if you mean with "Call Transaction" to call a GUI-Transaction, this might indeed not work in your case.

    Showing up a SAPGUI works as follows:

    - If you specify USE_SAPGUI in the connection string, the LIBRFC32 on the RFC client side will launch SAPGUI, if it is installed there.

    - If an ABAP module needs the GUI, the make the GUI visible in LIBRFC32 during the call.

    In your configuration you will have two problems:

    - A WebApp or WebService runs in the context of IIS. All lokal (GUI)-Windows will be "show" on a hidden desktop and thus cannot be seen. This is also the reason that ABAP_DEBUG doesn't work for Web Services and Web Apps.

    - Your final client might run on an even different machine. So the GUI would anyway brought up at the wrong place.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Maybe you have a permssion problem - I just created an Employee search iView - that searchs ADS and I had to impersonate a user (adding the impersonate option in the web.config file).