2022 Jun 30 6:12 PM

Hi Experts,
My Requirement is to get Screen Stack Programmatically. I tried using FM 'SYSTEM_CALLSTACK' but it only returns ABAP Stack. Also tried class CL_TPDA_CONTROL but was unable to get it working.
Thanks and Regards
2022 Jun 30 7:10 PM
As rule-of-thumb, all *TPDA* objects essentially work inside the Two-Process Debugger ABAP...
What do you want to achieve?
2022 Jun 30 7:49 PM
No. It's not your requirement. It's how you've thought might be a way to achieve your requirement.
What is it you're trying to achieve? Why do you want to do this?
2022 Jul 01 5:52 AM
I want to get the field name for which the conversion routine is triggered. Any ideas on how it can be achieved?
2022 Jul 01 7:10 AM
if you want to do something different for a specific fieldname, why didn't you change directly the field exit related to the domain of the fieldname ?
2022 Jul 01 7:36 AM
FIeld Exits are deactivated by default since 6.10, and have been considered obsolete for many years.
2022 Jul 01 7:45 AM
2022 Jul 01 7:45 AM
2022 Jul 01 7:55 AM
I want to get the field name for which the conversion routine is triggered. Any ideas on how it can be achieved?
Ok. And what will you do with this field name, once you've got it? Again - what are you trying to do? What is the end goal?
2022 Jul 01 7:56 AM
The above screenshot is an example of an enhancement in conversion exit only. But I want it to behave differently for different fields. For that, I need to field the name for which it is getting triggered.
The end goal is to manipulate the values based on field names. I know there are other ways to achieve this, but using this way it can be done from a single point.
2022 Jul 01 9:07 AM
I assume when using CL_TPDA_CONTROL you just got exceptions. It seems these methods only work within the debugger.
Sorry. I can't think of a way of achieving your requirement. I think you'll have to use your other ways.