2020 Dec 02 9:38 AM
Hello,
I have strange issue after system copy... We are running SGEN after system copy with option Generate All Objects of Selected Software Components. But straight to that, programs or transactions behave like not compiled, loading takes some time, or maybe their are not buffered. Do you have any ideas what it should be?
Thanks in advance.
M.
2020 Dec 02 9:42 AM
Hi Martin - I have seen this happen myself - so far the best thread/explanation I see is from Tomas (SAP) here: https://answers.sap.com/questions/8795956/ehp5---system-compiling-after-sgen.html Tomas says "I'll provide some hints regarding the runtime of SGEN:
- initially it should be checked that SGEN is stuck because of lack of available work processes (DIA? BGD?). Please check this in SM50/66 and rearrange your WPs in RZ03.
Do you have any error message which you can see from your oracle alert log during such execution, etc? Sometimes defragmented state of the database may cause the difference too!
Transaction SGEN determines the so-called generation set through the options given in the first screen and the content of the file REPLIST. The resulting set is saved in table GENSETC. After that step the SGEN starts a maximum of 8 generation jobs in batch which then do the dirty work and process the content of GENSETC. So there are in actually two parts which are citical:
First part is SGEN related and means the calculation of the generation set.
Second part is the performance of the gen. jobs and this is out of control of SGEN. This is SAP system related and depends on resources of the system itself like main memory, number of cpu and last but not least, the database performance." etc.
2020 Dec 03 7:41 AM
Hi Tammy,
thank you for your comment.
We didn't spot any error in alert log during SGEN run. System resources didn't look exhausted during SGEN.
But we spot afterwards, that REPLIST file was missing on OS level. Could it caused the issue? Is missing REPLIST a problem?
Content of GENSETC table in SE16 looks like this:
PGMID OBJECT OBJNAME NAME COMPONENT GENSTATUS
561369 §_EL_NEW all_components_REPLIST X
Best regards,
Martin
2020 Dec 02 9:57 AM
Hi Martin.
After the SGEN, have you restarted the full system (SAP & database instances)?
Regards
SS
2020 Dec 03 7:25 AM
Hi SS,
we didn't restart full system after SGEN. What should be advance of this?
Best regards,
Martin
2020 Dec 03 8:48 AM
Hi Martin.
After the SGEN you have to do the full system restart, otherwise, all sap transactions performance are slow down, because of the SAP buffers values swaps are more, you can check in the transaction code ST02. better do the full system restart and then check the system.
Regards
SS
2020 Dec 02 10:24 AM
Did you read the KBA 2396180 - Programs are still being complied after SGEN execution?
2020 Dec 03 7:45 AM
Hi Raymond,
Thank you for your comment. Yes, I've read the KBA, but it's not related to our problem. We have one dialog instance, server.
Regards,
Martin.
2020 Dec 03 7:56 AM
Can you provide more information such as