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


DT278 - Overview

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


DT278 - Details








Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author