How To Fix DPR_BAPI148 - &1 and &2 cannot be used together in the same relationship


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DPR_BAPI - Messages for BAPIs in Project Management

  • Message number: 148

  • Message text: &1 and &2 cannot be used together in the same relationship

  • Show details Hide details
  • What causes this issue?

    The task from parameter IV_SUCCESSOR_TASK_GUID cannot be used as a
    successor for a relationship that is to be created.
    INCLUDE DPR_BAPI_RELATIONSHIP_LEVEL OBJECT DOKU ID TX

    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?

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DPR_BAPI148 - &1 and &2 cannot be used together in the same relationship ?

    The SAP error message DPR_BAPI148 indicates that there is a conflict in the relationship types being used in a project or task within the SAP Project System (PS) or Project Management (DPR) module. Specifically, the error message states that two specific relationship types (denoted by &1 and &2) cannot be used together in the same relationship.

    Cause:

    This error typically arises when:

    1. Incompatible Relationship Types: You are trying to create or modify a relationship between two project elements (like tasks or milestones) using two relationship types that are not compatible with each other. For example, you might be trying to link a task that requires a finish-to-start relationship with another task that is set up for a start-to-finish relationship.
    2. Configuration Issues: There may be configuration settings in the system that define which relationship types can be used together, and the current setup does not allow the combination you are attempting.

    Solution:

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

    1. Check Relationship Types: Review the relationship types you are trying to use. Ensure that they are compatible. You can refer to the SAP documentation or configuration settings to understand which relationship types can be used together.

    2. Modify Relationships: If you find that the relationship types are indeed incompatible, you will need to modify the relationships. This may involve:

      • Changing one of the relationship types to a compatible one.
      • Removing the conflicting relationship and creating a new one with compatible types.
    3. Consult Configuration: If you are unsure about the relationship types, consult with your SAP administrator or a functional consultant who can check the configuration settings in the system.

    4. Testing: After making changes, test the relationships again to ensure that the error does not reoccur.

    Related Information:

    • SAP Documentation: Refer to the official SAP documentation for detailed information on project relationships and their configurations.
    • Transaction Codes: You may use transaction codes like CJ20N (Project Builder) or DPR (Project Management) to view and manage project relationships.
    • SAP Notes: Check for any relevant SAP Notes that might address this specific error or provide additional guidance.

    If the issue persists after following these steps, consider reaching out to SAP support for further assistance.

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