如何在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

相关文章
|
5月前
|
开发者 数据处理 数据管理
SAP HANA 的不同类型
SAP HANA 的不同类型
SAP HANA 的不同类型
|
5月前
|
SQL 数据库 索引
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
|
5月前
|
Linux 开发工具 开发者
关于 SAP HANA 开发那些事
关于 SAP HANA 开发那些事
|
5月前
|
SQL 存储 数据可视化
SAP HANA 内存数据库不同类型的视图的应用场景介绍
SAP HANA 内存数据库不同类型的视图的应用场景介绍
|
5月前
|
数据库 存储 监控
什么是 SAP HANA 内存数据库 的 Delta Storage
什么是 SAP HANA 内存数据库 的 Delta Storage
什么是 SAP HANA 内存数据库 的 Delta Storage
|
5月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
5月前
|
安全 API 数据库
SAP ABAP OData 中 Function import 的概念介绍
SAP ABAP OData 中 Function import 的概念介绍
|
5月前
|
数据库
什么是 SAP S/4HANA 的 Brown Field 迁移和 Green Field 迁移
什么是 SAP S/4HANA 的 Brown Field 迁移和 Green Field 迁移
|
5月前
|
前端开发 数据库 开发者
如何在 SEGW 事务码里为 SAP ABAP OData 服务实现 Function Import 试读版
如何在 SEGW 事务码里为 SAP ABAP OData 服务实现 Function Import 试读版
|
5月前
|
数据库 存储 安全
使用 SAP HANA Cloud 的一些优势
使用 SAP HANA Cloud 的一些优势
使用 SAP HANA Cloud 的一些优势

热门文章

最新文章

下一篇
无影云桌面