Amir - I am very interested in this same topic. This is related to my original post How to see if what a specific load process is doing? and a number of these topics seem to be winding up together.
I know the following to be true
- Each operation of table provisioning (Load/Replicate) creates a NEW function pool with all the relevant structure information and associated code or includes. I noticed this when attempting to delete an include in How to remove include from being referenced
In this example, there have been 7 Load executions for a given table, which can be reflected when I attempt to delete an include that was referenced previously.
- In IUUC_REPL_CONTENT include is referenced as a BOR event
Roadblocks I am hitting right now
- Some of my code that is executing in the include seems to making the load/replicate process hang, so I need to see what is truly happening.
- When I attempt to set a breakpoint prior to executing a load, I am prompted for a main program. As explained above, there can be multiple calling programs.
- When I attempt to debug, the user that is actually running the master job is not my id.
So any insight as to how to debug this would be a great help. I know this was discussed here http://scn.sap.com/thread/3419110