Skip to content

Commit

Permalink
Update zif_aff_types_v1.intf.abap (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
huber-nicolas authored Sep 30, 2024
1 parent c8dfd4a commit 0f34c13
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 22 deletions.
2 changes: 1 addition & 1 deletion file-formats/dsfi/dsfi-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"const": "1"
},
"header": {
"title": "Header for Source Code Objects",
"title": "Header",
"description": "The header for an ABAP main object (with source code) with a description of 60 characters",
"type": "object",
"properties": {
Expand Down
58 changes: 37 additions & 21 deletions file-formats/zif_aff_types_v1.intf.abap
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ INTERFACE zif_aff_types_v1 PUBLIC.
"! <p class="shorttext">Description</p>
"! Description of the ABAP object
TYPES ty_description_60 TYPE c LENGTH 60.

"! <p class="shorttext">Description</p>
"! Description of the ABAP object
TYPES ty_description_80 TYPE c LENGTH 80.

"! <p class="shorttext">Description</p>
"! Description of the ABAP object
TYPES ty_description_100 TYPE c LENGTH 100.
Expand All @@ -82,18 +87,18 @@ INTERFACE zif_aff_types_v1 PUBLIC.
TYPES ty_original_language TYPE sy-langu.

TYPES:
"! <p class="shorttext">Header for Source Code Objects</p>
"! The header for an ABAP main object (with source code) with a description of 60 characters
BEGIN OF ty_header_60_src,
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code) with a description of 60 characters
BEGIN OF ty_header_60,
"! $required
description TYPE ty_description_60,
"! $required
original_language TYPE ty_original_language,
abap_language_version TYPE ty_abap_language_version_src,
END OF ty_header_60_src.
abap_language_version TYPE ty_abap_language_version,
END OF ty_header_60.

TYPES:
"! <p class="shorttext">Header for Non-Source Code Objects (no key user)</p>
"! <p class="shorttext">Header(no key user)</p>
"! The header for an ABAP main object (without source code) with a description of 60 characters (no key user)
BEGIN OF ty_header_60_cloud,
"! $required
Expand All @@ -103,17 +108,6 @@ INTERFACE zif_aff_types_v1 PUBLIC.
abap_language_version TYPE ty_abap_language_version_cloud,
END OF ty_header_60_cloud.

TYPES:
"! <p class="shorttext">Header for Non-Source Code Objects</p>
"! The header for an ABAP main object (without source code) with a description of 60 characters
BEGIN OF ty_header_60,
"! $required
description TYPE ty_description_60,
"! $required
original_language TYPE ty_original_language,
abap_language_version TYPE ty_abap_language_version,
END OF ty_header_60.

TYPES:
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code; without ABAP language version)
Expand All @@ -126,7 +120,29 @@ INTERFACE zif_aff_types_v1 PUBLIC.
END OF ty_header_60_no_abap_lv.

TYPES:
"! <p class="shorttext">Header for Non-Source Code Objects</p>
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (with source code) with a description of 60 characters
BEGIN OF ty_header_60_src,
"! $required
description TYPE ty_description_60,
"! $required
original_language TYPE ty_original_language,
abap_language_version TYPE ty_abap_language_version_src,
END OF ty_header_60_src.

TYPES:
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code) with a description of 80 characters
BEGIN OF ty_header_80,

Check failure on line 136 in file-formats/zif_aff_types_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "ty_header_80" not used

https://rules.abaplint.org/unused_types
"! $required
description TYPE ty_description_80,
"! $required
original_language TYPE ty_original_language,
abap_language_version TYPE ty_abap_language_version,
END OF ty_header_80.

TYPES:
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code) with a description of 100 characters
BEGIN OF ty_header_100,
"! $required
Expand All @@ -137,7 +153,7 @@ INTERFACE zif_aff_types_v1 PUBLIC.
END OF ty_header_100.

TYPES:
"! <p class="shorttext">Header for Non-Source Code Objects (no key user)</p>
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code) with a description of 100 characters (no key user)
BEGIN OF ty_header_100_cloud,
"! $required
Expand All @@ -148,8 +164,8 @@ INTERFACE zif_aff_types_v1 PUBLIC.
END OF ty_header_100_cloud.

TYPES:
"! <p class="shorttext">Header for Subobjects</p>
"! The header for an ABAP subobject with a description of 60 characters
"! <p class="shorttext">Header</p>
"! The header for an ABAP subobject with a description of 60 characters
BEGIN OF ty_header_only_description,
"! $required
description TYPE ty_description_60,
Expand Down

0 comments on commit 0f34c13

Please sign in to comment.