How To Fix BT138 - Failed to update number of jobs after job &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: BT - Background processing messages

  • Message number: 138

  • Message text: Failed to update number of jobs after job &

  • Show details Hide details
  • What causes this issue?

    The SAP system was unable to update the number of successor jobs of the
    job named in the message. This update must be made in order to reflect
    the job deletion that you have requested.
    The failure suggests that there is a problem with the database system or
    with the network connections between the SAP application servers and the
    database system.

    System Response

    Successor count of the job named in the message has not been updated.
    The job deletion has been terminated without deleting the job.

    How to fix this error?

    To analyze this problem, start by checking the <DS:TRAN.SM21>system log
    </> for messages about network or database problems. You can also use
    the <DS:TRAN.SRZL>computing center management system</> to check your
    system for problems.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message BT138 - Failed to update number of jobs after job & ?

    The SAP error message BT138, which states "Failed to update number of jobs after job &," typically occurs in the context of background job processing in SAP. This error indicates that there was an issue updating the job count in the system after a specific job has been processed. Here are some potential causes, solutions, and related information for this error:

    Causes:

    1. Database Lock Issues: There may be a lock on the database table that is preventing the update from occurring.
    2. Job Status Conflicts: The job might be in a status that does not allow for updates, such as being in a canceled or terminated state.
    3. System Resource Issues: Insufficient system resources (like memory or processing power) can lead to failures in job processing.
    4. Configuration Issues: Incorrect configuration settings in the job scheduling or background processing settings can lead to this error.
    5. Transport Issues: If the job was transported from another system, there might be inconsistencies in the job definitions or settings.

    Solutions:

    1. Check Job Status: Review the status of the job in transaction SM37 (Job Monitoring) to see if it is in a valid state. If it is canceled or terminated, you may need to delete it and recreate it.
    2. Database Locks: Use transaction SM12 to check for any locks on the relevant database tables. If you find locks that are not being released, you may need to unlock them.
    3. System Resources: Monitor system performance using transaction ST02 (Tune Summary) or ST06 (Operating System Monitor) to ensure that there are sufficient resources available.
    4. Reconfigure Jobs: If the issue persists, consider reconfiguring the job settings or recreating the job to ensure that all parameters are correctly set.
    5. Check Logs: Review the application logs (transaction SLG1) for any additional error messages or warnings that could provide more context about the failure.
    6. SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that may address this specific error or provide patches or updates.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SM37 (Job Monitoring), SM12 (Lock Entries), SLG1 (Application Log), and ST22 (Dump Analysis).
    • Background Processing: Understanding how background processing works in SAP can help in troubleshooting issues related to job scheduling and execution.
    • SAP Community: Engaging with the SAP Community forums can provide insights from other users who may have encountered similar issues.

    If the problem persists after trying the above solutions, it may be necessary to contact SAP support for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


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