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

Activation Problem with class/Attribute

Former Member
0 Likes
478

Hi everybody,

i wrote a small report that added a Attribute to a Class, with a "text" in it this works great so far. But i cant use the new added Attribute until i rename it activate it and then rename it again and activate it again. I think the runtime environment don't know about the new Attribute now my question is is there a possibility to refresh the runtime environment? Or activate the hole class? I'm thank full for every hint i get.

greetings

Moritz

3 REPLIES 3
Read only

Former Member
0 Likes
421

Hi

Welcome to SDN forum

in SE24 Tcode We can activate the class as a Whole when ever you add new attribute for it.check whether that attribute is used anywhere in the class

otherwise it will get activated

Regards

Anji

Read only

0 Likes
421

Thanks a lot when i use this transaktion it works. Now i got my last question can i do this automaticly in my report?

That its done in the background? Without manualy call the transaktion.

greetings

Moritz

Read only

0 Likes
421

i can answer my question my own now :).

I had to do a


CALL FUNCTION 'SEO_CLIF_SAVE_ALL'
       EXPORTING
            cifkey = clskey. 

at the end of the program. With this Function the Class etc got saved and activated. Everything is works perfectly now.

greetings