到底哪种类型的错误信息会阻止businesstransaction的保存
当试图在CRM WebUI保存一个business transaction比如Opportunity时,可能会遇到各种各样的错误消息。有的错误消息会阻止Business transaction被save,有的则不会。这些错误消息有何区别?
创新互联建站自成立以来,一直致力于为企业提供从网站策划、网站设计、成都网站设计、网站建设、外贸网站建设、电子商务、网站推广、网站优化到为企业提供个性化软件开发等基于互联网的全面整合营销服务。公司拥有丰富的网站建设和互联网应用系统开发管理经验、成熟的应用系统解决方案、优秀的网站开发工程师团队及专业的网站设计师团队。
通过debug, 发现method check_popup_to_raise 会检查当前是否存在会导致弹出popup window提示给end user的error message。此类error message会终止transaction的save process.


上图代码的逻辑翻译成文字就是:当且仅当一个message的navigation 属性被设置成abap_true且在system table CRMC_MESSAGES_S里存在对应的entry且其AUTO_EXEC 字段设置为abap_true时,才会弹出popup window并且阻止save:

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙"或者扫描下面二维码:


当前标题:到底哪种类型的错误信息会阻止businesstransaction的保存
链接URL:http://pwwzsj.com/article/pipcdg.html