-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/saia
- Loading branch information
Showing
8 changed files
with
251 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
INTERFACE zif_aff_aifd_v1 | ||
PUBLIC. | ||
TYPES: | ||
"! <p class="shorttext">AIF Interface</p> | ||
"! AIF interface | ||
BEGIN OF ty_aif_interface, | ||
"! <p class="shorttext">Interface Object Name</p> | ||
"! Interface object name | ||
"! <p class="shorttext">Application Interface</p> | ||
"! Application interface | ||
BEGIN OF ty_application_interface, | ||
"! <p class="shorttext">Application Interface</p> | ||
"! Application interface | ||
"! $required | ||
interface_object_name TYPE c LENGTH 40, | ||
END OF ty_aif_interface, | ||
application_interface TYPE c LENGTH 40, | ||
END OF ty_application_interface, | ||
|
||
"! <p class="shorttext">AIF Interfaces</p> | ||
"! AIF interfaces | ||
ty_aif_interfaces TYPE STANDARD TABLE OF ty_aif_interface WITH DEFAULT KEY, | ||
"! <p class="shorttext">Application Interfaces</p> | ||
"! Application interfaces | ||
ty_application_interfaces TYPE STANDARD TABLE OF ty_application_interface WITH DEFAULT KEY, | ||
|
||
"! <p class="shorttext">Deployment Scenario</p> | ||
"! Deployment scenario | ||
BEGIN OF ty_main, | ||
"! $required | ||
format_version TYPE zif_aff_types_v1=>ty_format_version, | ||
format_version TYPE zif_aff_types_v1=>ty_format_version, | ||
"! <p class="shorttext">Header</p> | ||
"! Header | ||
"! $required | ||
header TYPE zif_aff_types_v1=>ty_header_60_cloud, | ||
"! <p class="shorttext">AIF Interfaces</p> | ||
"! AIF interfaces | ||
header TYPE zif_aff_types_v1=>ty_header_60_cloud, | ||
"! <p class="shorttext">Application Interfaces</p> | ||
"! Application interfaces | ||
"! $required | ||
aif_interfaces TYPE ty_aif_interfaces, | ||
application_interfaces TYPE ty_application_interfaces, | ||
END OF ty_main. | ||
ENDINTERFACE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# EDCK File Format | ||
|
||
File | Cardinality | Definition | Schema | Example | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.edck.json` | 1 | [`zif_aff_edck_v1.intf.abap`](./type/zif_aff_edck_v1.intf.abap) | [`edck-v1.json`](./edck-v1.json) | [`z_aff_example_edck.edck.json`](./examples/z_aff_example_edck.edck.json) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"$comment": "This file is autogenerated, do not edit manually, see https://github.com/SAP/abap-file-formats for more information.", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/edck/edck-v1.json", | ||
"title": "Consistency Check ID", | ||
"description": "Consistency check ID", | ||
"type": "object", | ||
"properties": { | ||
"formatVersion": { | ||
"title": "ABAP File Format Version", | ||
"description": "The ABAP file format version", | ||
"type": "string", | ||
"const": "1" | ||
}, | ||
"header": { | ||
"title": "Header", | ||
"description": "Header", | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"title": "Description", | ||
"description": "Description of the ABAP object", | ||
"type": "string", | ||
"maxLength": 60 | ||
}, | ||
"originalLanguage": { | ||
"title": "Original Language", | ||
"description": "Original language of the ABAP object", | ||
"type": "string", | ||
"minLength": 2 | ||
}, | ||
"abapLanguageVersion": { | ||
"title": "ABAP Language Version", | ||
"description": "ABAP language version", | ||
"type": "string", | ||
"enum": [ | ||
"standard", | ||
"cloudDevelopment" | ||
], | ||
"enumTitles": [ | ||
"Standard", | ||
"ABAP Cloud Development" | ||
], | ||
"enumDescriptions": [ | ||
"Standard", | ||
"ABAP cloud development" | ||
], | ||
"default": "standard" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"description", | ||
"originalLanguage" | ||
] | ||
}, | ||
"generalInformation": { | ||
"title": "General Information", | ||
"description": "General information of consistency check ID", | ||
"type": "object", | ||
"properties": { | ||
"checkCategory": { | ||
"title": "Check Category", | ||
"description": "Consistency check category", | ||
"type": "string", | ||
"enum": [ | ||
"existenceCheck", | ||
"statusCheck", | ||
"edocumentExistenceCheck", | ||
"contentMismatchCheck" | ||
], | ||
"enumTitles": [ | ||
"Existence Check", | ||
"Status Check", | ||
"Edocument Existence Check", | ||
"Content Mismatch Check" | ||
], | ||
"enumDescriptions": [ | ||
"Existence check", | ||
"Status check", | ||
"Edocument existence check", | ||
"Content mismatch check" | ||
], | ||
"default": "existenceCheck" | ||
}, | ||
"checkClassification": { | ||
"title": "Check Classification", | ||
"description": "Consistency check ID classification", | ||
"type": "string", | ||
"enum": [ | ||
"coreDeliveredChecks", | ||
"additionalImplementedChecks" | ||
], | ||
"enumTitles": [ | ||
"Core Delivered Checks", | ||
"Additionally (Extended) Implemented Checks" | ||
], | ||
"enumDescriptions": [ | ||
"Core delivered checks", | ||
"Additionally (Extended) implemented checks" | ||
], | ||
"default": "coreDeliveredChecks" | ||
}, | ||
"additionalCheckClass": { | ||
"title": "Additional Check Class", | ||
"description": "Consistency check class", | ||
"type": "string", | ||
"maxLength": 30 | ||
}, | ||
"resultProcessDerived": { | ||
"title": "Result Process Derived", | ||
"description": "Result process derived", | ||
"type": "boolean" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"formatVersion", | ||
"header", | ||
"generalInformation" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "Example Check ID", | ||
"originalLanguage": "en", | ||
"abapLanguageVersion": "cloudDevelopment" | ||
}, | ||
"generalInformation": { | ||
"checkCategory": "existenceCheck", | ||
"checkClassification": "coreDeliveredChecks", | ||
"resultProcessDerived": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
INTERFACE zif_aff_edck_v1 | ||
PUBLIC. | ||
|
||
TYPES ty_check_classification TYPE c LENGTH 1. | ||
TYPES ty_check_category TYPE c LENGTH 6. | ||
|
||
TYPES: | ||
BEGIN OF ty_attributes, | ||
"! <p class="shorttext">Check Category</p> | ||
"! Consistency check category | ||
"! $values {@link zif_aff_edck_v1.data:co_check_category} | ||
"! $default {@link zif_aff_edck_v1.data:co_check_category.existence_check} | ||
check_category TYPE ty_check_category, | ||
"! <p class="shorttext">Check Classification</p> | ||
"! Consistency check ID classification | ||
"! $values {@link zif_aff_edck_v1.data:co_check_classification} | ||
"! $default {@link zif_aff_edck_v1.data:co_check_classification.core_delivered_checks} | ||
check_classification TYPE ty_check_classification, | ||
"! <p class="shorttext">Additional Check Class</p> | ||
"! Consistency check class | ||
additional_check_class TYPE zif_aff_types_v1=>ty_object_name_30, | ||
"! <p class="shorttext">Result Process Derived</p> | ||
"! Result process derived | ||
result_process_derived TYPE abap_bool, | ||
END OF ty_attributes. | ||
|
||
TYPES: | ||
"! <p class="shorttext">Consistency Check ID</p> | ||
"! Consistency check ID | ||
BEGIN OF ty_main, | ||
"! $required | ||
format_version TYPE zif_aff_types_v1=>ty_format_version, | ||
"! <p class="shorttext">Header</p> | ||
"! Header | ||
"! $required | ||
header TYPE zif_aff_types_v1=>ty_header_60_cloud, | ||
"! <p class="shorttext">General Information</p> | ||
"! General information of consistency check ID | ||
"! $required | ||
general_information TYPE ty_attributes, | ||
END OF ty_main. | ||
|
||
CONSTANTS: | ||
"! <p class="shorttext">Check Classification</p> | ||
"! Check classification | ||
BEGIN OF co_check_classification, | ||
"! <p class="shorttext">Core Delivered Checks</p> | ||
"! Core delivered checks | ||
core_delivered_checks TYPE ty_check_classification VALUE 'C', | ||
"! <p class="shorttext">Additionally (Extended) Implemented Checks</p> | ||
"! Additionally (Extended) implemented checks | ||
additional_implemented_checks TYPE ty_check_classification VALUE 'A', | ||
END OF co_check_classification. | ||
|
||
CONSTANTS: | ||
"! <p class="shorttext">Check Category</p> | ||
"! Check category | ||
BEGIN OF co_check_category, | ||
"! <p class="shorttext">Existence Check</p> | ||
"! Existence check | ||
existence_check TYPE ty_check_category VALUE 'EXIST', | ||
"! <p class="shorttext">Status Check</p> | ||
"! Status check | ||
status_check TYPE ty_check_category VALUE 'STATUS', | ||
"! <p class="shorttext">Edocument Existence Check</p> | ||
"! Edocument existence check | ||
edocument_existence_check TYPE ty_check_category VALUE 'EDOCHK', | ||
"! <p class="shorttext">Content Mismatch Check</p> | ||
"! Content mismatch check | ||
content_mismatch_check TYPE ty_check_category VALUE 'CONMIS', | ||
END OF co_check_category. | ||
ENDINTERFACE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "AFF type for EDCK", | ||
"originalLanguage": "en" | ||
} | ||
} |