日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2023/12/19 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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:

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.

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

Click tile “Custom Fields and Logic”:

Create a new extension field:

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

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”.

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

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.


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.

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.


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

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

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



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

The value is successfully saved in CRMS4D_SERV_H:

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:


How to read the extension field value via One Order API

Use CRM One Order API CRM_ORDER_READ:

DATA: lt_guid TYPE crmt_object_guid_tab,lt_customer_h TYPE crmt_customer_h_wrkt.APPEND 'E04F430697291EE7AEAA0367A1F2DB37' TO lt_guid.CALL FUNCTION 'CRM_ORDER_READ'EXPORTINGit_header_guid = lt_guidIMPORTINGet_customer_h = lt_customer_h.

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

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

要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

總結

以上是生活随笔為你收集整理的SAP S/4HANA Customer Management(CRM)模块的扩展性设计的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。