‎2010 May 03 8:38 AM
I have a list of "touched objects" that I have to loop through and see recursively where-used until I get to the highest level e.g. programs and transactions. However, function module 'DD_OBJ_CROSSREF' sometimes returns top-down links e.g. TABL to DTEL or TABL to DOMA links. I have excluded these links in my code, but many others exist that cause an endless recursion loop.
There are more than 50 object types in my list, so to set up my own list of allowed links will be a lengthy task and error-prone.
Is there an alternate function or method I can use where a parameter exists to indicate desired direction of crossref?
‎2010 May 05 10:55 AM
There aren't many options. This function covers the following DD objects as the name suggests
when 'DOMA'
or 'DTEL'
or 'TABL'
or 'APPD'
or 'SQLT'
or 'VIEW'
or 'SHLP'
or 'TTYP'
or 'ENQU'
or 'MCOB'.
For when 'PROG'
or 'REPO'
or 'REPS'.
I had to read wbcrossi
For when 'FUGR'.
I used call function 'FUNCTION_INCLUDE_INFO'
For 'CLAS' I'm stuck in a more complex read from WBCROSSGT.