-
Notifications
You must be signed in to change notification settings - Fork 72
[SXTG] Add new object type SXTG #687
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7e41e73
Add files for SXTG
robinPfaffSap e82ab76
React to review comments
robinPfaffSap c0d1dee
React to abaplint
robinPfaffSap e902a95
React to review comment
robinPfaffSap 46f7c12
React to review
robinPfaffSap 23618b8
Merge branch 'main' into feature/sxtg
Markus1812 1cae321
Merge branch 'main' into feature/sxtg
schneidermic0 d08e8bd
React to review
robinPfaffSap 0e2609c
React to review
robinPfaffSap 13b39ef
Update file-formats/sxtg/type/zif_aff_sxtg_v1.intf.abap
robinPfaffSap 01f1a96
React to review
robinPfaffSap 484266f
Add description
wurzka c3c2495
Merge branch 'main' into feature/sxtg
wurzka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| # SAP GUI Extension Point File Format | ||
|
|
||
| ## Object Type Information | ||
|
|
||
| Object Type | Description | Group | ||
| :--- | :--- | :--- | ||
| SXTG | SAP GUI Extension Point | Extensibility | ||
|
|
||
| ## File Structure | ||
|
|
||
| File | Cardinality | Definition | Schema | Example | ||
| :--- | :--- | :--- | :--- | :--- | ||
| `<name>.sxtg.json` | 1 | [`zif_aff_sxtg_v1.intf.abap`](./type/zif_aff_sxtg_v1.intf.abap) | [`sxtg-v1.json`](./sxtg-v1.json) | [`sxtg_tsm_so.sxtg.json`](./examples/sxtg_tsm_so.sxtg.json) |
This file contains hidden or 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,17 @@ | ||
| { | ||
| "formatVersion": "1", | ||
| "header": { | ||
| "description": "", | ||
| "originalLanguage": "en" | ||
| }, | ||
| "generalInformation": { | ||
| "extensionInclude": "SXTG_S_TSM_SO_INCL_EEW", | ||
| "applicationDataStructure": "SXTG_S_TSM_SO_APPL_DATA", | ||
| "uiExtensionEntity": "D_SXTG_TSM_SO_UI_HEADER" | ||
| }, | ||
| "transactionCodes": [ | ||
| { | ||
| "name": "SXTG_TSM_SO" | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or 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,95 @@ | ||
| { | ||
| "$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/sxtg/sxtg-v1.json", | ||
| "title": "SAP GUI Extension Point", | ||
| "description": "SAP GUI extension point for developer extensibility", | ||
| "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 | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "description", | ||
| "originalLanguage" | ||
| ] | ||
| }, | ||
| "generalInformation": { | ||
| "title": "General Information", | ||
| "description": "General information", | ||
| "type": "object", | ||
| "properties": { | ||
| "extensionInclude": { | ||
| "title": "Extension Include", | ||
| "description": "Extension include with persisted custom fields", | ||
| "type": "string", | ||
| "maxLength": 30 | ||
| }, | ||
| "applicationDataStructure": { | ||
| "title": "Application Data Structure", | ||
| "description": "Structure with application data", | ||
| "type": "string", | ||
| "maxLength": 30 | ||
| }, | ||
| "uiExtensionEntity": { | ||
| "title": "UI Extension Entity", | ||
| "description": "Abstract entity with ui definition", | ||
| "type": "string", | ||
| "maxLength": 30 | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "extensionInclude", | ||
| "applicationDataStructure", | ||
| "uiExtensionEntity" | ||
| ] | ||
| }, | ||
| "transactionCodes": { | ||
| "title": "Transaction Codes", | ||
| "description": "Transaction codes of extensible application", | ||
| "type": "array", | ||
| "items": { | ||
| "title": "Transaction Codes", | ||
| "description": "Transaction codes", | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "title": "Name", | ||
| "description": "Name of transaction code", | ||
| "type": "string", | ||
| "maxLength": 20 | ||
| } | ||
| }, | ||
| "additionalProperties": false | ||
| } | ||
| } | ||
| }, | ||
| "additionalProperties": false, | ||
| "required": [ | ||
| "formatVersion", | ||
| "header" | ||
| ] | ||
| } |
This file contains hidden or 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,59 @@ | ||
| INTERFACE zif_aff_sxtg_v1 | ||
| PUBLIC. | ||
|
|
||
| TYPES: | ||
| "! <p class="shorttext">Transaction Codes</p> | ||
| "! Transaction codes | ||
| BEGIN OF ty_transaction_code, | ||
| "! <p class="shorttext">Name</p> | ||
| "! Name of transaction code | ||
| name TYPE c LENGTH 20, | ||
| END OF ty_transaction_code. | ||
|
|
||
| "! <p class="shorttext">Transaction Codes</p> | ||
| "! Transaction codes | ||
| TYPES ty_transaction_codes TYPE STANDARD TABLE OF ty_transaction_code WITH KEY name. | ||
|
|
||
| TYPES: | ||
| "! <p class="shorttext">General Information</p> | ||
| "! General information | ||
| BEGIN OF ty_general_information, | ||
| "! <p class="shorttext">Extension Include</p> | ||
| "! Extension include with persisted custom fields | ||
| "! $required | ||
| extension_include TYPE zif_aff_types_v1=>ty_object_name_30, | ||
|
|
||
| "! <p class="shorttext">Application Data Structure</p> | ||
| "! Structure with application data | ||
| "! $required | ||
| application_data_structure TYPE zif_aff_types_v1=>ty_object_name_30, | ||
|
|
||
| "! <p class="shorttext">UI Extension Entity</p> | ||
| "! Abstract entity with ui definition | ||
| "! $required | ||
| ui_extension_entity TYPE zif_aff_types_v1=>ty_object_name_30, | ||
| END OF ty_general_information. | ||
|
|
||
| TYPES: | ||
| "! <p class="shorttext">SAP GUI Extension Point</p> | ||
| "! SAP GUI extension point for developer extensibility | ||
| 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_no_abap_lv, | ||
|
|
||
| "! <p class="shorttext">General Information</p> | ||
| "! General information | ||
| general_information TYPE ty_general_information, | ||
|
|
||
| "! <p class="shorttext">Transaction Codes</p> | ||
| "! Transaction codes of extensible application | ||
| transaction_codes TYPE ty_transaction_codes, | ||
| END OF ty_main. | ||
|
|
||
| ENDINTERFACE. |
This file contains hidden or 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": "SXTG: SAP GUI Extension Point AFF Type", | ||
| "originalLanguage": "en" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.