on 07-18-2006 12:35 AM
I'm trying to call an RFC from a ASP.NET 2.0 web page. We are using Visual Web Developer Express,
so we followed the documentation which says to use Visual Studio 2003 and the SAP .NET Connector.
We will then copy the generated class files to our VWD project. The problem we are having is that
the .NET Connector is not generating any class files.
Here are the steps we followed:
1. Created a C# class library application.
2. Added an SAP proxy to the application as follows:
a. `From the VS.NET menu, choose Project Add New Item
b. Select the SAP Connector Proxy template and choose Open.
c. In the VS .NET Server explorer, right-click on SAP Servers and select Add Server.
d. Complete the SAP logon information and choose ENTER.
e. The folders BOR and Functions appear. If not, recheck your logon information.
f. To add a function filter, right-click on the functions filter and select Add functions filter.
g. Search for the function or BAPI you want to use and drag and drop it to the design surface of SAPProxy1.sapwsdl. This is the proxy designer you added in step a. The message Fetching Data, loading data, please wait a second appears.
In the SAPProxy1.sapwsdl designer you are at this point supposed to be able to see one or more RFM (methods) and any SAP structure and table parameters.
We can see methods and structures with parameters. The next step is supposed to be delete the Visual Studio generated class, for example, Class1.cs.
But in our case there is no generated class. Any ideas on what we should be trying next?
Have you turned on the "Show all files" button in top of the Solution Explorer? After doing so you should see a "+" sign on the .sapwsdl file. Expanding it shows the generated files.
PS: Why do you want to delete the files generated by .NET Connector?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try doing a "Build" after the methods were added to the Designer? It is during the Build process that the Classes get created. As stated in an earlier post "Show All Files" needs to be set.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.