前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Workaround for Search for my account in MyAppointment

Workaround for Search for my account in MyAppointment

作者头像
Jerry Wang
发布2019-05-29 20:50:34
3790
发布2019-05-29 20:50:34
举报

版权声明:本文为博主汪子熙原创文章,未经博主允许不得转载。 https://cloud.tencent.com/developer/article/1438552

This is a requirement raised from ERCO. For detail requirement description please refer to here.

在MyAppointment的Fiori application里,点击Account field的F4 help,逻辑是把后台所有的(如果有指定top参数,就返回top参数指定个数的数据)account都返回给ui:

https://:4080/sap/opu/odata/sap/CRM_APPOINTMENT_SRV/AccountCollection?KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲top=40&KaTeX parse error: Expected 'EOF', got '&' at position 19: …and=MainAddress&̲select=accountID%2cMainAddress%2fcity%2cMainAddress%2fcountry%2cfullName&$inlinecount=allpages

如果期望仅仅返回只属于logon user的account集合,可以添加line 1798的代码:( isMyAccount )

这样,传入后台的http request header如下:

CL_CRM_BP_ODATA_RT_ACCOUNT

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

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

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

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

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