Skip to content

Commit

Permalink
Run ABAP cleaner on Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeCD committed Sep 7, 2023
1 parent 3488a7b commit 828b58b
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions file-formats/uipg/type/zif_aff_uipg_v1.intf.abap
Original file line number Diff line number Diff line change
@@ -1,167 +1,167 @@
interface zif_aff_uipg_v1
public.
INTERFACE zif_aff_uipg_v1
PUBLIC.

types:
TYPES:
"! <p class="shorttext">General Information</p>
"! General information
begin of ty_general_information,
BEGIN OF ty_general_information,
"! <p class="shorttext">Title</p>
"! Title of the page template
"! $required
title type zif_aff_types_v1=>ty_description_100,
title TYPE zif_aff_types_v1=>ty_description_100,
"! <p class="shorttext">Description</p>
"! Additional description
description type zif_aff_types_v1=>ty_description_100,
description TYPE zif_aff_types_v1=>ty_description_100,
"! <p class="shorttext">Merge ID</p>
"! Merge ID
merge_id type c length 35,
end of ty_general_information.
merge_id TYPE c LENGTH 35,
END OF ty_general_information.

"! <p class="shorttext">Catalog Type</p>
"! Catalog type
"! $values {@link /ui2/zif_aff_uipg_v1:co_catalog_type}
"! $default {@link /ui2/if_afzif_aff_uipg_v1atalog_type.standard}
types ty_catalog_type type c length 3.
TYPES ty_catalog_type TYPE c LENGTH 3.

constants:
CONSTANTS:
"! <p class="shorttext">Catalog Type</p>
"! catalog type
begin of co_catalog_type,
BEGIN OF co_catalog_type,
"! <p class="shorttext">Standard Catalog</p>
"! Standard catalog
"! $enumValue 'CAT'
standard type ty_catalog_type value 'CAT',
end of co_catalog_type.
standard TYPE ty_catalog_type VALUE 'CAT',
END OF co_catalog_type.

"! <p class="shorttext">Tile Display Format</p>
"! Tile display format
"! $values {@link /ui2/if_aff_uipzif_aff_uipg_v1isplay_format}
"! $default {@link /ui2/if_aff_uipg_v1.zif_aff_uipg_v1y_format.standard}
types ty_tile_display_format type c length 2.
TYPES ty_tile_display_format TYPE c LENGTH 2.

constants:
CONSTANTS:
"! <p class="shorttext">Tile Display Format</p>
"! Tile display format
begin of co_tile_display_format,
BEGIN OF co_tile_display_format,
"! <p class="shorttext">Standard Tile</p>
"! Standard tile
"! $enumValue 'TI'
standard type ty_tile_display_format value 'TI',
standard TYPE ty_tile_display_format VALUE 'TI',
"! <p class="shorttext">Wide Tile</p>
"! Wide tile
"! $enumValue 'TW'
wide type ty_tile_display_format value 'TW',
wide TYPE ty_tile_display_format VALUE 'TW',
"! <p class="shorttext">Flat Tile</p>
"! Flat tile
"! $enumValue 'FT'
flat type ty_tile_display_format value 'FT',
flat TYPE ty_tile_display_format VALUE 'FT',
"! <p class="shorttext">Flat Wide</p>
"! Flat wide
"! $enumValue 'FW'
flat_wide type ty_tile_display_format value 'FW',
flat_wide TYPE ty_tile_display_format VALUE 'FW',
"! <p class="shorttext">Link</p>
"! link
"! $enumValue 'LK'
link type ty_tile_display_format value 'LK',
end of co_tile_display_format.
link TYPE ty_tile_display_format VALUE 'LK',
END OF co_tile_display_format.

types:
TYPES:
"! <p class="shorttext">Page Section</p>
"! Page Section
begin of ty_tile_assignment,
BEGIN OF ty_tile_assignment,
"! <p class="shorttext">Tile Catalog Id</p>
"! Tile catalog id
tile_catalog_id type c length 35,
tile_catalog_id TYPE c LENGTH 35,
"! <p class="shorttext">Tile Catalog Type</p>
"! Tile catalog type
tile_catalog_type type ty_catalog_type,
tile_catalog_type TYPE ty_catalog_type,
"! <p class="shorttext">Tile Id</p>
"! Tile id
tile_id type c length 50,
tile_id TYPE c LENGTH 50,
"! <p class="shorttext">Tile Display Format</p>
"! tile display format
tile_display_format type ty_tile_display_format,
tile_display_format TYPE ty_tile_display_format,
"! <p class="shorttext">Target Mapping Catalog Id</p>
"! Target Mapping catalog id
tm_catalog_id type c length 35,
tm_catalog_id TYPE c LENGTH 35,
"! <p class="shorttext">Target Mapping Catalog Type</p>
"! Target Mapping catalog type
tm_catalog_type type ty_catalog_type,
tm_catalog_type TYPE ty_catalog_type,
"! <p class="shorttext">Target Mapping Id</p>
"! Target Mapping id
tm_id type c length 50,
end of ty_tile_assignment.
tm_id TYPE c LENGTH 50,
END OF ty_tile_assignment.

"! <p class="shorttext">Item Assignment Type</p>
"! Item assignment type
"! $values {@link /ui2/if_aff_uipg_v1.data:zif_aff_uipg_v1$default {@link /ui2/if_aff_uipg_v1.data:co_itzif_aff_uipg_v1es ty_item_type type c length 2.
"! $values {@link /ui2/if_aff_uipg_v1.data:zif_aff_uipg_v1$default {@link /ui2/if_aff_uipg_v1.data:co_itzif_aff_uipg_v1ES ty_item_type TYPE c LENGTH 2.

Check failure on line 97 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Reduce line length to max 120, currently 153

https://rules.abaplint.org/line_length

constants:
CONSTANTS:
"! <p class="shorttext">Item Assignment Type</p>
"! Item assignment type
begin of co_item_type,
BEGIN OF co_item_type,

Check failure on line 102 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Variable "CO_ITEM_TYPE" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types
"! <p class="shorttext">Tile</p>
"! Tile
"! $enumValue 'TI'
tile type ty_item_type value 'TI',
end of co_item_type.
tile TYPE ty_item_type VALUE 'TI',
END OF co_item_type.

types:
TYPES:
"! <p class="shorttext">Page Section Item Assignment</p>
"! Page Section Item Assignment
begin of ty_item,
BEGIN OF ty_item,

Check failure on line 112 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_ITEM" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types
"! <p class="shorttext">ID</p>
"! Id of the Assignment
id type c length 35,
id TYPE c LENGTH 35,
"! <p class="shorttext">Type</p>
"! Type of the Assignment
type type ty_item_type,
type TYPE ty_item_type,
"! <p class="shorttext">ID</p>
"! Id of the Page Section
tile_assignment type ty_tile_assignment,
end of ty_item,
tile_assignment TYPE ty_tile_assignment,
END OF ty_item,

ty_items type standard table of ty_item with default key. " TODO do we need an index property or can we rely on the order of the table?
ty_items TYPE STANDARD TABLE OF ty_item WITH DEFAULT KEY.

Check failure on line 124 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_ITEMS" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types

types:
TYPES:
"! <p class="shorttext">Page Section</p>
"! Page Section
begin of ty_section,
BEGIN OF ty_section,

Check failure on line 129 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_SECTION" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types
"! <p class="shorttext">ID</p>
"! Id of the Page Section
id type c length 35,
id TYPE c LENGTH 35,
"! <p class="shorttext">Title</p>
"! Section title
title type c length 100,
title TYPE c LENGTH 100,
"! <p class="shorttext">Items</p>
"! Assigned Page Section Items
items type ty_items,
end of ty_section,
items TYPE ty_items,
END OF ty_section,

ty_sections type standard table of ty_section with default key. " TODO do we need an index property or can we rely on the order of the table?
ty_sections TYPE STANDARD TABLE OF ty_section WITH DEFAULT KEY.

Check failure on line 141 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_SECTIONS" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types

types:
TYPES:
"! <p class="shorttext">Fiori Launchpad Page Template</p>
"! Fiori launchpad page template
begin of ty_main,
BEGIN OF ty_main,

Check failure on line 146 in file-formats/uipg/type/zif_aff_uipg_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_MAIN" contains unknown: TY_ITEM_TYPE not found, lookup

https://rules.abaplint.org/unknown_types
"! <p class="shorttext">Format Version</p>
"! Format version
"! $required
format_version type zif_aff_types_v1=>ty_format_version,
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_100_cloud,
header TYPE zif_aff_types_v1=>ty_header_100_cloud,

"! <p class="shorttext">General Information</p>
"! General information
"! $required
general_information type ty_general_information,
general_information TYPE ty_general_information,

"! <p class="shorttext">Page Templates</p>
"! Assigned SAP Fiori launchpad page templates
sections type ty_sections,
end of ty_main.
"! <p class="shorttext">Page Sections</p>
"! Sections of the Page Template
sections TYPE ty_sections,
END OF ty_main.

endinterface.
ENDINTERFACE.

0 comments on commit 828b58b

Please sign in to comment.