Skip to content

Arrays/internal tables, sorting #176

@larshp

Description

@larshp

In ABAP, everything is stored in a relational database.

JSON files can be edited manually in any editor,

The developer can edit the JSON files changing any sorting of arrays, which is okay, but serialization of objects should follow a specific sorting(not depending on the default database sorting semantics)

Suggestion:
Require that all internal tables defined in AAF are sorted tables with a defined key (no multiple keys, no HASHED tables, no DEFAULT KEY)

I don't think its possible to have array sorting defined in json schema?

  • Update documentation
  • Add new rule to abaplint, so the developers can be reminded automatically
  • Change the schema generator, so the sorting is added in the description of the field, which allows the developer to determine what is expected
  • Rework CHKO
  • Rework CHKV
  • Rework ENHS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions