diff --git a/file-formats/cota/README.md b/file-formats/cota/README.md new file mode 100644 index 000000000..87a8ad136 --- /dev/null +++ b/file-formats/cota/README.md @@ -0,0 +1,6 @@ +# COTA File Format + + +File | Cardinality | Definition | Schema | Example +:--- | :--- | :--- | :--- | :--- +`.cota.json` | 1 | [`zif_aff_cota_v1.intf.abap`](./type/zif_aff_cota_v1.intf.abap) | [`cota-v1.json`](./cota-v1.json) diff --git a/file-formats/cota/cota-v1.json b/file-formats/cota/cota-v1.json new file mode 100644 index 000000000..30e9789d1 --- /dev/null +++ b/file-formats/cota/cota-v1.json @@ -0,0 +1,158 @@ +{ + "$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/cota/cota-v1.json", + "title": "Communication Target Object", + "description": "Creation of communication target 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", + "cloudDevelopment" + ], + "enumTitles": [ + "Standard", + "ABAP Cloud Development" + ], + "enumDescriptions": [ + "Standard", + "ABAP cloud development" + ], + "default": "standard" + } + }, + "additionalProperties": false, + "required": [ + "description", + "originalLanguage" + ] + }, + "configuration": { + "title": "Configuration", + "description": "Configuration", + "type": "object", + "properties": { + "communicationType": { + "title": "Communication Type", + "description": "Communication type", + "type": "string", + "enum": [ + "rfc", + "http" + ], + "enumTitles": [ + "RFC", + "HTTP" + ], + "enumDescriptions": [ + "RFC", + "HTTP" + ], + "default": "http" + }, + "communicationTargetClass": { + "title": "Communication Target Class", + "description": "Communication target class", + "type": "string", + "maxLength": 30 + }, + "allowMultipleDestinations": { + "title": "Allow Multiple Application Destinations", + "description": "Allow multiple application destinations", + "type": "boolean" + }, + "clientIndependent": { + "title": "Allow Client Independent Application Destinations", + "description": "Allow client independent application destinations", + "type": "boolean" + } + }, + "additionalProperties": false + }, + "httpSettings": { + "title": "HTTP Settings", + "description": "HTTP settings", + "type": "object", + "properties": { + "pathPrefix": { + "title": "Path Prefix", + "description": "Path prefix", + "type": "string", + "maxLength": 100 + } + }, + "additionalProperties": false + }, + "rfcSettings": { + "title": "RFC Settings", + "description": "RFC settings", + "type": "object", + "properties": { + "enforceSapGuiSupport": { + "title": "Enforce SAP GUI Support", + "description": "Enforce SAP GUI support", + "type": "boolean" + }, + "enforceFastSerialization": { + "title": "Enforce Fast Serialization", + "description": "Enforce fast serialization", + "type": "boolean" + }, + "defaultCompressionMode": { + "title": "Default Compression Mode", + "description": "Default compression mode", + "type": "string", + "enum": [ + "fast", + "high" + ], + "enumTitles": [ + "Fast", + "High" + ], + "enumDescriptions": [ + "Fast", + "High" + ], + "default": "fast" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "formatVersion", + "header", + "configuration" + ] +} diff --git a/file-formats/cota/type/zif_aff_cota_v1.intf.abap b/file-formats/cota/type/zif_aff_cota_v1.intf.abap new file mode 100644 index 000000000..f2f4fda48 --- /dev/null +++ b/file-formats/cota/type/zif_aff_cota_v1.intf.abap @@ -0,0 +1,108 @@ +INTERFACE zif_aff_cota_v1 + PUBLIC. + + "!

Communication Type

+ "! $values {@link zif_aff_cota_v1.data:co_comm_type} + TYPES ty_comm_type TYPE c LENGTH 1. + + CONSTANTS: + "!

Communication Type

+ "! Communication type + BEGIN OF co_comm_type, + "!

RFC

+ "! RFC + rfc TYPE ty_comm_type VALUE 'R', + "!

HTTP

+ "! HTTP + http TYPE ty_comm_type VALUE 'H', + END OF co_comm_type. + + TYPES: + "!

Configuration

+ "! Configuration + "! $required + BEGIN OF ty_configuration, + "!

Communication Type

+ "! Communication type + "! $default {@link zif_aff_cota_v1.data:co_comm_type.http} + communication_type TYPE ty_comm_type, + "!

Communication Target Class

+ "! Communication target class + communication_target_class TYPE zif_aff_types_v1=>ty_object_name_30, + "!

Allow Multiple Application Destinations

+ "! Allow multiple application destinations + allow_multiple_destinations TYPE abap_bool, + "!

Allow Client Independent Application Destinations

+ "! Allow client independent application destinations + client_independent TYPE abap_bool, + END OF ty_configuration. + + "!

Default Compression Mode

+ "! $values {@link zif_aff_cota_v1.data:co_compress_mode} + TYPES ty_comp_mode TYPE c LENGTH 1. + + CONSTANTS: + "!

Default Compression Mode

+ "! Default compression mode + BEGIN OF co_compress_mode, + "!

Fast

+ "! Fast + fast TYPE ty_comp_mode VALUE 'F', + "!

High

+ "! High + high TYPE ty_comp_mode VALUE 'H', + END OF co_compress_mode. + + TYPES: + "!

RFC Settings

+ "! RFC settings + "! $required + BEGIN OF ty_rfc_settings, + "!

Enforce SAP GUI Support

+ "! Enforce SAP GUI support + enforce_sap_gui_support TYPE abap_bool, + "!

Enforce Fast Serialization

+ "! Enforce fast serialization + enforce_fast_serialization TYPE abap_bool, + "!

Default Compression Mode

+ "! Default compression mode + "! $default {@link zif_aff_cota_v1.data:co_compress_mode.fast} + default_compression_mode TYPE ty_comp_mode, + END OF ty_rfc_settings. + + TYPES: + "!

HTTP Settings

+ "! HTTP settings + "! $required + BEGIN OF ty_http_settings, + "!

Path Prefix

+ "! Path prefix + path_prefix TYPE zif_aff_types_v1=>ty_description_100, + END OF ty_http_settings. + + + TYPES: + "!

Communication Target Object

+ "! Creation of communication target object + BEGIN OF ty_main, + "!

Format Version

+ "! Format version + "! $required + format_version TYPE zif_aff_types_v1=>ty_format_version, + "!

Header

+ "! Header + "! $required + header TYPE zif_aff_types_v1=>ty_header_60_cloud, + "!

Configuration

+ "! Configuration + "! $required + configuration TYPE ty_configuration, + "!

HTTP Settings

+ "! HTTP settings + http_settings TYPE ty_http_settings, + "!

RFC Settings

+ "! RFC settings + rfc_settings TYPE ty_rfc_settings, + END OF ty_main. + +ENDINTERFACE. diff --git a/file-formats/cota/type/zif_aff_cota_v1.intf.json b/file-formats/cota/type/zif_aff_cota_v1.intf.json new file mode 100644 index 000000000..6a80b5417 --- /dev/null +++ b/file-formats/cota/type/zif_aff_cota_v1.intf.json @@ -0,0 +1,7 @@ +{ + "formatVersion": "1", + "header": { + "description": "ABAP File Format for Connection Target", + "originalLanguage": "en" + } +} diff --git a/file-formats/smbc/smbc-v1.json b/file-formats/smbc/smbc-v1.json index f6fcbbc4d..41ebbfd8c 100644 --- a/file-formats/smbc/smbc-v1.json +++ b/file-formats/smbc/smbc-v1.json @@ -275,17 +275,20 @@ "enum": [ "newPage", "inline", - "creationRow" + "creationRow", + "inlineCreationRows" ], "enumTitles": [ "New Page", "Inline", - "Creation Row" + "Creation Row", + "Empty Row" ], "enumDescriptions": [ "Item is created in subpage", - "By clicking on 'Create' a new line is created but automatic navigation to subpage is not triggered.", - "By clicking on 'Add row' a new line is created but automatic navigation to subpage is not triggered." + "By clicking on 'Create' a new line is created but automatic navigation to subpage is not performed.", + "By clicking on 'Add row' a new line is created but automatic navigation to subpage is not performed.", + "In create or edit mode, one new empty row is added to the table." ], "default": "newPage" }, diff --git a/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap b/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap index 8dd613acf..662f70f6a 100644 --- a/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap +++ b/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap @@ -46,11 +46,14 @@ INTERFACE zif_aff_smbc_v1 "! Item is created in subpage new_page TYPE string VALUE 'NewPage', "!

Inline

- "! By clicking on 'Create' a new line is created but automatic navigation to subpage is not triggered. + "! By clicking on 'Create' a new line is created but automatic navigation to subpage is not performed. inline TYPE string VALUE 'Inline', "!

Creation Row

- "! By clicking on 'Add row' a new line is created but automatic navigation to subpage is not triggered. + "! By clicking on 'Add row' a new line is created but automatic navigation to subpage is not performed. creation_row TYPE string VALUE 'CreationRow', + "!

Empty Row

+ "! In create or edit mode, one new empty row is added to the table. + inline_creation_rows TYPE string VALUE 'InlineCreationRows', END OF co_creation_mode_name, "!

Initial Load

BEGIN OF co_initial_load,