cancel
Showing results for 
Search instead for 
Did you mean: 

what happens when we generate an object or program in sap

Former Member
0 Kudos

hello everyone,

guys i want to know what exactly happens internally when we generate an object or a program.

is it that the changes made to the program or table are updated to all the other related objects.

if so then what does the SGEN do, as it is for the purpose of loading and generating all the objects including standard objects.

need some light on this.

question may look simple, but still i want to know what is actually happening inside the system.

thnks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The source code is stored in text form in table REPOSRC, but to run a program you have to compile it first. Like you don't run a C program directly.

The compiled versions of a program are stored in table REPOLOAD. SGEN simply mass compiles programs.

Cheers Michael

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos
Nibu
Contributor
0 Kudos

Hi

Internally SGEN  generates the runtime of the programs.  ABAP loads are generated as you aware during SGEN to make transactions fast . We can say its a kind of compilation .Yes , changes through upgrade,SP updates are updated .