Month: February 2023

CRM BADI:ADDRESS_UPDATE check communication address

Last post, we learn the amazing of  access CHATGPT for SAP ABAP develop of a SQL demo. Chatgpt  will code ABAP source quickly. Today we learn BADI:ADDRESS_UPDATE to check CRM field communication address. Purpose: 对于角色为服务商的员工在保存时,如果状态变为“启用中”,则需要检查通讯方式中的数据是否填写了。如果检查到没有填写,则不能保存。 When to trigger: 创建或者修改CRM服务商员工主数据上的“通讯数据” 保存CRM员工主数据时触发 How to do enhancement T-code: SE19 BADI:ADDRESS_UPDATE 实施:ZSV_ADDRESS_UPDATE 实施类:ZCL_IM_SV_ADDRESS_UPDATE 方法:ADDRESS2_SAVEDT 示例代码Sample Code METHOD if_ex_address_update~address2_saved. *———————————————————————————–* *”———————————————————————————-*