首先登录S/4HANA系统,在Custom Business object tile里找到自定义的BO:

点击Edit draft:

将Service Generation的勾打上,点击publish生成OData服务:

打开Custom communication Scenarios:

A communication scenario is the basis definition for a communication between systems. It defines a solution to be made available for external systems.
新建一个communication scenario:

取名Bonusplan:

将之前创建的服务添加到该新建的scenario的inbound service里去:

进入communication arrangement维护页面:

基于刚才创建的Communication scenario,新建一个Communication arrangement:

By exposing the service via custom communication scenario and communication arrangement, you will be able to select it from the list of services in a SAP Web IDE project.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2681755/ ,如需转载,请注明出处,否则将追究法律责任。