‎2005 Jun 14 8:16 AM
Hello..
I wanna ask the Difference b/w Generate a ABAP program and Activate a ABAP report program.
Saurabh Garg
Message was edited by: Saurabh Garg
‎2005 Jun 14 8:46 AM
Hi,
I think it's like this:
The option generate will compile your ABAP code to an executable runtime object.
The option active will set the program to active and replaces the active runtime object with the new compiled code. So anyone who will start the program will now use the new code.
The generation only will not do this. The users will still use the previously activated code (the "old" version).
Regards,
Arjan
‎2005 Jun 14 8:46 AM
Hi,
I think it's like this:
The option generate will compile your ABAP code to an executable runtime object.
The option active will set the program to active and replaces the active runtime object with the new compiled code. So anyone who will start the program will now use the new code.
The generation only will not do this. The users will still use the previously activated code (the "old" version).
Regards,
Arjan
‎2005 Jun 14 9:23 AM
Is it like generating the program means for testing purpose and activating the programming means using that code in project ?
‎2005 Jun 14 9:39 AM
‎2005 Jun 14 9:45 AM
Hi,
I know that the above link talks about activation of database tables. The concept in case of a program is not much different.
Just like you cannot access table components in your program without first activating the table, you cannot access the program and/or its components outside from other programs.
For example, you will not be able to SUBMIT the program from another program if it is not activated (at least once). You also cannot call a subroutine from this program from another program if it is not activated.
And remember, Activation always includes generation. Refer to the following link in the library as well -http://help.sap.com/saphelp_nw04/helpdata/en/d1/801a6e454211d189710000e8322d00/frameset.htm
Regards,
Anand Mandalika.
‎2005 Jun 14 9:35 AM
Yeah,
It is somnething like that.
For example: if you create or change a report in the ABAP editor and then generate it. If you than execute that program directly from the editor, you can see you are testing a temporary version of that program.
If activating it: your code becomes final and available for everyone.
But most of the time you just press CRTL-F3 (= acitvate) directly and start testing your new code.
Regards,
Arjan