SAP .NET连接器3.0的项目没有显示在Visual Studio 08,10,等了等了、连接器、项目、NET

2023-09-03 03:07:08 作者:乖乖妞

我得到了新的SAP .NET连接器3.0应该是工作的Visual Studio 2008和2010年。我只是想创建一个C#控制台应用程序,我去项目菜单中添加一个新项目,但我做的没有看到SAP的代理项目。我在想什么?

I got the new SAP .net connector 3.0 that is supposed to work for visual studio 2008 and 2010. I just tried to create a C# console application and I went to the project menu to add a "new item" but I do not see an SAP Proxy item. What am I missing ?

我知道的.NET连接器2.0,但我不希望2.0版本。我已经看到了code项目的文章等等等等,所以请不要张贴链接到一篇文章引用了2.0版本。 SAP .NET连接器3.0的全部目的是利用VS 2010。

I am aware of the .net connector 2.0 but I do not want the 2.0 version. I've already seen the code project article etc etc so please do not post a link to an article referencing the 2.0 version. The whole purpose of SAP .net connector 3.0 is to utilize vs 2010.

我也采取了从C 2的dll文件:\ Program Files文件\ SAP \ SAPDotNet(sapnco.dll和sapnco_utils.dll),并引用我的C#应用​​程序的文件。我也有一个参考System.Web.Services。

I've also taken the 2 dll files from C:\Program Files\SAP\SAPDotNet (sapnco.dll, and sapnco_utils.dll) and referenced those files in my C# application. I also have a reference to System.Web.Services.

我应该现在能右击我的项目,添加项目和这些项目中的一个应该是一个SAP的代理对象的项目...

I should be now able to right click my project and "Add Item" and one of those items should be an SAP Proxy object item...

推荐答案

3.0连接器不以这种方式工作。从文档:

The 3.0 connector doesn't work this way. From the documentation:

随着.NET连接器2.0中,NCO设计时会生成一个代理方法   对于要调用每个ABAP功能模块,以及一个特定的类每个   结构或表类型,这个功能模块引用。你不得不创造   从这些结构/表类的对象,并将它们传递到代理方法   对应于该功能模块

With the .NET Connector 2.0, the NCo design time would generate a "proxy method" for each ABAP function module you want to call, and one specific class for each structure or table type that this function module is referencing. You had to create objects from these structure/table classes and pass them into the proxy method corresponding to the function module.

现在与.NET连接器3.0,不再有任何形式的产生code。

好:

在没有Visual Studio的版本依赖性。 小变化,SAP功能不破客户端。 在没有产生code。

为:

在无自动完成。你必须阅读的功能和数据类型声明。在SAP或调试器。

的文档和示例的。