Approach 2: Build a RESTful service for SAP outbound interface.
第二种方法:为SAP出站接口构建RESTful服务。
Approach 1: Build a RESTful service for the SAP outbound interface.
第一种方法:为SAP出站接口构建RESTful服务。
For the ALE outbound interface, we use a simple IDoc ALEREQ01 to keep the sample straightforward.
对于ALE出站接口,为了让示例简单明了,我们使用一个简单的IDocALEREQ01。
Therefore, the business logic just consists of an interface map, which maps the outbound interface to the inbound interface.
因此,业务逻辑只包含接口映射,即将出站接口映射到入站接口。
Finally, we will add an export for the outbound interface, generate HTTP binding for the export, and configure the binding with the above classes.
最后,为出站接口添加导出,为导出生成HTTP绑定,为绑定配置上面的类。
The sample for Approach 1 is: A user makes a HTTP GET request on the RESTful Web service from the URL below to retrieve the detail of a customer through BAPI outbound interface
第一种方法的示例是:用户通过以下URL向 RESTfulWeb服务发出HTTP GET请求,从而通过BAPI 出站接口获取客户的详细信息
The sample for Approach 1 is: A user makes a HTTP GET request on the RESTful Web service from the URL below to retrieve the detail of a customer through BAPI outbound interface
第一种方法的示例是:用户通过以下URL向 RESTfulWeb服务发出HTTP GET请求,从而通过BAPI 出站接口获取客户的详细信息
应用推荐