前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >如何创建SAP C4C Product list并用OData服务消费

如何创建SAP C4C Product list并用OData服务消费

作者头像
Jerry Wang
发布2020-03-20 12:57:36
4800
发布2020-03-20 12:57:36
举报

SAP Cloud for Customer里的product list创建:

我创建一个ID为161的product list,维护三个product进去:

三个product ID如下:

找到该product list对应的UI:COD_ProductList_OWL

这个UI对应的后台BO为ProductBusinessPartnerRelation:

新建一个C4C OData服务,取名productListOData:

BO选择刚才在UI designer里找到的ProductBusinessPartnerRelation:

选中BO之后,接下来选择BO节点,从Root出发:

对于该OData的权限控制,选择Produt Lists视图:

使用OData服务通过一次http调用,同时返回该product list包含的三个product:

https://my592.c4c.saphybriscloud.cn/sap/c4c/odata/cust/v1/productlistodata/ProductBusinessPartnerRelationCollection?KaTeX parse error: Expected 'EOF', got '&' at position 19: …ter=ID eq '161'&̲expand=ProductBusinessPartnerRelationProduct 我在C4C系统里添加的三个产品,包含在OData响应结构的ProductBusinessPartnerRelationProduct节点里:

展开这个子节点下面的三个对象,分别对应着product list里的三个产品:

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-03-19 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档