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

Close

How To Fix W5145 - Please enter either a short text or a service master record


SAP Error Message - Details

  • Message type: E = Error

  • Message class: W5 - Messages for MM-WEB Applications and BAPIs

  • Message number: 145

  • Message text: Please enter either a short text or a service master record

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message W5145 - Please enter either a short text or a service master record ?

    SAP Error Message:
    W5145 – "Please enter either a short text or a service master record"


    Cause:

    This warning message appears in SAP when you are trying to create or process a service-related document (such as a service purchase order or service entry sheet) and neither a short text nor a service master record has been entered for the service item.

    In SAP, when you create a service item in purchasing documents, you must specify either:

    • A Service Master Record (a predefined service with a service number), or
    • A Short Text describing the service (free text description).

    If both fields are left empty, the system cannot identify what service is being requested or recorded, hence it issues this warning.


    When does it occur?

    • Creating or changing a Purchase Order (PO) with service items.
    • Creating or changing a Service Entry Sheet.
    • Any transaction involving service items where the service is not properly specified.

    Solution:

    To resolve the W5145 warning, ensure that for each service item:

    1. Enter a Service Master Record:

      • Use a valid service number from the service master (transaction code AC03 to display, AC01 to create service master records).
      • This links the service item to a predefined service with all relevant details.
    2. Or Enter a Short Text:

      • Provide a meaningful description of the service in the short text field.
      • This is used when no service master record exists or when a one-time service is ordered.

    Note: You must enter at least one of these fields. The system requires this to process the service item correctly.


    Additional Information:

    • Service Master Record: Contains detailed information about the service, such as service number, description, unit of measure, and pricing conditions.
    • Short Text: A free text field used for describing the service when no master record is available or needed.
    • This message is a warning (W), so depending on system configuration, you might be able to save the document but it is recommended to correct it to avoid issues downstream.
    • Check customizing in SPRO ? Materials Management ? Purchasing ? Service Master ? Define Service Master to ensure service master records are properly maintained.
    • If you frequently use free text services, consider creating service master records for standard services to improve data consistency.

    Summary:

    Aspect Details
    Message W5145 – Please enter either a short text or a service master record
    Cause Neither service master record nor short text entered for a service item
    Solution Enter a valid service master record or provide a short text description
    Related Transactions ME21N (Create PO), ML81N (Service Entry Sheet), AC01/AC03 (Service Master)

    If you need further help, check SAP Notes or consult your SAP MM/PM consultant for service master data setup.

    • 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'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