-
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/translation-using-properties
- Loading branch information
Showing
82 changed files
with
3,515 additions
and
233 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
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 @@ | ||
# CDBO File Format | ||
|
||
File | Cardinality | Definition | Schema | Example | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.cdbo.json` | 1 | [`zif_aff_cdbo_v1.intf.abap`](./type/zif_aff_cdbo_v1.intf.abap) | [`cdbo-v1.json`](./cdbo-v1.json) | [`zcdb_adt_test.cdbo.json`](./examples/zcdb_adt_test.cdbo.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,148 @@ | ||
{ | ||
"$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/cdbo/cdbo-v1.json", | ||
"title": "Customer Data Browser Object", | ||
"description": "Customer Data Browser Object", | ||
"type": "object", | ||
"properties": { | ||
"formatVersion": { | ||
"title": "Format Version", | ||
"description": "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, | ||
"maxLength": 2, | ||
"pattern": "^[a-z]+$" | ||
}, | ||
"abapLanguageVersion": { | ||
"title": "ABAP Language Version", | ||
"description": "ABAP language version", | ||
"type": "string", | ||
"enum": [ | ||
"standard", | ||
"keyUser", | ||
"cloudDevelopment" | ||
], | ||
"enumTitles": [ | ||
"Standard", | ||
"ABAP for Key Users", | ||
"ABAP Cloud Development" | ||
], | ||
"enumDescriptions": [ | ||
"Standard", | ||
"ABAP for key user extensibility", | ||
"ABAP cloud development" | ||
], | ||
"default": "standard" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"description", | ||
"originalLanguage" | ||
] | ||
}, | ||
"generalInformation": { | ||
"title": "General Information", | ||
"description": "General information", | ||
"type": "object", | ||
"properties": { | ||
"objectType": { | ||
"title": "Object Type", | ||
"description": "Object type", | ||
"type": "string", | ||
"enum": [ | ||
"TABL", | ||
"DDLS" | ||
], | ||
"enumTitles": [ | ||
"Table", | ||
"Data Definition" | ||
], | ||
"enumDescriptions": [ | ||
"Table", | ||
"CDS data definition" | ||
] | ||
}, | ||
"objectName": { | ||
"title": "Object Name", | ||
"description": "Object name", | ||
"type": "string", | ||
"maxLength": 40 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"objectType", | ||
"objectName" | ||
] | ||
}, | ||
"fields": { | ||
"title": "Fields", | ||
"description": "Fields", | ||
"type": "array", | ||
"items": { | ||
"title": "Field Details", | ||
"description": "Field details", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"description": "Name", | ||
"type": "string", | ||
"maxLength": 30 | ||
}, | ||
"nature": { | ||
"title": "Nature", | ||
"description": "Nature", | ||
"type": "string", | ||
"enum": [ | ||
"general", | ||
"sensitive", | ||
"nonBusinessInformation" | ||
], | ||
"enumTitles": [ | ||
"General Information (No Sensitive Personal Information)", | ||
"Sensitive Personal Information", | ||
"Non Business Information" | ||
], | ||
"enumDescriptions": [ | ||
"General fields that do not contain sensitive personal information", | ||
"Sensitive personal information fields including key fields", | ||
"Non business information" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"nature" | ||
] | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"formatVersion", | ||
"header", | ||
"generalInformation", | ||
"fields" | ||
] | ||
} |
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,25 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "CDBO on ADT Testing", | ||
"originalLanguage": "en" | ||
}, | ||
"generalInformation": { | ||
"objectType": "TABL", | ||
"objectName": "ZCDB_ADT_TEST" | ||
}, | ||
"fields": [ | ||
{ | ||
"name": "MANDT", | ||
"nature": "general" | ||
}, | ||
{ | ||
"name": "TIME", | ||
"nature": "general" | ||
}, | ||
{ | ||
"name": "DATUM", | ||
"nature": "general" | ||
} | ||
] | ||
} |
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,97 @@ | ||
INTERFACE zif_aff_cdbo_v1 | ||
PUBLIC. | ||
"! <p class="shorttext">Object Type</p> | ||
"! Object type | ||
"! $values {@link zif_aff_cdbo_v1.data:co_object_type} | ||
TYPES ty_object_type TYPE c LENGTH 2. | ||
|
||
CONSTANTS: | ||
"! <p class="shorttext">Object Type</p> | ||
"! Object type | ||
BEGIN OF co_object_type, | ||
"! <p class="shorttext">Table</p> | ||
"! Table | ||
"! $enumValue 'TABL' | ||
tabl TYPE ty_object_type VALUE '01', | ||
"! <p class="shorttext">Data Definition</p> | ||
"! CDS data definition | ||
"! $enumValue 'DDLS' | ||
ddls TYPE ty_object_type VALUE '02', | ||
END OF co_object_type. | ||
|
||
"! <p class="shorttext">Field Nature</p> | ||
"! Nature of the field | ||
"! $values {@link zif_aff_cdbo_v1.data:co_field_nature} | ||
TYPES ty_field_nature TYPE c LENGTH 2. | ||
|
||
CONSTANTS: | ||
"! <p class="shorttext">Field Nature</p> | ||
"! Nature of the field | ||
BEGIN OF co_field_nature, | ||
"! <p class="shorttext">General Information (No Sensitive Personal Information)</p> | ||
"! General fields that do not contain sensitive personal information | ||
general TYPE ty_field_nature VALUE 'GE', | ||
"! <p class="shorttext">Sensitive Personal Information</p> | ||
"! Sensitive personal information fields including key fields | ||
sensitive TYPE ty_field_nature VALUE 'SP', | ||
"! <p class="shorttext">Non Business Information</p> | ||
"! Non business information | ||
non_business_information TYPE ty_field_nature VALUE 'NB', | ||
END OF co_field_nature. | ||
|
||
TYPES: | ||
"! <p class="shorttext">Field Details</p> | ||
"! Field details | ||
BEGIN OF ty_field, | ||
"! <p class="shorttext">Name</p> | ||
"! Name | ||
"! $required | ||
name TYPE c LENGTH 30, | ||
"! <p class="shorttext">Nature</p> | ||
"! Nature | ||
"! $required | ||
nature TYPE ty_field_nature, | ||
END OF ty_field. | ||
|
||
TYPES: | ||
"! <p class="shorttext">Fields Details</p> | ||
"! Fields details | ||
ty_fields TYPE STANDARD TABLE OF ty_field WITH DEFAULT KEY. | ||
|
||
TYPES: | ||
"! <p class="shorttext">General Information</p> | ||
"! General information | ||
BEGIN OF ty_general_information, | ||
"! <p class="shorttext">Object Type</p> | ||
"! Object type | ||
"! $required | ||
object_type TYPE ty_object_type, | ||
"! <p class="shorttext">Object Name</p> | ||
"! Object name | ||
"! $required | ||
object_name TYPE c LENGTH 40, | ||
END OF ty_general_information. | ||
|
||
TYPES: | ||
"! <p class="shorttext">Customer Data Browser Object</p> | ||
"! Customer Data Browser Object | ||
BEGIN OF ty_main, | ||
"! <p class="shorttext">Format Version</p> | ||
"! Format version | ||
"! $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, | ||
"! <p class="shorttext">General Information</p> | ||
"! General information | ||
"! $required | ||
general_information TYPE ty_general_information, | ||
"! <p class="shorttext">Fields</p> | ||
"! Fields | ||
"! $required | ||
fields TYPE ty_fields, | ||
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,7 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "Interface with CDBO AFF Type", | ||
"originalLanguage": "en" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# COTA File Format | ||
|
||
|
||
File | Cardinality | Definition | Schema | Example | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.cota.json` | 1 | [`zif_aff_cota_v1.intf.abap`](./type/zif_aff_cota_v1.intf.abap) | [`cota-v1.json`](./cota-v1.json) |
Oops, something went wrong.