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

[SMBC] update 2411 #672

Merged
merged 33 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
75e2f52
update 2411
sepp4me Aug 18, 2024
d52923e
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
d319aae
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
09b8f5c
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
7f08879
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
c1e474b
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
9ea2f78
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
7274da5
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
caf0c30
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
c8018ce
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
39ade4b
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
d152706
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
198c392
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
5d2752b
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
3bc04c8
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
19dc6bd
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
9d7f3ae
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
f3d810e
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
cec6b6a
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
66b2eb3
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
72aaad2
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
fe7a00a
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
3f9d152
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
874d5d7
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
9f06c61
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
6031bf1
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
e759dee
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
2d50772
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 4, 2024
5cbf251
Merge branch 'main' into main
schneidermic0 Nov 8, 2024
bbdd517
Update zif_aff_smbc_v1.intf.abap
sepp4me Nov 8, 2024
9eab511
Update smbc-v1.json
sepp4me Nov 8, 2024
04da818
Update file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
sepp4me Nov 13, 2024
39f2ab7
Update smbc-v1.json
sepp4me Nov 13, 2024
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
2 changes: 1 addition & 1 deletion file-formats/smbc/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SMBC File Format

File | Cardinality | Definition | Schema | Example
:--- | :--- | :--- | :--- | :---
:--- | :--- | :--- | :--- | :---
`<name>.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)
1 change: 1 addition & 0 deletions file-formats/smbc/examples/z_aff_example_smbc.smbc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
{
"entitySet": "Customer",
"tableType": "gridTable",
"selectionMode": "auto",
"enableFullScreen": true
}
]
Expand Down
26 changes: 24 additions & 2 deletions file-formats/smbc/smbc-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
55 changes: 35 additions & 20 deletions file-formats/smbc/type/zif_aff_smbc_v1.intf.abap
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ INTERFACE zif_aff_smbc_v1
END OF co_page_variant_management,
"! <p class="shorttext synchronized">Selection Mode</p>
BEGIN OF co_selection_mode,
"! <p class="shorttext synchronized">Automatic</p>
"! <p class="shorttext synchronized">Automatic (deprecated)</p>
auto TYPE string VALUE 'Auto',
"! <p class="shorttext synchronized">Select Multiple Entries</p>
multi TYPE string VALUE 'Multi',
Expand Down Expand Up @@ -118,68 +118,83 @@ INTERFACE zif_aff_smbc_v1
"! <p class="shorttext synchronized">Object Page Settings</p>
BEGIN OF ty_object_page,
"! <p class="shorttext synchronized">Entity Set</p>
entity_set TYPE string,
entity_set TYPE string,
"! <p class="shorttext synchronized">Section Layout</p>
"! 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,
"! <p class="shorttext synchronized">Variant Management</p>
"! $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,
"! <p class="shorttext synchronized">Editable Header Content</p>
"! If true, the header content is changeable in edit mode
editable_header_content TYPE abap_bool,
editable_header_content TYPE abap_bool,
"! <p class="shorttext synchronized">Show Transport Selection Strip</p>
"! 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,
"! <p class="shorttext synchronized">Table Settings</p>
BEGIN OF ty_table_setting,
"! <p class="shorttext synchronized">Entity Set</p>
entity_set TYPE string,
table_type TYPE ty_table_type,
entity_set TYPE string,
table_type TYPE ty_table_type,
"! <p class="shorttext synchronized">Selection Mode</p>
"! $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}
schneidermic0 marked this conversation as resolved.
Show resolved Hide resolved
selection_mode TYPE string,
"! <p class="shorttext synchronized">Select All</p>
"! Enable Select all checkbox
select_all TYPE abap_bool,
"! <p class="shorttext synchronized">Row Count Mode</p>
"! 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,
"! <p class="shorttext synchronized">Row Count</p>
"! Number of visible rows of the table
"! $minimum 1
"! $maximum 1000
"! $default '5'
row_count TYPE i,
row_count TYPE i,
"! <p class="shorttext synchronized">Frozen Column Count</p>
"! 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,
"! <p class="shorttext synchronized">Table Creation Mode</p>
"! $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,
"! <p class="shorttext synchronized">Create at End</p>
"! 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,
"! <p class="shorttext synchronized">Hide Filter</p>
"! If true, the user cannot filter data of the table
hide_filter TYPE ty_personalization-hide_filter,
hide_filter TYPE ty_personalization-hide_filter,
"! <p class="shorttext synchronized">Hide Sort</p>
"! If true, the user cannot sort the table
hide_sort TYPE ty_personalization-hide_sort,
hide_sort TYPE ty_personalization-hide_sort,
"! <p class="shorttext synchronized">Hide Column</p>
"! 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,
"! <p class="shorttext synchronized">Condensed Table Layout</p>
"! 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,
"! <p class="shorttext synchronized">Include Column Headers in Width Calculation</p>
"! 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,
"! <p class="shorttext synchronized">Disable Paste</p>
"! 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,
"! <p class="shorttext synchronized">Enable Full Screen</p>
"! 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,
"! <p class="shorttext synchronized">Enable Mass Edit</p>
"! 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,
"! <p class="shorttext synchronized" >Object Page Configurations</p>
ty_object_pages TYPE SORTED TABLE OF ty_object_page WITH UNIQUE KEY entity_set,
Expand Down
Loading