Application Development 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: 

activate vs inactivate

Former Member
0 Kudos

plz xplain me in depht abt activate and inactivate......is it possible 2 check the output with out activate...the material teach only basis but i want 2 know whats happen internally

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Ya we can run the program with out activation and see the corresponding output.

But the thing is if you are not activate means the last coding you added will not saved.

Thanks,

Reward If Helpful.

8 REPLIES 8

Former Member
0 Kudos

hi subu,

When tables, types (data elements, structures, table types) and views are activated, they are placed at the disposal of the runtime environment in the form of runtime objects. These runtime objects contain the information about the object in a form that is optimal for access by ABAP programs and screens. The runtime objects are buffered so that ABAP programs and screens can access the information relevant to them quickly.

ABAP programs and screens get the information they require about ABAP Dictionary objects from the runtime objects. Changes to ABAP Dictionary objects are determined by comparing the time stamps (see Runtime Objects). Changes to ABAP Dictionary objects therefore become effective in all system components when the objects are activated.

When an object is activated, all the objects dependent on it are also reactivated.

After changing a domain, for example changing the data type or the length, all tables in which a field refers to this domain must be reactivated. This ensures that all these tables are adjusted to the changed technical field information.

Activating an object can therefore affect numerous dependent objects. Prior to activating a modified object, you should therefore find out what the effect of this action will be. You can display all the objects that are dependent on an object with the Where-used list in the maintenance screen of the object.

You can also activate a large number of objects simultaneously using the mass activation program.

If a long runtime is expected in an activation because of a large number of dependent objects (for example, if a domain that is used in many tables is to be activated), you should choose Activating Objects in the Background for the object.

pls reward if helpful...

Former Member
0 Kudos

Hi,

Ya we can run the program with out activation and see the corresponding output.

But the thing is if you are not activate means the last coding you added will not saved.

Thanks,

Reward If Helpful.

Former Member
0 Kudos

ya subu... it is possible to run your report without activating.. if u r not activating your report than it'll not show any effect if it is being used anywhere else in system..

but if u want to see output... u can run it w/o activating it..

reward points if useful..

0 Kudos

How i can do that? I want to run/execute the program without activating every time! The reason is because i practise with some exercises and i change things in my code all the time and every freaking time it asks me to activate it first and then see the output of my code. I want to see the output of my code 1st and then activate the program if i want!

0 Kudos

Thanks for coming to SAP Community for answers. Please post your question as a new question here:

Since you're new in asking questions here, check out our tutorial about asking and answering questions (if you haven't already), as it provides tips for preparing questions more effectively, that draw responses from our members.

Please note, that your post here won't be answered.

Former Member
0 Kudos

hi,

wen we activate, object object which is in application server gets transfered to database server

regards

siva

Former Member
0 Kudos

hi Gem's

thanks 4 ur very gud xplanation............

rgd

subu

former_member194152
Contributor

Hi,

Yes you can execute report without active it but only for test purpose if you want to transport that report to other server then all component used by that report should be active.activation of object perform commit work to database otherwise that object is not in data dictionary.

in case of module pool if you dont activate ur program then it will not run.

SAP Script and smart form also not run without activation they all took previous activated version instead of latest inactive version.

Regards

Gagan