diff --git a/file-formats/smbc/README.md b/file-formats/smbc/README.md index 8ff4b335c..93d3b18ef 100644 --- a/file-formats/smbc/README.md +++ b/file-formats/smbc/README.md @@ -1,5 +1,5 @@ # SMBC File Format File | Cardinality | Definition | Schema | Example -:--- | :--- | :--- | :--- | :--- +:--- | :--- | :--- | :--- | :--- `.smbc.json` | 1 | [`zif_aff_smbc_v1.intf.abap`](./type/zif_aff_smbc_v1.intf.abap) | [`smbc-v1.json`](./smbc-v1.json) | [`z_aff_example_smbc.smbc.json`](./examples/z_aff_example_smbc.smbc.json) diff --git a/file-formats/smbc/examples/z_aff_example_smbc.smbc.json b/file-formats/smbc/examples/z_aff_example_smbc.smbc.json index 5920cc1e1..732dc773e 100644 --- a/file-formats/smbc/examples/z_aff_example_smbc.smbc.json +++ b/file-formats/smbc/examples/z_aff_example_smbc.smbc.json @@ -27,6 +27,7 @@ { "entitySet": "Customer", "tableType": "gridTable", + "selectionMode": "auto", "enableFullScreen": true } ] diff --git a/file-formats/smbc/smbc-v1.json b/file-formats/smbc/smbc-v1.json index fede5e84a..8cfc3d0ae 100644 --- a/file-formats/smbc/smbc-v1.json +++ b/file-formats/smbc/smbc-v1.json @@ -194,6 +194,11 @@ "title": "Editable Header Content", "description": "If true, the header content is changeable in edit mode", "type": "boolean" + }, + "showTransportSelectionStrip": { + "title": "Show Transport Selection Strip", + "description": "If true, the selected transport request and transport request select action are displayed in a message strip.", + "type": "boolean" } }, "additionalProperties": false @@ -234,12 +239,17 @@ "none" ], "enumTitles": [ - "Automatic", + "Automatic (deprecated)", "Select Multiple Entries", "Select Single Entry", "None" ], - "default": "auto" + "default": "multi" + }, + "selectAll": { + "title": "Select All", + "description": "Enable Select all checkbox", + "type": "boolean" }, "rowCountMode": { "title": "Row Count Mode", @@ -267,6 +277,13 @@ "maximum": 1000, "default": 5 }, + "frozenColumnCount": { + "title": "Frozen Column Count", + "description": "You can freeze the first columns of a table so that they always remain visible when scrolling horizontally", + "type": "integer", + "minimum": 0, + "maximum": 30 + }, "creationModeName": { "title": "Table Creation Mode", "type": "string", @@ -315,6 +332,11 @@ "description": "If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'.", "type": "boolean" }, + "widthIncludingColumnHeader": { + "title": "Include Column Headers in Width Calculation", + "description": "If true, include the column labels while calculating the default column width. By default, the column width is calculated based on the type of the content", + "type": "boolean" + }, "disablePaste": { "title": "Disable Paste", "description": "If true, disable the possibility to add several items by copying and pasting data from an excel file", 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 e5e3b72e1..eccc10978 100644 --- a/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap +++ b/file-formats/smbc/type/zif_aff_smbc_v1.intf.abap @@ -17,7 +17,7 @@ INTERFACE zif_aff_smbc_v1 END OF co_page_variant_management, "!

Selection Mode

BEGIN OF co_selection_mode, - "!

Automatic

+ "!

Automatic (deprecated)

auto TYPE string VALUE 'Auto', "!

Select Multiple Entries

multi TYPE string VALUE 'Multi', @@ -118,68 +118,83 @@ INTERFACE zif_aff_smbc_v1 "!

Object Page Settings

BEGIN OF ty_object_page, "!

Entity Set

- entity_set TYPE string, + entity_set TYPE string, "!

Section Layout

"! Toggle between onepage concept and tabs. "! $values {@link zif_aff_smbc_v1.data:co_section_layout} "! $default {@link zif_aff_smbc_v1.data:co_section_layout.page} - section_layout TYPE string, + section_layout TYPE string, "!

Variant Management

"! $values {@link zif_aff_smbc_v1.data:co_page_variant_management} "! $default {@link zif_aff_smbc_v1.data:co_page_variant_management.none} - variant_management TYPE string, + variant_management TYPE string, "!

Editable Header Content

"! If true, the header content is changeable in edit mode - editable_header_content TYPE abap_bool, + editable_header_content TYPE abap_bool, + "!

Show Transport Selection Strip

+ "! If true, the selected transport request and transport request select action are displayed in a message strip. + show_transport_selection_strip TYPE abap_bool, END OF ty_object_page, "!

Table Settings

BEGIN OF ty_table_setting, "!

Entity Set

- entity_set TYPE string, - table_type TYPE ty_table_type, + entity_set TYPE string, + table_type TYPE ty_table_type, "!

Selection Mode

"! $values {@link zif_aff_smbc_v1.data:co_selection_mode} - "! $default {@link zif_aff_smbc_v1.data:co_selection_mode.auto} - selection_mode TYPE string, + "! $default {@link zif_aff_smbc_v1.data:co_selection_mode.multi} + selection_mode TYPE string, + "!

Select All

+ "! Enable Select all checkbox + select_all TYPE abap_bool, "!

Row Count Mode

"! Defines how the table handles the visible rows in the table "! $values {@link zif_aff_smbc_v1.data:co_row_count_mode} "! $default {@link zif_aff_smbc_v1.data:co_row_count_mode.fixed} - row_count_mode TYPE string, + row_count_mode TYPE string, "!

Row Count

"! Number of visible rows of the table "! $minimum 1 "! $maximum 1000 "! $default '5' - row_count TYPE i, + row_count TYPE i, + "!

Frozen Column Count

+ "! You can freeze the first columns of a table so that they always remain visible when scrolling horizontally + "! $minimum 0 + "! $maximum 30 + frozen_column_count TYPE i, "!

Table Creation Mode

"! $values {@link zif_aff_smbc_v1.data:co_creation_mode_name} "! $default {@link zif_aff_smbc_v1.data:co_creation_mode_name.new_page} - creation_mode_name TYPE ty_creation_mode-name, + creation_mode_name TYPE ty_creation_mode-name, "!

Create at End

"! If true, a new row is added to the end of the table instead of the beginning of the table - create_at_end TYPE ty_creation_mode-create_at_end, + create_at_end TYPE ty_creation_mode-create_at_end, "!

Hide Filter

"! If true, the user cannot filter data of the table - hide_filter TYPE ty_personalization-hide_filter, + hide_filter TYPE ty_personalization-hide_filter, "!

Hide Sort

"! If true, the user cannot sort the table - hide_sort TYPE ty_personalization-hide_sort, + hide_sort TYPE ty_personalization-hide_sort, "!

Hide Column

"! If true, the user cannot add and remove columns to the table - hide_column TYPE ty_personalization-hide_column, + hide_column TYPE ty_personalization-hide_column, "!

Condensed Table Layout

"! If true, display rows in a condensed way. Only applicaple to Table Type 'GridTable'. - condensed_table_layout TYPE abap_bool, + condensed_table_layout TYPE abap_bool, + "!

Include Column Headers in Width Calculation

+ "! If true, include the column labels while calculating the default column width. + "! By default, the column width is calculated based on the type of the content + width_including_column_header TYPE abap_bool, "!

Disable Paste

"! If true, disable the possibility to add several items by copying and pasting data from an excel file - disable_paste TYPE abap_bool, + disable_paste TYPE abap_bool, "!

Enable Full Screen

"! If true, a button on the table toolbar allows the user to open the table in fullscreen dialog - enable_full_screen TYPE abap_bool, + enable_full_screen TYPE abap_bool, "!

Enable Mass Edit

"! Mass editing allows users to simultaneously change multiple objects that share the same editable properties - enable_mass_edit TYPE abap_bool, + enable_mass_edit TYPE abap_bool, END OF ty_table_setting, "!

Object Page Configurations

ty_object_pages TYPE SORTED TABLE OF ty_object_page WITH UNIQUE KEY entity_set,