How To Fix DDLS_HIER058 - Datatype for valid_from &1 is not as data type for period_from &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DDLS_HIER - Used for DDL Hierarchies

  • Message number: 058

  • Message text: Datatype for valid_from &1 is not as data type for period_from &2

  • 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 DDLS_HIER058 - Datatype for valid_from &1 is not as data type for period_from &2 ?

    The SAP error message DDLS_HIER058 indicates a mismatch in data types between two fields in a hierarchy structure, specifically between valid_from and period_from. This error typically arises when you are trying to create or modify a hierarchy in SAP BW (Business Warehouse) or similar systems where time-dependent data is involved.

    Cause:

    The error occurs when:

    • The data type of the valid_from field does not match the expected data type of the period_from field.
    • This can happen if the fields are defined with different data types in the underlying database or if there is a mismatch in the data model configuration.

    Solution:

    To resolve this error, you can take the following steps:

    1. Check Data Types:

      • Verify the data types of both valid_from and period_from fields in the data model. They should be compatible (e.g., both should be of type DATE or TIMESTAMP).
    2. Adjust Data Model:

      • If there is a mismatch, you may need to adjust the data model to ensure that both fields have the same data type. This may involve modifying the data element or structure in the ABAP Dictionary (SE11).
    3. Recreate or Adjust Hierarchy:

      • If the hierarchy was created with incorrect field definitions, you may need to delete and recreate the hierarchy or adjust the existing hierarchy to ensure that the fields are correctly defined.
    4. Check for Transport Issues:

      • If the issue arose after a transport, ensure that all related objects were transported correctly and that there are no inconsistencies in the target system.
    5. Consult Documentation:

      • Review SAP documentation or notes related to hierarchy definitions and data types to ensure compliance with best practices.
    6. Testing:

      • After making the necessary adjustments, test the hierarchy creation or modification again to ensure that the error is resolved.

    Related Information:

    • Transaction Codes: You may need to use transaction codes like SE11 (Data Dictionary), SE80 (Object Navigator), or RSA1 (Data Warehousing Workbench) to check and modify the data model.
    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional guidance.
    • Data Model Documentation: Review the data model documentation for your specific implementation to understand the expected data types and structures.

    By following these steps, you should be able to identify and resolve the cause of the DDLS_HIER058 error in your SAP environment.

    • 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