如何在SAP S/4HANA里创建自定义的partner function-阿里云开发者社区

开发者社区> jerrywangsap> 正文

如何在SAP S/4HANA里创建自定义的partner function

简介: 如何在SAP S/4HANA里创建自定义的partner function
+关注继续查看

Requirement: create custom partner function and consume it in Service scenario in S/4HANA for Customer Management.


As introduced in my blog One Order Partner Component model in S/4HANA for Customer Management, there are corresponding fields in flat table CRMS4D_SERV_H which stores the ID of different party roles. How about if customers would like to create their own partner functions and maintain some business partners based on those custom partner functions?


image.png


Here below are the steps in detail.


(1) Create a new extension field with type Text and length equals to 10. For detail please refer to my blog One order extensibility in S4HANA for Customer Management.


image.png


Find the technical name of this extension field in backend: ZZ1_JERRYCUSTOMPARTNER_SRH


image.png


(2) Create a custom partner function Z0000002:


image.png



tcode SM30, maintain table CRMS4C_PARTNER:

maintain the extension field name and custom partner function ID as below:


image.png


(3) Create a new partner determination procedure:


image.png

and assign the custom partner function Z0000002 to the created procedure:


image.png


Create a new transaction type and assign the custom patner determination procedure to it:

image.png



Now it is ready for test.

It is possible now to maintain business partners with custom partner function in WebUI. In my example the partner ID is 142.


image.png


This partner ID is stored in the very extension field we created in the first step:


image.png


The partner with this custom partner function could still be read out via CRM_ORDER_READ:

image.pngimage.png

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
自定义LOG投递OSS数据Partition,优化你的计算
数据划分Partition OSS数据存储具有高可靠、低成本等优点,是海量数据存储的最佳选择之一,尤其适用于半结构化的日志存储,并可以结合E-MapReduce(使用Hive、Impala等计算引擎)通过schema-on-read方式加载数据做查询分析。
4025 0
怎么设置阿里云服务器安全组?阿里云安全组规则详细解说
阿里云服务器安全组设置规则分享,阿里云服务器安全组如何放行端口设置教程
8410 0
SAP Spartacus的自定义Angular Url Matcher实现
SAP Spartacus的自定义Angular Url Matcher实现
5 0
如何在 SAP Spartacus 里添加自定义页面 - Custom Page
网友提问 Add a custom page to Spartacus I would like to add a custom sub page (http://localhost:4200/image-upload) to spartacus. The Header and Footer should be the same. Just the content should be an upload form. 三个步骤 Add a new content page in CMS with page label /image-upload (with the leading slash
12 0
+关注
2628
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载