How To Fix DPR_FC014 - Stellen Sie sicher, dass die Bedingung &1 zum Objekttyp &2 kompatibel ist


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DPR_FC - Field Control for Project Management

  • Message number: 014

  • Message text: Stellen Sie sicher, dass die Bedingung &1 zum Objekttyp &2 kompatibel ist

  • Show details Hide details
  • Was verursacht dieses Problem?

    For each condition that SAP delivers in field control, an appropriate
    include exists with a schema program that the system uses to generate
    the field control class.
    Example: The include 'EVAL_CONDS_C001' exists for the condition 'C001'.
    <EX>/>EVAL_CI_C001<(><<)>/</>
    <EX>,,data: lr_<(>&<)>objectname& type ref to cl_dpr_<(>&<)>objectname&.
    </>
    <EX>,,data: ls_condition type ts_condition_per_node.</>
    <EX>,,* check if object is released</>
    <EX>,,lr_<(>&<)>objectname& ?= ir_root_object.</>
    <EX>,,if lr_<(>&<)>objectname&->is_released( ) eq cl_dpr_co=>sc_true.</>
    <EX>,, ls_condition-condition_value = cl_dpr_co=>sc_true.</>
    <EX>,,else.</>
    <EX>,, ls_condition-condition_value = cl_dpr_co=>sc_false.</>
    <EX>,,endif.</>
    <EX>,,ls_condition-node_name = iv_node_name.</>
    <EX>,,ls_condition-node = ir_object.</>
    <EX>,,ls_condition-condition_id = 'MV_C001'.</>
    <EX>,,insert ls_condition into table mt_conditions.</>
    <EX>,,/>END<(><<)>/</>
    When it generates the field control class, the system replaces the
    variable '<NP><(>&<)>objectname<(>&<)>'</> by the appropriate object
    category.
    Example: When you assign the condition 'C001' to the object category
    'DPO' (project definition), the system replaces <NP>'<(>&<)>objectname
    <(>&<)>'</> by <NP>'PROJECT_O'</> during generation. Therefore, the
    first line from this example would be:
    <EX>,,data: lr_PROJECT_O type ref to cl_dpr_PROJECT_O.</>
    The object-specific method or value assignment calls used in the
    implementation must be valid for the object category.
    Example: The following is an example of the coding generated for the
    object category 'DPO':
    <EX>,,lr_PROJECT_O ?= ir_root_object.</>
    <EX>,,if lr_PROJECT_O->is_released( ) eq cl_dpr_co=>sc_true.</>
    The corresponding method <NP>lr_PHASE_T->is_released()</> does not exist
    for the object 'PPT' (phase in template) because this would cause a
    syntax error in the generated class.

    Systemantwort

    The system cannot automatically check whether the condition is
    compatible with the object category.
    If the assignments are incompatible, the system generates a syntax error
    or the program may terminate when the field control class or its usage
    is generated in the application.

    Wie behebe ich diesen Fehler?

    Check the schema program to see if it is compatible with the object
    category.
    If the program terminates, check your field control settings and field
    control classes.
    If the selected condition is not compatible with the object category,
    create a customer-specific condition and assign it to the object
    category (see SAP Note 947936).
    For more information about setting up field control, see:
    Customizing for <LS>Project Management</> under <ZK>Global Enhancements
    to Project Elements</> -> <ZK>Set Up Field Control</>
    SAP Note 947936

    Vorgehensweise für Systemadministratoren

    Das System gibt eine Fehlermeldung aus und erlaubt Ihnen nicht, mit dieser Transaktion fortzufahren, bis der Fehler behoben ist.


    Fehlermeldungsextrakt aus SAP-System. Copyright SAP SE


Smart SAP Assistant

  • Was ist die Ursache und Lösung für den SAP Fehler DPR_FC014 - Stellen Sie sicher, dass die Bedingung &1 zum Objekttyp &2 kompatibel ist ?




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


Zugehörige SAP-Fehlermeldungen

Klicken Sie auf die Links unten, um die folgenden verwandten Nachrichten anzuzeigen:

Klicken Sie auf diesen Link, um alle SAP-Meldungen durchsuchen.


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