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

Activate Class from Code

Former Member
0 Likes
1,152

Hi Experts,

How I activate class from my code [ie not SE24!] ?

I have no problem create class using SEO_CLASS_COPY, but can't activate it. I try SEO_CLIF_SAVE_ALL as I found in forum, but doesn't work for me.

Anyone got any other idea?

Thx,

Bip

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
888

Use fm SEO_CLASS_ACTIVATE.

a®

Read only

0 Likes
888

Thanks I'd tried that and I get;

<myclass>=====================CCAU does not exist, even though rc = 0 from function.

Don't know what this means...

Bip

Read only

0 Likes
888

I tried this way and working fine for me

Call the following fm first

SEO_ATTRIBUTE_ACTIVATE

SEO_EVENT_ACTIVATE

SEO_METHOD_ACTIVATE

SEO_TYPE_ACTIVATE

then go for

SEO_CLASS_ACTIVATE

OR

Your class keys are correct? if it is correct then

call function 'SEO_CLASS_EXISTENCE_CHECK'

then go SEO_CLASS_ACTIVATE

a®

Read only

0 Likes
888

thx again.

Looking inside that fm SEO_CLASS_ACTIVATE all it does set the activation status to 'A', but in SE24 still nothing is actually active.

Tried in a 4.7 system, I get no error in here but no activate either!

Bip.

Read only

0 Likes
888

a®s - could you post your code please so I can try my side?

thx,

Bip