How To Fix DPR_FC014 - Asegúrese de que la condición &1 es compatible para el tipo objetivo &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DPR_FC - Field Control for Project Management

  • Message number: 014

  • Message text: Asegúrese de que la condición &1 es compatible para el tipo objetivo &2

  • Show details Hide details
  • ¿Qué causa este problema?

    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.

    Respuesta del sistema

    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.

    ¿Cómo arreglar este error?

    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

    Procedimiento para Administradoras de Sistemas

    El sistema emite un mensaje de error y no le permitirá continuar con esta transacción hasta que se resuelva el error.


    Extracto de mensaje de error del sistema SAP. Copyright SAP SE.


Smart SAP Assistant

  • ¿Cuál es la causa y la solución del error de SAP DPR_FC014 - Asegúrese de que la condición &1 es compatible para el tipo objetivo &2 ?




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


Mensajes de error de SAP relacionados

Haga clic en los enlaces a continuación para ver los siguientes mensajes relacionados:

Haga clic en este enlace para buscar todos los mensajes de SAP.


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