ITPub博客

首页 > 应用开发 > IT综合 > SAP CRM里的user parameter之COM_IOITF_DEBUG

SAP CRM里的user parameter之COM_IOITF_DEBUG

原创 IT综合 作者:i042416 时间:2020-09-16 12:53:39 0 删除 编辑

The object event history could record the event of the object involvement in business scenario such as adding an individual object to a business transaction.

The record is done via IOITF ( Object integration framework ). The detail functionality explanation and necessary could be found in  SAP help.

There is a useful user parameter which is not clearly documented in SAP help:



My issue

After I finish all necessary customizing and add one object to service order, the event history assignment block is empty. I expect there is one entry which records the



I set the user parameter as X in SU3 and remove the object from service order and add it once again, it will stop everywhere the method CL_COM_IOITF_DEBUG~BREAKPOINT is called. So we can debug to investigate the handling logic of IOITF framework.



In order to find the root cause for my dedicated issue, I create a dynamic breakpoint on ABAP keyword MESSAGE, since I assume there must be some error message raised which blocks the event creation.



After I click F8 the debugger stops at the code where one error message is raised:



Go upper callstack and I know the framework complains the necessary settype COM_COMMERCIAL is not assigned to object category.



After I add this set type to object category,



After that once I add the object to service order, I could see the expected record in object Event History assignment block.



要获取更多Jerry的原创文章,请关注公众号"汪子熙":


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24475491/viewspace-2721601/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
测试

注册时间:2018-01-20

  • 博文量
    3822
  • 访问量
    1985379