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: 
Read only

deprecated methods in ABAP OO

Former Member
0 Likes
1,148

Hello,

How can I mark a method in my own classes as deprecated? Is there a framework which supports this?

Kind Regards

Koen Van Loocke

1 ACCEPTED SOLUTION
Read only

matt
Active Contributor
0 Likes
793

To my knowledge, you can't and there isn't.

matt

Hello,

How can I mark a method in my own classes as deprecated? Is there a framework which supports this?

Kind Regards

Koen Van Loocke

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
794

To my knowledge, you can't and there isn't.

matt

Read only

0 Likes
793

Hi Koen,

As Matt said, really this option doesn't exist.

I usually add a comment in the description of the method (when Z), some times I insert an icon in this observation, this can be done through the following syntax( @8O\Q ) in description as follow.

Method Description => "@8N\Q this method should be avoided !"

Greetings.

Marcelo Ramos