Trace type-pool usage in ABAP program
I have quite a complex function group with multiple external includes in the group's top include. The code of some functional modules of the group relies on VRM type-pool (and I can see that in 'Environment Analysis' results - Shift-F4). There is no corresponding TYPE-POOLS: VRM statement in the group code, so I deduce that this statement is somewhere in the external includes.
I would like to find out, through which include (or, possibly, chain of includes) this type pool is available in my function group.
My idea is to comment out includes gradually until the types from the type-pool become unavailable. It seems to me quite a clumsy way.
Can you probably recommend an easier, smarter way to do that?
Thanks in advance!