Skip to Content
Apr 08, 2014 at 11:46 AM

cl_abap_get_call_stack (or the equivalent) - use at own risk or don't...?



I have a "twisted" requirement, which I cannot reject as unfeasible, and where I don't see a way to implement it without programming a wild "dependancy" on the context in which my logic will be called: "am I called in IS-U Print Document Display functionality call chain?". Does anyone know what is SAP's attitude towards using cl_abap_get_call_stack - i can't find a single use outside a testclass in ABAP 702, SAP ERP 605 System, but it does seem to function well. Has anyone experience using it? Has anyone a better alternative (looking at sy-cprog or sy-tcode will certainly not cut it).

Thank you,