如何将.net asp.net/windows应用程序连接到SAP? [英] How to connect an .net asp.net/windows application to SAP?

查看:62
本文介绍了如何将.net asp.net/windows应用程序连接到SAP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我一直在阅读很多关于以SAP作为后端连接基于.Net的应用程序的最佳方式的文章。大多数文章建议使用SAP .Net连接器我的团队已经在使用sap .net连接器。



我可以在不使用.net连接器的情况下连接到SAP的其他方式。 VS2013中的任何OOB?

Hi All,

I have been going through lots of articles about the "best way to connect .Net based applications with SAP as the backend". Most of the articles suggest to use SAP .Net connector My team is already using sap .net connector.

What are the other ways in which I can connect to SAP without using the .net connector. anything OOB in VS2013?

推荐答案

第一种方法:

使用SAP .Net Connector。

你可以创建SAP中的BAPI。

您可以使用RFC [通过.net连接器]连接到BAPI并从SAP获取/发送数据。



第二种方法:[。此方法不需要.NET Connector]

在SAP中为需求创建BAPI。使用BAPI将数据作为XML文件推送。

编写服务以选择文件并将数据传输到本地数据库。

然后在应用程序中使用相同的进行进一步的交易。



在这两种情况下,主数据库都是SAP。我们的本地数据库仅用于临时停放数据。一旦完成的事务将作为XML文件发送,其他SAP服务将获取它并更新SAP DB或将直接使用RFC发送给BAPI。



希望这有帮助!!



问候

Dinesh Kumar.V。
First Method:
Use SAP .Net Connector.
You can create BAPIs in SAP.
You can use RFC [via the .net connector] to connect to the BAPI and fetch/send data to/from SAP.

Second Method:[.NET Connector is not required in this method]
Create BAPIs in SAP for the requirement. Use the BAPIs to push the data as XML file.
Write a Service to pick the file and transfer the data to your local database.
Then use the same in your application to do further transaction.

In both the cases the primary Database will be SAP. Our Local DB will be used only for parking the data temporarily. The transactions once completed will be sent either as XML file where another SAP Service will pick it up and update the SAP DB or will be sent to BAPI directly using RFC.

Hope this Helps!!

Regards
Dinesh Kumar.V.


这篇关于如何将.net asp.net/windows应用程序连接到SAP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆