Skip to Content
Author's profile photo Jerry Wang

User parameter COM_IOITF_DEBUG for object event history debug

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:

/wp-content/uploads/2014/04/clipboard1_440782.png

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

/wp-content/uploads/2014/04/clipboard2_440814.png

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.

/wp-content/uploads/2014/04/clipboard3_440815.png

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.

/wp-content/uploads/2014/04/clipboard4_440816.png

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

/wp-content/uploads/2014/04/clipboard5_440817.png

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

/wp-content/uploads/2014/04/clipboard6_440818.png

After I add this set type to object category,

/wp-content/uploads/2014/04/clipboard7_440819.png

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

/wp-content/uploads/2014/04/clipboard8_440820.png

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.