How To Fix SR142 - Change of logon data; set new password


SR142 - Overview

  • Message type: E = Error

  • Message class: SR - RFC utilities

  • Message number: 142

  • Message text: Change of logon data; set new password

  • Show details Hide details
  • What causes this issue?

    A password has already been saved in the specified destination. The user
    or client used for the logon to the target system was changed when the
    function module was called, but you want to retain the old password
    (KEEP_PASSWORD = 'X').
    The password cannot be retained in this situation, for security reasons.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    When the function module is called, the password must be specified (in
    the parameter PASSWORD) or initialized (KEEP_PASSWORD = SPACE ).

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SR142 - Change of logon data; set new password ?
    The SAP error message SR142, which states "Change of logon data; set new password," typically occurs when a user attempts to log in to the SAP system and their password has expired or needs to be changed for security reasons. This is a common security measure in many organizations to ensure that passwords are updated regularly.
    
    Cause: Password Expiration: The user's password has reached its expiration date as defined by the system's password policy. Password Change Requirement: The system may require users to change their passwords after a certain number of logins or after a specific time period. Security Policies: Organizational security policies may enforce regular password changes or require users to change their passwords after a certain event (e.g., first login, after a security breach).
    Solution: To resolve the SR142 error, the user needs to change their password. Here are the steps to do so: Log in to SAP: When prompted with the SR142 message, you

    Already have an account? Login here!




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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker