How To Fix DT277 - Struktur mit '-' in Feldnamen kann keinen strukturierten Typ enthalten


DT277 - Overview

  • Message type: E = Error

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

  • Message number: 277

  • Message text: Struktur mit '-' in Feldnamen kann keinen strukturierten Typ enthalten

  • Show details Hide details
  • Was verursacht dieses Problem?

    According to the SAP naming convention, the character '-' is not
    allowed within an object name. Existing fields that already contain
    this character are accepted nevertheless.
    With the introduction of type definitions in the ABAP Dictionary, the
    use of '-' in field names can result in ambiguities. 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 either the field B-C of structure X or
    component C of structure B of X.
    Structures with '-' in field names can only be accessed in ABAP
    programs with LIKE, but not with TYPE. Structures in which fields also
    contain structures as type cannot be used only with TYPE.
    You therefore cannot use a new field with structured type in this
    structure.

    Wie behebe ich diesen Fehler?

    Do not use the field(s) with structured type or replace the fields
    containing '-' with fields without this character.

    Fehlermeldungsextrakt aus SAP-System. Copyright SAP SE


DT277 - Details








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


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