How To Fix DT278 - Utilice sólo tipos cuyos campos de componente no contengan "-"


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DT - Table activation (incl. indexes)

  • Message number: 278

  • Message text: Utilice sólo tipos cuyos campos de componente no contengan "-"

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

    According to the SAP naming convention, the character '-' is not
    allowed within an object name. Existing fields containing this
    character are accepted nevertheless.
    With the introduction of type definitions in the ABAP Dictionary, the
    use of '-' in field names can be ambiguous. Example:
    X and Y are structures:
    X Fields Type Y Fields Type
    B Y C DTEL3
    B-C DTEL1 E DTEL4
    D DTEL2
    X-B-C is ambiguous. It can be the field B-C of structure X or component
    C of structure B of X.
    Structures with '-' in the field name can only be accessed in ABAP
    programs with LIKE and not with TYPE. Structures in which fields
    contain structures cannot be used only with TYPE.
    In this structure, you therefore cannot use a new field with structured
    type in which a component field contains the character '-'.

    ¿Cómo arreglar este error?

    Do not use field(s) with structured type or use only structured types
    whose component fields do not contain '-'.

    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 DT278 - Utilice sólo tipos cuyos campos de componente no contengan "-" ?




    • 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