从 PHP 中提取数据的 SAP 连接 [英] SAP connection to extract data from PHP

查看:36
本文介绍了从 PHP 中提取数据的 SAP 连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从 SAP ERP 中为第三方系统提取数据.第三方系统必须能够按需从 SAP ERP 远程请求数据(即来自给定员工的信息).所以重点是对给定资源进行查询(主要是员工、库存、库存).因此,每个请求传输的数据应该很小.该系统基于PHP.

I need to extract data from SAP ERP for a third-party system. The third-party system has to be able to request remotely data from SAP ERP on demand (i.e. information from a given employee). So the point is to make queries (mainly employees, inventory, stock) for a given resource. Therefore the data to transfer should be small for each request. The system is PHP-based.

我的问题是:

a) 执行此任务的最佳方式

a) Best way to carry out this task

b) 我是否需要在 SAP 内部进行一些操作或编码以启用此类 Web 服务/API?

b) Do I need to carry some operation or coding within SAP to enable such web service/API?

c) 是否需要购买任何许可证?

c) Is it needed to purchase any license?

推荐答案

正如我们顾问所说的视情况而定",但不知道更多是一种可能的反应.没有从 SAP 中提取数据的标准方法(当然,您总是可以直接访问 SQL 服务器,尽管这令人不悦)您需要让 SAP 开发人员编写一个远程启用的 FM,您可以将其公开为 Web服务(可能是最佳选择)或与 RFC 库一起使用时,Web 服务将提取您正在查找的特定数据并使其可用于您的应用程序.

As we consultants say "it depends" but not knowing more is a possible response. There is no standard way to extract data from SAP (of course you could always go to the SQL server directly though this is frowned upon) You will need to get a SAP developer to write a remote enabled FM that you can expose either as a web service (might be the best option) or for use with an RFC library the web service would extract the specific data you are looking for and makes it available to your application.

至于许可,您需要询问您的公司您是如何获得许可的,但没有用于连接到 SAP 以提取数据以用于其他应用程序的特定许可.

As far as license, you would need to ask your company about how you are licensed but there Is no specific license for connecting to SAP to extract data for use in another application.

希望能帮助您入门.

稍后.....

这篇关于从 PHP 中提取数据的 SAP 连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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