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

Difference b/w Generate and Activate a programme

Former Member
0 Likes
1,104

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
948

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

5 REPLIES 5
Read only

Former Member
0 Likes
949

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

Read only

0 Likes
948

Is it like generating the program means for testing purpose and activating the programming means using that code in project ?

Read only

0 Likes
948

Hi Saurabh,

There was a similar discussion on this sometime back. I would like to refer you to that. Here's the link -

Regards,

Anand Mandalika.

Read only

0 Likes
948

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.

Read only

Former Member
0 Likes
948

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