1

How can messages set in ABAP code be shown in Eclipse?

 1 year ago
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.
neoserver,ios ssh client
5 days ago

How can messages set in ABAP code be shown in Eclipse?

66 Views

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:

sdlp-call-stack-from-adt-02.jpg

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:

sdlp-call-stack-from-adt-01.jpg

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

3 comments
19 hours ago

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

18 hours ago

What happens in Eclipse if you change that warning to an error?

17 hours ago

If I change it to an error, I get errors in Eclipse when I try to open one of the impacted sources:

grafik.png

When I switch it back to a warning message, the code opens fine but w/o displaying the message.

Attachments

grafik.png (7.4 kB)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK