How To Fix 26173 - Each long text record must be preceded by a text record


SAP Error Message - Details

  • Message type: E = Error

  • Message class: 26 - Dokumentenverwaltung

  • Message number: 173

  • Message text: Each long text record must be preceded by a text record

  • Show details Hide details
  • What causes this issue?

    You want to copy document info records from an external system to your
    SAP System.
    The sequential file you created in your external system does not meet
    the specifications (see <DS:RE.RCVBI010>"Documentation of transfer
    program"</>).

    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?

    Correct the program in the source system that produces the sequential
    file.
    Each long text record (record type 3) must be preceded by a text record
    for the document (record type 2).

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 26173 - Each long text record must be preceded by a text record ?

    The SAP error message 26173, "Each long text record must be preceded by a text record," typically occurs when you are trying to create or modify long text entries in SAP, and the system expects a preceding short text record. This error is often encountered in transactions that involve text management, such as creating or editing material master records, sales orders, or other documents that support long text entries.

    Cause:

    The error arises because the SAP system requires that any long text entry must be preceded by a short text entry. This is a structural requirement in the way text records are organized in SAP. If you attempt to enter a long text without first defining a short text, the system will throw this error.

    Solution:

    To resolve this error, follow these steps:

    1. Check Text Entries: Ensure that you have entered a short text record before attempting to add a long text record. The short text serves as a header or identifier for the long text.

    2. Add Short Text: If you haven't added a short text, go back to the text entry screen and create a short text record. This is usually a brief description that summarizes the long text.

    3. Correct Sequence: Make sure that the sequence of your text entries is correct. The short text must always come before any long text entries.

    4. Review Text Types: If you are using different text types (e.g., for different purposes like sales, purchasing, etc.), ensure that you are following the correct format and requirements for the specific text type you are working with.

    5. Consult Documentation: If you are unsure about the specific requirements for text entries in your SAP environment, consult the relevant SAP documentation or help resources.

    Related Information:

    • Text Management in SAP: SAP allows for the management of texts in various modules, and understanding how to properly structure these texts is crucial for data integrity.
    • Transaction Codes: Familiarize yourself with transaction codes related to text management, such as ME21N (Create Purchase Order), VA01 (Create Sales Order), or MM02 (Change Material).
    • SAP Notes: Check SAP Notes for any specific patches or updates related to text handling that might address known issues or provide additional guidance.

    By ensuring that you follow the correct sequence of text entries, you should be able to resolve the error and proceed with your task in SAP.

    • 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:
  • 26172 File & cannot be created
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • 26171 File & created
    Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...

  • 26174 Version with change number & becomes valid in the future
    What causes this issue? You enter a change number in order to create a new version.System Response The system checks the valid-from dates of the exi...

  • 26175 File & was not copied
    What causes this issue? You want to create a new document by copying an existing document.System Response The system checks whether the original app...

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