‎2008 Mar 10 10:23 AM
When using ABAP Editor, next to the program name it says Active or Inactive. I pressed F1, but there is no documentation available on this.
Can anyone explain what this means.
Thanks
Al Lal
‎2008 Mar 10 10:50 AM
I'm sorry to say that ALL the previous responses are incorrect or incomplete, except for Shibin.
"When it is inactive, it is like it would not exist at all:" no - it's like it only exists to you
"If we just saved that one means it is stored in application server not in database": no - the inactive version is also stored in the database. You can log off and log on and it will still be there, in its inactive status.
"Only active objects can be executed.": no - inactive objects can be executed by you
When you create or modify a program, it is inactive until you activate it.
With a change, there are two versions of the program stored in the database - the active version (as it was before you made your change), and the inactive version. If you attempt to run the program, you'll run the inactive version - the one with your changes. Everyone else on the system will run the active version.
In this way, you can make changes without affecting anyone else.
Once you activate your program, then the inactive version becomes the active version.
With a create, there is no active version, until you hit the activate button. This means ONLY you can run the program.
An additional benefit of this model, is that if you make a change, save it, and then change your mind without activating, you can recover the active version into the editor, using version management.
A downside is that sometimes you have to activate your change before you can test it, if it interacts with other, active, programs.
matt
‎2008 Mar 10 10:32 AM
Hi,
After creating a program ,you have to active that program.So that end user can run that program.
Hope this will help
Regards
Shibin
‎2008 Mar 10 10:33 AM
hi,
in SAP you have to activate your programs. When it is inactive, it is like it would not exist at all. By activation, there is also a syntax check carried out and you get a message if something is wrong.
hope this helps
ec
‎2008 Mar 10 10:37 AM
Hi friend,
Not anly in abap editor for any object we r creating it is in inactive only.Once we created we save that one.After that we will activate that one.Once we actvate that one it permanently stores in database.If we just saved that one means it is stored in application server not in database.
Reward if it is useful.
Regards,
Swetha.
‎2008 Mar 10 10:40 AM
Hi,
Activation means making the object compatible to R/3
This is done thru a series of checks like Syntax check.
The final step is activation.
If the object is activated then only the changes is updated .
‎2008 Mar 10 10:42 AM
Hi,
It means you program is not active and you will not be in a position to run. Only active objects can be executed.
Thanks,
Sriram Ponna.
‎2008 Mar 10 10:50 AM
I'm sorry to say that ALL the previous responses are incorrect or incomplete, except for Shibin.
"When it is inactive, it is like it would not exist at all:" no - it's like it only exists to you
"If we just saved that one means it is stored in application server not in database": no - the inactive version is also stored in the database. You can log off and log on and it will still be there, in its inactive status.
"Only active objects can be executed.": no - inactive objects can be executed by you
When you create or modify a program, it is inactive until you activate it.
With a change, there are two versions of the program stored in the database - the active version (as it was before you made your change), and the inactive version. If you attempt to run the program, you'll run the inactive version - the one with your changes. Everyone else on the system will run the active version.
In this way, you can make changes without affecting anyone else.
Once you activate your program, then the inactive version becomes the active version.
With a create, there is no active version, until you hit the activate button. This means ONLY you can run the program.
An additional benefit of this model, is that if you make a change, save it, and then change your mind without activating, you can recover the active version into the editor, using version management.
A downside is that sometimes you have to activate your change before you can test it, if it interacts with other, active, programs.
matt
‎2008 Mar 10 11:11 AM
hi,
Technically, activating these program objects involves:
Saving the content of the tool area
Performing a syntax check
(Provided there are no syntax errors), overwriting the active source text version
Regenerating the modified parts of the program (thus over-writing the generated version).
You can also activate individual program objects. This means that only the objects you selected are
regenerated and overwritten in the active version.
Once you have edited a program object and stored the changed version, an inactive source text version
of the program is created. It contains all the altered program objects. So that the end user gets the updated program you must activate it.
Hope this helps, Do reward.