cancel
Showing results for 
Search instead for 
Did you mean: 

SGEN

Former Member
0 Kudos

Hi Friends,

We have implemented the support pack in our PRD system, but we didn't run SGEN, is it compulsory to run SGEN, will it have any perfomance impacts if we run SGEN or if we don't run SGEN.

Can we run SGEN when the users (nearly 300) are working on the system or should it be run when no users are logged in the system, as i am aware that it should be run under client 000.

Pl help.

We are getting Abap dumps relating to SYNTAX Error which is associated with the trans KE30 and when a user executes a program .GP3RJ9EZHS9CDOSH5X8D4P3YOOD, does running SGEN will help.

Thanks,

rama

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Mohan,

SGEN is ued to "compile" ABAP programs. Results are put in database.

If you restart SAP, The compiled results will still be in the database, so, no need to run SGEN again.

Make use of the transaction 'SGEN' to re-generate all the SAP programs after you change version of your SAP kernel, upgrade SAP system or apply support packages.

Frequently check the table spaces and use BRTOOLS to observe them.

So make this activity in a weekend which is the best or a period of time with very very low users activity.

IT will consume nearly 10-15 hours depending on the type of hardware configuration and the size of your database.

regards

Ahmed

markus_doehr2
Active Contributor
0 Kudos

> We are getting Abap dumps relating to SYNTAX Error which is associated with the trans KE30 and when a user executes a program .GP3RJ9EZHS9CDOSH5X8D4P3YOOD, does running SGEN will help.

No.

That program is a generated CO (CO-PA) report, a support package may invalidate the tables (new/changed fields etc.) Tell your CO guy to regenerate the report, he should know what to do.

Markus

Former Member
0 Kudos

Hi Rama,

After an upgrade, the ABAP loads for the SAP system programs do not yet exist. When you call a

program, a load is automatically generated, if it does not already exist. This may, however, reduce

production system performance. To avoid this, you can use transaction SGEN to generate the missing

loads.

Transaction SGEN offers the following functions:

--> Selection of predefined generation tasks. --> Choose Regenerate after an SAP System upgrade.

--> Selection of software components to restrict the amount of objects being generated (SAP_ABA,SAP_BASIS and so on)

--> Selection of the application servers for parallel generation

--> Generation in the background

--> Job Monitor for checking the progress of the generation in the background

Things to consider:

--> Do it during a weekend which is the best or a period of time with very very low users activity. It will takes about 5 to 8 hours depending on the type of hardware configuration you are using.

--> After the upgrade, do not start the load generation until after you have installed the new SAP kernel.Kernel parameters introduced with the new kernel might invalidate the loads.

--> If possible, generate the loads directly after the upgrade. Load generation requires a large amount

of system resources.

--> For a detailed description of the features, see the online documentation in transaction SGEN by

choosing Information on the SAP Load Generator , or in the Job Monitor by choosing Job Monitor .

Regards,

Kanthi Kiran.