Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Compiling SAP Programs using SAP Load Generator

It happens that after new SAP installation or migrating SAP you will face many programs compiling after calling any SAP transaction codes (like example below).

compiling-sap-program-using-sap-load-generator

That is really disturbing because you have to wait until the compiling finish then you can do the transaction. To avoid that you have to compile the SAP programs using SAP Load Generator (SGEN) as explained below.

1. Call transaction SGEN.

Choose “Generate All Objects of Selected Software Components” on the initial screen. And Press Continue to next step.

2. Select the Software Component you want to compile.

Note: Select all components for simplicity and press “Continue” to next step.

3. Use Parallel Process for quicker process (read How to create RFC Group for Parallel Processing  for detailed).

Press “Continue” to next step.

4. Now you will see the total number of objects to be generated.

Click “Start Job Directly” to start the compiling. You will read a message “The generation job was successfully scheduled or started” at the bottom left.

Click “Job Overview” icon to monitor your newly generated job.

5. Now you will read your new job is active.

6.  You can also go to SM50 – process overview to monitor the work process (read article How to check SAP Application Servers and Work Process for detailed).

7.  Go back to transaction SGEN. You can monitor the remaining objects and estimated time by pressing “Refresh” button.

Wait until the compiling process finish. Now you will not face program compiling anymore after calling any SAP transaction codes.

 

Leave a Reply