SAP CRM系统里文本决定的二次执行逻辑调试

Text determination execution with two different mode

For opportunity creation case, the text determination procedure will be executed two times, each with different execution mode.
[First time]{.underline}

The trigger point is FM CRM_TEXT_DETERMINATION_EC,

SAP CRM系统里文本决定的二次执行逻辑调试

since this FM is registered as a callback via 1order event framework, detailed customizing could be found below:

SAP CRM系统里文本决定的二次执行逻辑调试

Note: under this mode ( mode value C - dynamic read ),

SAP CRM系统里文本决定的二次执行逻辑调试

only text objects configured as “Transfer = C” will be handled:

This logic could easily be found in code line 136: ( only text object with transfer = C can have chance to execute subroutine determine_text )

SAP CRM系统里文本决定的二次执行逻辑调试

[Second time]{.underline}

this time the mode is hard coded as B:

SAP CRM系统里文本决定的二次执行逻辑调试

B means save text:

SAP CRM系统里文本决定的二次执行逻辑调试

Under this mode, only those text objects which DO NOT have transfer = C will be handled.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP CRM系统里文本决定的二次执行逻辑调试