SchwarzIT / sap-usi-logging-api

An easy-to-use, object-oriented encapsulation around the SAP application log (Transaction SLG1)
Apache License 2.0
23 stars 0 forks source link

Add Structure-Container #9

Closed NeumannJoerg closed 1 year ago

NeumannJoerg commented 1 year ago

The API currently offers no data container for structures. If e.g. a key-structure passed to a method needs to be logged, the structure has to be converted into an internal table, so that the itab-container can be "abused".

This workaround has two major drawbacks:

  1. It is unnecessarily inconvenient for the using developer
  2. It wastes space on the database, since the itab-container does not only store the converted structure itself, but also metadata describing the data (Fieldcatalog)

A simple structure-container should be added. The data should be stored and displayed as a table of fieldnames and values.