Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.