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

why do we activate a program

Former Member
0 Likes
2,116

hi,

why do we activate a program or tables in sap.Though there is a option known as save why do we activate?

1 ACCEPTED SOLUTION
Read only

sreeramkumar_madisetty
Active Contributor
1,781

Hi

Only activated (active) versions can only be transported to the other systems.

In-Active objects can not be transported.

Suppose you save the object but not activated it will create the Inactive version.

Suppose at this moment of time other developer wants to use that object he can get the wrong results.

So objects have to be activated .

Regards,

kumar

10 REPLIES 10
Read only

sreeramkumar_madisetty
Active Contributor
1,782

Hi

Only activated (active) versions can only be transported to the other systems.

In-Active objects can not be transported.

Suppose you save the object but not activated it will create the Inactive version.

Suppose at this moment of time other developer wants to use that object he can get the wrong results.

So objects have to be activated .

Regards,

kumar

Read only

Former Member
1,781

I Think Activation is mainly to make that object available for Transporting..

Only active objects can be transported......

If any thing Wrong ,Please correct me

Read only

Former Member
1,781

Hi,

The program or any other object is activated so to make it available for execution.

Unless the program is activated it won't be ready to be executed .

With save button you can save your code but without activating it ,it will appear as inactive version which can't be executed.

Hope this helps.

Reward if helpful.

regards,

Sipra

Read only

Former Member
1,781

Hi,

When you activate a program, the activation process checks for syntax errors and then generates the active version. Finally, it generates a load version and deletes the corresponding entry from your list of inactive objects.

Regards

Sudheer

Read only

Former Member
1,781

Hi,

Unless you activate the Program, it it not available to all the users who ever wants to use it. It will become Global once you activate it. Programs are Client Independent.

Regards,

Anji

Read only

Former Member
1,781

Rose,

Once program is activated , it indicates thats, <b>its error free</b> and ready to be used for the applications.

Once its activated , its ready to be used in other programs.

Sujatha.

Read only

Former Member
1,781

Rose,

1.If objects are not active they are not available to System processors (ABAP

processor ,Screen processor and Database proceesor) .That time will get

syntax errors.

Ex: In your progarm ,added INCLUDES which are not active.That time all the

data which is in includes will not available to program.

2.System will considered only active objects to process.

3.To transport the Objects.

Pls. reward if useful

Read only

Former Member
0 Likes
1,781

hi

whenever we activate a program or a table it gets stored in the database.

so we need to activate every object after saving it.

Read only

Former Member
0 Likes
1,781

Only Active versions will get stored in the database, Inactive ones are stored only Temorarily .

Say u had written one short Program an saved it without activating,

Now if u run the program and u get a short dump,

Now If u try to retreive the same program in SE38 , it will ask for 3 options

1. Get Temporary version

2. Get Temporary version but keep original one--->

3. Get from database

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
1,781

Hi rose,

1. why do we activate a program or tables in sap

2. Program Activation :

<b>There are two versions or program a) Active and b) Inactive</b>

After we chanage a program, it goes into inactive version.

(Unless and untill we manually activate it)

Only we can use this inactive version.

(others will continue to use the Older Active Version)

(When we activate a program, the inactive version gets deleted)

3. <b>Table Activation :

When we activate the table, only at that time,

the physical table gets created in the database.</b>

(Before that, it is only contained as a definitino in the data dictinoary)

regards,

amit m.