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

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

问题描述

我需要从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?

推荐答案

a)假设它是一个Web应用程序,我将首先研究为您的Web开发人员提供一个RESTful HTTP API的选项,以供您通过javascript使用. (阅读:通过SAP网关的Odata服务).

a) Assuming it's a web application, I would first look into the option of providing a RESTful HTTP API for your web developers to use via javascript. (read: Odata services via SAP Gateway).

b)如果您可以满足SAP提供的标准API的要求,那么这仅仅是启用要公开的服务的问题.但是您将需要SAP知识才能使用这些服务.如果没有,那么为您的应用程序使用量身定制的API可能会更好.

b) If you can settle for the standard APIs delivered by SAP, it's "just" a question of enabling the services you want to expose. But you will need SAP knowledge in order to consume the services. If you don't have that, you may be better off with a tailor-made API for your application.

c)是.

任何受益于SAP数据的用户都必须以某种方式获得许可.其中包括导出到第三方系统的数据.在许可条款中,声明您应与SAP协商适用于导出数据或使用服务帐户进行连接的方案.

Any user that benefits from SAP data must be licensed in some way. That includes data that's exported to 3rd party systems. In the licensing terms, it's stated that you should negotiate with SAP for scenarios where you either export data or connect using a service account.

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

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