SAP CRM Application Extension Tool的Custom Behavior

简介: SAP CRM Application Extension Tool的Custom Behavior

In this blog Insight into calculated fields created by AET


I introduce one approach to define your extension field with your specific logic via calculated field supported in CRM Application Extension Tool ( AET ).


If your logic is too complex to be covered by the embedded formula in calculated field editor in AET, for example there are some ABAP coding involvled, you can try another apporoach:


(1) Create a new entry in table AXT_BEHAVIOR


image.png


(2) Your custom behavior could be implemented in class ZCL_AXT_CUSTOM_BEHAVIOR, which inherites from class CL_AXT_ABST_BEHAVIOR_HDLR.

Depending on your logic, different methods must be redefined.


For my requirement, I just would like to add a timestamp each time the extension field is maintained, so I have to only redefine the following methods.

a. define the appearance of extension field:

image.pngimage.png

(3) When you create extension field, choose “Not defined” as Field type, and choose the entry maintained in step1 as “Render/Validate As”:


image.png


Click Enable Expert Mode and assign one data element to this extension field:


image.png


Generate the extension field and make it visible in WebUI. After I maintain some value for this field and click save:


image.png


the ADJUST_SET method of handler class is called and the timestamp is appended:

image.png


相关文章
|
4月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
4月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
|
4月前
|
中间件
什么是 SAP CRM Initial Download
什么是 SAP CRM Initial Download
|
4月前
|
存储 数据管理 数据处理
SAP CRM 里 Attachment 搜索的实现逻辑介绍
SAP CRM 里 Attachment 搜索的实现逻辑介绍
|
4月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
4月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
什么是 SAP ABAP 里的 Subscreen
|
4月前
|
数据库
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
SAP CRM产品主数据无法根据产品描述字段进行搜索的原因
|
4月前
|
Android开发 Windows 缓存
WTS 上打不开 SAP ABAP Development Tool,遇到文件目录 read only 的问题
WTS 上打不开 SAP ABAP Development Tool,遇到文件目录 read only 的问题
WTS 上打不开 SAP ABAP Development Tool,遇到文件目录 read only 的问题
|
4月前
|
中间件
如何在 SAP CRM 系统调试 Product Initial Download
如何在 SAP CRM 系统调试 Product Initial Download