天天看点

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

Now I found root cause.

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

and this note Z004 has been successfully created in the buffer, not persisted to Database yet.

Then during order save, there is one BAdI implementation done by Zeiss:

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

And there is a logging rule defined by Zeiss:

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析
SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

And in My Opportunity, only the text type with Log type ( column Changes = P ) or edit type ( column Changes = " " ) are supported.

And in customizing, only text type ZR00 and Z004 can be supported in Fiori. Even all the content of Z004 has been copied to 0004, since 0004 is neither log type nor edit type, it will completely be ignored by Fiori. And the content of Z004 is deleted by BAdI on purpose, so finally no text is displayed in UI.

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

This behavior can also be observed in Webui:

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

After I click save button, the content of Z004 is merged into 0004. Z004 is gone from UI:

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

My question is: why Zeiss didn’t use the standard log type? Is there any specific function gap they found against the standard log type?

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

Anyway, if they would like to still use current solution, please clear the checkbox in column CLEAR_SOURCE_ID, then they can see the internal note in Fiori. At that time the internal note in Fiori will behave exactly the same as “Reason note”.

SAP CRM Fiori 应用 My Note 里创建 Note 失败的一个原因分析

继续阅读