SAP S/4HANA Customer Management(CRM)模块的扩展性设计-阿里云开发者社区

开发者社区> jerrywangsap> 正文

SAP S/4HANA Customer Management(CRM)模块的扩展性设计

简介: SAP S/4HANA Customer Management(CRM)模块的扩展性设计
+关注继续查看

标题:One order extensibility in S4HANA for Customer Management

In SAP CRM we use Application Enhancement Tool(AET) to create extension field in a very convenient way.


When I was working on SAP CRM, I have also made some research on AET. Here below are some of my blogs in SAP community:


Insight into calculated fields created by AET

How extension field created by AET is rendered in Web Client UI

Define your extension field with custom behavior in AET

Create extension field with type Code List via AET

How to create new table as assignment block in service order overview page via AET

Inside AET: why “create field” button is visible in some UI while invisible in others?

In S/4HANA for Customer Management(called S4CRM for short in the following part of this blog), AET should no longer be used, since S/4HANA has its own extensibility tool, which instead should be used to create extension fields on S4CRM model like Product and One Order.


We are aware of the fact that there are indeed some features supported by CRM AET which is not available in current S/4 Key User Extension tool(KUT).

For example, there are some field type provided by CRM AET but not possible in S/4 KUT:


image.png


However this small limitation could never become a real showstopper in business process, so currently we leave it in S/4HANA for Customer Management 1.0.


image.png


How to create extension field using S/4HANA extension tool

Click tile “Custom Fields and Logic”:


image.png


Create a new extension field:


image.png


Specify field detail. The field creation UI looks almost the same as the one in CRM AET:

image.png



Select the created extension field and press “Publish” button in footer toolbar, which works as the “Save and Generate” button in CRM AET. Once done, the status should become “Published”.


image.png


Check CRMS4D_SERV_H in backend to ensure that the extension field appears in persistence table successfully.


image.png


Why the extension field is visible in CRMS4D_SERV_H? Launch S/4HANA tcode SCFD_REGISTRY, and double click the Business Context CRMS4_SERV_H, which is actually the technical model for business context “Service Header” visible in S/4HANA extension field UI.


The persistence include CRMS4S_SERV_H_INCL_EEW_PS is defined in this business context, and is included by CRMS4D_SERV_H. As a result, whenever an extension field is created based on business context CRMS4_SERV_H, the extension field will be available in include structure CRMS4S_SERV_H_INCL_EEW_PS and then automatically available in CRMS4D_SERV_H.


image.png



How to put S/4HANA extension field to CRM WebClient UI

In S/4HANA for Customer Management, all custom fields added through S/4HANA Extensibility tool will only be available in Customer_H/Customer_I BOL Component or context nodes.


However if you open BT116H_SRVO/Details in SAP CRM, you find that by default context node CUSTOMERH is not exposed.


image.png


Please follow the blog Enhancing a UI Component in CRM Web UI to expose CUSTOMERH in CRM UI component workbench. Use tcode SM34 and maintain view Cluster BSPWDVC_CMP_EXT to define an enhancement set ZCRMS4.


image.png



Expose context node CUSTOMERH and store the enhancement to this enhancement set.


image.png


Now you can see the created extension field under context node CUSTOMERH.


image.png


Make it visible via UI configuration as usual in SAP CRM:


image.pngimage.png



Now maintain some value in the extension field and save the change:


image.png


The value is successfully saved in CRMS4D_SERV_H:


image.png


With the same approach you can also create extension field on Product via S/4 extension tool and make it visible in Product search view and search result view in CRM WebUI:


image.png

image.png


How to read the extension field value via One Order API

Use CRM One Order API CRM_ORDER_READ:

image.png

The extension field value is stored in component CUSTOMER_H of One Order model:


image.png


Jerry’s other blogs on S/4HANA for Customer Management

S/4HANA for Customer Management 1.0 introduction from technical point of view

CRM One Order Model Redesign in S/4HANA for Customer Management 1.0 – Part 1

CRM One Order Model Redesign in S/4HANA for Customer Management 1.0 – Part 2

Create Mass Products by code in S/4HANA for Customer Management

Create Mass Service document in S/4HANA for Customer Management

One order extensibility in S4HANA for Customer Management


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

相关文章
阿里云服务器怎么设置密码?怎么停机?怎么重启服务器?
如果在创建实例时没有设置密码,或者密码丢失,您可以在控制台上重新设置实例的登录密码。本文仅描述如何在 ECS 管理控制台上修改实例登录密码。
10080 0
阿里云服务器如何登录?阿里云服务器的三种登录方法
购买阿里云ECS云服务器后如何登录?场景不同,大概有三种登录方式:
2962 0
阿里云服务器ECS远程登录用户名密码查询方法
阿里云服务器ECS远程连接登录输入用户名和密码,阿里云没有默认密码,如果购买时没设置需要先重置实例密码,Windows用户名是administrator,Linux账号是root,阿小云来详细说下阿里云服务器远程登录连接用户名和密码查询方法
11615 0
使用SSH远程登录阿里云ECS服务器
远程连接服务器以及配置环境
2511 0
阿里云服务器端口号设置
阿里云服务器初级使用者可能面临的问题之一. 使用tomcat或者其他服务器软件设置端口号后,比如 一些不是默认的, mysql的 3306, mssql的1433,有时候打不开网页, 原因是没有在ecs安全组去设置这个端口号. 解决: 点击ecs下网络和安全下的安全组 在弹出的安全组中,如果没有就新建安全组,然后点击配置规则 最后如上图点击添加...或快速创建.   have fun!  将编程看作是一门艺术,而不单单是个技术。
10883 0
如何设置阿里云服务器安全组?阿里云安全组规则详细解说
阿里云安全组设置详细图文教程(收藏起来) 阿里云服务器安全组设置规则分享,阿里云服务器安全组如何放行端口设置教程。阿里云会要求客户设置安全组,如果不设置,阿里云会指定默认的安全组。那么,这个安全组是什么呢?顾名思义,就是为了服务器安全设置的。安全组其实就是一个虚拟的防火墙,可以让用户从端口、IP的维度来筛选对应服务器的访问者,从而形成一个云上的安全域。
7496 0
阿里云ECS云服务器初始化设置教程方法
阿里云ECS云服务器初始化是指将云服务器系统恢复到最初状态的过程,阿里云的服务器初始化是通过更换系统盘来实现的,是免费的,阿里云百科网分享服务器初始化教程: 服务器初始化教程方法 本文的服务器初始化是指将ECS云服务器系统恢复到最初状态,服务器中的数据也会被清空,所以初始化之前一定要先备份好。
7365 0
阿里云服务器ECS登录用户名是什么?系统不同默认账号也不同
阿里云服务器Windows系统默认用户名administrator,Linux镜像服务器用户名root
4504 0
+关注
2628
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载