Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix OK034 - Pleas wait. A generation program is running


SAP Error Message - Details

  • Message type: E = Error

  • Message class: OK - Logical database PS

  • Message number: 034

  • Message text: Pleas wait. A generation program is running

  • Show details Hide details
  • What causes this issue?

    You have started a report program that uses the logical database PSJ.
    Programs are being generated to optimize the run time and the memory
    usage for the tables. Because of DDIC changes this program is being
    generated at the moment. Please wait.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message OK034 - Pleas wait. A generation program is running ?

    The SAP error message "OK034 Please wait. A generation program is running" typically occurs when a user attempts to access a transaction or perform an action that requires a generation program to complete, but that program is still running. This can happen in various contexts, such as when generating reports, processing data, or executing background jobs.

    Cause:

    1. Concurrent Execution: The generation program is already running in the background, and the system does not allow multiple instances of the same program to run simultaneously.
    2. Long Processing Time: The program may take a long time to complete due to the volume of data being processed or system performance issues.
    3. Locking Mechanism: SAP uses locking mechanisms to prevent data inconsistencies, which can lead to this message if another user or process is currently using the same resources.

    Solution:

    1. Wait for Completion: The simplest solution is to wait for the current generation program to finish. You can check the status of background jobs in transaction SM37 (Job Monitoring) to see if the job is still running or if it has completed.
    2. Check Job Status: Use transaction SM37 to monitor the job status. If the job is taking too long, you may need to investigate further.
    3. Cancel the Job: If you determine that the job is stuck or taking an unusually long time, you can cancel it from SM37. However, be cautious with this approach, as it may lead to data inconsistencies.
    4. Contact Basis Team: If the issue persists or if you are unsure about canceling the job, contact your SAP Basis team or system administrator for assistance. They can provide insights into system performance and job management.
    5. Review System Performance: If this error occurs frequently, it may indicate underlying performance issues with the SAP system. Consider reviewing system resources, database performance, and optimizing long-running jobs.

    Related Information:

    • Transaction Codes:
      • SM37: Job Monitoring
      • SM21: System Log
      • ST22: Dump Analysis
    • SAP Notes: Check for any relevant SAP Notes that may address specific issues related to the generation program you are working with.
    • Documentation: Review SAP documentation for the specific module or transaction you are using to understand the expected behavior and performance characteristics.

    By following these steps, you should be able to address the "OK034" error message effectively.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant