Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHO] Give enum default #489

Merged
merged 2 commits into from
Feb 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions file-formats/enho/enho-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,21 @@
"description": "Does the BAdI implementation support customizing",
"type": "string",
"enum": [
"supported",
"notSupported",
"supported",
"supportedNoTransport"
],
"enumTitles": [
"Customizing supported",
"Customizing not supported",
"Customizing supported (no transport)"
"Customizing Not Supported",
"Customizing Supported",
"Customizing Supported (No Transport)"
],
"enumDescriptions": [
"Customizing is supported",
"Customizing is not supported",
"Customizing is supported",
"Customizing is supported (without transport)"
]
],
"default": "notSupported"
},
"filterValues": {
"title": "Filter Values",
Expand Down
11 changes: 6 additions & 5 deletions file-formats/enho/type/zif_aff_enho_v1.intf.abap
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ INTERFACE zif_aff_enho_v1
"! <p class="shorttext">Customizing</p>
"! Customizing
"! $values {@link zif_aff_enho_v1.data:co_customizing}
"! $default {@link zif_aff_enho_v1.data:co_customizing.not_supported}
TYPES ty_customizing TYPE c LENGTH 1.

CONSTANTS:
"! <p class="shorttext">Customizing</p>
"! Customizing
BEGIN OF co_customizing,
"! <p class="shorttext">Customizing supported</p>
"! Customizing is supported
supported TYPE ty_customizing VALUE ' ',
"! <p class="shorttext">Customizing not supported</p>
"! <p class="shorttext">Customizing Not Supported</p>
"! Customizing is not supported
not_supported TYPE ty_customizing VALUE 'X',
"! <p class="shorttext">Customizing supported (no transport)</p>
"! <p class="shorttext">Customizing Supported</p>
"! Customizing is supported
supported TYPE ty_customizing VALUE ' ',
"! <p class="shorttext">Customizing Supported (No Transport)</p>
"! Customizing is supported (without transport)
supported_no_transport TYPE ty_customizing VALUE 'D',
END OF co_customizing.
Expand Down