Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: "Key" property gets lost when editing class in eclipse

pokrakam
Active Contributor
1,243

When a class implements interface IF_WORKFLOW, an additional "Key" property column appears in the SE24 editor's Attributes tab. However this setting gets cleared for all attributes whenever the class's public section gets changed using Eclipse.

I've never encountered this in a long time of using eclipse so am 90% convinced this used to work OK. Currently seeing this on the latest ADT with both and 7.4 SP11 and 7.5 SP2

If anyone from SAP reads this and can confirm it is a bug: Please let me know if it's more convenient to report this via OSS and I can open a message.

1 ACCEPTED SOLUTION

UweFetzer_se38
Active Contributor
1,049

Hi Mike,

this problem is solved with Note 2400131.

Cheers, Uwe

15 REPLIES 15

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,049

Hi Mike,

it will helpful if you mentioned the ADT version too.

BR, Suhas

retired_member
Product and Topic Expert
Product and Topic Expert
1,049

Forwarded url to ADT

pokrakam
Active Contributor
0 Kudos
1,049

Sorry was too lazy to look it up and just wrote "latest" as I'd checked for updates this morning. It's 2.77.1.

UweFetzer_se38
Active Contributor
1,050

Hi Mike,

this problem is solved with Note 2400131.

Cheers, Uwe

SuhaSaha
Product and Topic Expert
Product and Topic Expert
1,049

Hi Uwe,

Normally someone from the ADT Dev Team posts the release notes for the new releases, but i couldn't find one for 2.77.

Are you aware of any such release notes?

BR, Suhas

0 Kudos
1,049

This was not directly an ADT problem. The problem also occured with the Source Code Based Editor in SAP GUI.

The note solved the problem in both development envionments.

1,049

Yes, please! I just spent the last half hour unsuccessfully trying to find the release notes.

0 Kudos
1,049

Thanks Uwe. We have a system upgrade pending so can't apply the note at this time, but I will take it on good faith it solves the issue.

0 Kudos
1,049

Hi Mike,

the problem with the disappearing flag is solved, believe me 😉

One problem is still there and will probably never be solved: in the source you cannot see, that the flag is set and you cannot set the flag itself in the code. You still have to go to the formular based editor once after you inserted the interface IF_WORKFLOW.

Maybe the kernel team will add a pseudo command for this in the future ...

Uwe

0 Kudos
1,049

Yes this has never been a code-level feature, I would have thought it would be relatively simple to add a keyword that maps to the table field that the setting represents.

But as setting the flag is a one-off (when it works properly), I can live with it. In most cases it's pretty obvious what the key is and there are more important features and bugs to deal with. Exception classes and persistent classes are also not quite eclipse-ready, but I don't hold out much hope for persistent classes.

Armin_Beil
Product and Topic Expert
Product and Topic Expert
1,049

Hi Raghu,

ADT Release Notes are called "What's New" and can be found at

1) Help Portal - Note that the URL contains a NW release number that you might have to adjust for later versions
2) Within ADT itself: choose menu Help -> Help Contents -> open the relevant guide in the tree (e.g. ABAP Development User Guide) -> What's New ...

There is one What's New section per development guide. Besides these there are usually blogs by Thomas Fiedler or Wolfgang Woehrle, so you could additionally follow them on SCN.

Best regards,
Armin

Armin_Beil
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,049

Hi Suhas,

please see the answer for Raghu regarding release notes.

Best regards,
Armin

0 Kudos
1,049

Sweet! Thank you!

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,049

Thanks Armin for the link...

I see that with the 2.77 version you have added the "Run as ATC with..." Option ... Big Thanks for that 🙂

1,049

Just to follow up: we upgraded to 7.5 SP6 and the bug was still there. Applied note and it's fixed. The note is valid from 7.5 SP7