How To Fix SD155 - Specify documentation type "E" or "M"


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SD - Online doc., terminology, translation, help

  • Message number: 155

  • Message text: Specify documentation type "E" or "M"

  • Show details Hide details
  • What causes this issue?

    You have specified an invalid value for program parameter
    <DS:DE.DOKU_TYP> Documentation type</>.

    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?

    To generate the statistics for originals, enter "<ZH>E</>".
    To generate the statistics for enhancements, enter "<ZH>M</>".

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SD155 - Specify documentation type "E" or "M" ?

    The SAP error message SD155, which states "Specify documentation type 'E' or 'M'," typically occurs in the Sales and Distribution (SD) module when there is an issue with the documentation type specified in a sales document. This error is often related to the configuration of sales documents and their associated documentation types.

    Cause:

    The error arises when the system expects a specific documentation type for a sales document but does not find it. The documentation types 'E' (for delivery) and 'M' (for invoice) are commonly used in the context of sales documents. The error can occur due to:

    1. Incorrect Configuration: The documentation type may not be properly configured in the system.
    2. Missing Entries: The required documentation type may not be defined in the relevant configuration settings.
    3. Document Type Mismatch: The document type being processed does not match the expected documentation type.

    Solution:

    To resolve the SD155 error, you can follow these steps:

    1. Check Document Type Configuration:

      • Go to the SAP Customizing Implementation Guide (SPRO).
      • Navigate to Sales and Distribution > Sales > Sales Document > Define Sales Document Types.
      • Ensure that the documentation types 'E' and 'M' are correctly defined and associated with the relevant sales document types.
    2. Review Sales Document:

      • Check the sales document that triggered the error. Ensure that it is set up correctly and that the documentation type is specified.
      • If you are creating a new sales document, ensure that you are selecting the correct document type that corresponds to the expected documentation type.
    3. Check for User Exits or Enhancements:

      • If there are any custom user exits or enhancements that modify the behavior of sales document processing, review them to ensure they are not causing the issue.
    4. Consult Documentation:

      • Review SAP documentation or help resources for any additional information regarding the specific sales document types and their expected documentation types.
    5. Testing:

      • After making the necessary changes, test the process again to ensure that the error is resolved.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like VA01 (Create Sales Order), VA02 (Change Sales Order), or VA03 (Display Sales Order) to work with sales documents.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to create or modify sales documents.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant who specializes in the Sales and Distribution module.

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