Hi lgor Spector,
Could You please elaborate your requirement once.
actually in that component do_prepare_output there is a lo_source variable.
lo_source is holding current work item. based on that get the linked_coll i.e you will get linked data in that.
ICCMP_DOC_LINK/LinkHeader impl class there is method. get_refdoc_entries( ). check that method that might be help full to you.
Thanks & Regards,
Srinivask