abap-file-formats icon indicating copy to clipboard operation
abap-file-formats copied to clipboard

Schema generation - features - open questions

Open larshp opened this issue 4 years ago • 4 comments

B: "Extreme Values", is this feature needed? I expect the schema generation to be based on the ABAP types C: "Length Specification", is this feature needed? I expect the schema generation to be based on the ABAP types

larshp avatar Aug 04 '21 10:08 larshp

One can argue whether the minimum or maximum fields are needed at all. But isn't it helpful to see the min/max values for external consumers. Same is valid I think for the length of a text field.

In general the fields length as well as minimum or maximum are derived from the ABAP type. The additional annotations $maximum are only needed if you want to have different maximum value then the value of the ABAP type. E.g., a field specifying some percentage shall have a range between 0 and 100%.

schneidermic0 avatar Aug 04 '21 12:08 schneidermic0

I hope my answer above answers your question. Feel free to reopen the issue if we need to discuss further details.

schneidermic0 avatar Aug 16 '21 07:08 schneidermic0

reopening

larshp avatar Aug 16 '21 08:08 larshp

Which questions are open for you? Where do you need more details?

schneidermic0 avatar Aug 16 '21 10:08 schneidermic0