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

Close

How To Fix AD387 - Create a database table


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AD - Data Dictionary application messages

  • Message number: 387

  • Message text: Create a database table

  • Show details Hide details
  • What causes this issue?

    The logical ABAP/4 Dictionary table was created and activated. When a
    table is activated online, the corresponding database table is not
    created automatically.
    During transport or update, database tables are flagged automatically
    for creation in the database and are created by starting a separate
    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?

    Create the database table using transaction SE14.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AD387 - Create a database table ?

    The SAP error message AD387 typically indicates an issue related to the creation of a database table in the ABAP Dictionary (SE11). This error can arise due to various reasons, such as incorrect table definitions, issues with database connectivity, or authorization problems.

    Causes of Error AD387

    1. Incorrect Table Definition: The table may have been defined incorrectly, such as missing required fields or incorrect data types.
    2. Database Connectivity Issues: There may be issues with the connection to the underlying database, which can prevent the creation of the table.
    3. Authorization Issues: The user may not have the necessary authorizations to create database objects.
    4. Existing Table with Same Name: If a table with the same name already exists, the system will not allow the creation of a new one.
    5. Database Constraints: There may be constraints or limitations imposed by the database itself that prevent the creation of the table.

    Solutions to Error AD387

    1. Check Table Definition:

      • Go to transaction SE11 and review the table definition for any errors or missing components.
      • Ensure that all required fields are defined and that data types are correct.
    2. Verify Database Connectivity:

      • Check the database connection settings in transaction DBACOCKPIT or using transaction SM59.
      • Ensure that the database is up and running and that there are no connectivity issues.
    3. Review Authorizations:

      • Ensure that the user has the necessary authorizations to create database tables. This can be checked in transaction SU53 or by consulting with your security team.
    4. Check for Existing Tables:

      • Use transaction SE11 to check if a table with the same name already exists. If it does, you may need to rename your new table or drop the existing one if it is no longer needed.
    5. Consult Database Documentation:

      • Review the documentation for your specific database system to understand any constraints or limitations that may apply.
    6. Check for Transport Issues:

      • If the table is being created as part of a transport request, ensure that the transport is correctly configured and that there are no issues with the transport system.

    Related Information

    • Transaction Codes:

      • SE11: Data Dictionary (for creating and managing database tables).
      • SE14: Database Utility (for managing database objects).
      • SM59: RFC Destinations (to check database connectivity).
      • SU53: Authorization Check (to check for authorization issues).
    • SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that may address specific issues related to error AD387.

    • Logs and Traces: Review system logs (transaction SM21) and developer traces (transaction ST22) for additional information that may help diagnose the issue.

    If the problem persists after trying the above solutions, consider reaching out to SAP support or your internal SAP Basis team for further assistance.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author