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

How to activate class method???

Former Member
0 Likes
3,775

Hi All,

How to activate class method?

Class Name - CL_HRCE_MASTERSWITCHES

Method name - CHECK_RELEASED

In se80 this method is showing red, means it is inactive.

Please guide me how to turn it to green?

And there is commented code "* ce_is_released = true."

How to uncomment it?

Is i need to apply access key to do this?

Regards

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
1,869

Hi,

Showing in RED are not inactive, But they Private methods , showing in GREEN are public methods

a®

6 REPLIES 6
Read only

Former Member
0 Likes
1,869

Go and access that same class in se24 if it comes there then...activate there itself..

and Even..in SE80..also..u can go to change mode and you can activate it...

regards,

anilreddy

Read only

former_member194669
Active Contributor
0 Likes
1,870

Hi,

Showing in RED are not inactive, But they Private methods , showing in GREEN are public methods

a®

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,869

Hello Rohan

The LEDs have the following meaning:

- green = public method
- yellow = protected method
- red = private method

Regards

Uwe

Read only

aaron_morden2
Contributor
0 Likes
1,869

I believe it is showing in red because it is a Private method, not because it is inactive.

You will need an access key if you want to change this method in any way.

Read only

Former Member
0 Likes
1,869

Thanks for reply.

It means We need to apply access key to uncomment following code in method

Class:CL_HRCE_MASTERSWITCHES

method CHECK_RELEASED .

  • for pilot customers the functionality is released,

  • for all others not to be a pilot customer please check note 520965

  • then activate this line here

  • ce_is_released = true.

endmethod.

Regards

Read only

Former Member
0 Likes
1,869

This message was moderated.