How can messages set in ABAP code be shown in Eclipse?
source link: https://answers.sap.com/questions/13894543/how-can-messages-set-in-abap-code-be-shown-in-ecli.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Hi All!
I'm currently implementing a simple logic in the SE38 customer exit include ZXSEUU08 which just checks if an entry exists in a Z-table and if it does, displays a warning message for the user before an object can be displayed or edited:
If possible, I'd like to get the same warning message when an impacted object is opened via the ADTs in Eclipse. I already know that the code is actually accessed when I open a program or include via ADTs as this is clearly visible in a dynamic logpoint:
The LV_EXISTS is set to 'X', so if the code is opened in SE38, the warning message gets displayed. Is there a way to make the message show up in the ADT as well?
Thanks much and cheers
Bärbel
Bumping my question as it seems to have flown under the radar (based on just 26 views in four days).
I'm really interested in understanding how the (old) GUI-based exits and the ADT in Eclipse interact with each other.
Thanks much and cheers
Bärbel
What happens in Eclipse if you change that warning to an error?
If I change it to an error, I get errors in Eclipse when I try to open one of the impacted sources:
When I switch it back to a warning message, the code opens fine but w/o displaying the message.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK