Skip to content

Commit

Permalink
React to abaplint
Browse files Browse the repository at this point in the history
  • Loading branch information
i506210 authored Jan 27, 2025
1 parent a8ec8b7 commit 499d83a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
15 changes: 7 additions & 8 deletions file-formats/edoi/type/zif_aff_edoi_v1.intf.abap
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
INTERFACE zif_aff_edoi_v1
PUBLIC.
INTERFACE zif_aff_edoi_v1 PUBLIC.

"! <p class="shorttext">Interface direction</p>
"! Interface direction
Expand All @@ -14,7 +13,7 @@ INTERFACE zif_aff_edoi_v1
"! <p class="shorttext">Interface Version</p>
"! Interface Version
"! $required
int_version TYPE numc04,
int_version TYPE edoc_int_version,
"! <p class="shorttext">Interface Version Description</p>
"! Interface Version Description
"! $required
Expand All @@ -27,7 +26,7 @@ INTERFACE zif_aff_edoi_v1
END OF ty_edoc_interface_version.
"! <p class="shorttext">Interface Versions</p>
"! eDocument Interface Versions
TYPES tt_edoc_interface_version TYPE SORTED TABLE OF ty_edoc_interface_version WITH UNIQUE KEY int_version.
TYPES ty_edoc_interface_versions TYPE SORTED TABLE OF ty_edoc_interface_version WITH UNIQUE KEY int_version.

Check failure on line 29 in file-formats/edoi/type/zif_aff_edoi_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_EDOC_INTERFACE_VERSIONS" contains unknown: EDOC_INT_VERSION not found, lookup

https://rules.abaplint.org/unknown_types
TYPES:
"! <p class="shorttext">Attribute Determination for Communication with Cloud Edition</p>
"! DRC Integration Attribute Determination
Expand Down Expand Up @@ -55,12 +54,12 @@ INTERFACE zif_aff_edoi_v1
"! <p class="shorttext">Response Interface Version</p>
"! Response Interface Version
"! $required
resp_int_version TYPE numc04,
resp_int_version TYPE edoc_int_version,

END OF ty_edoc_int_drc_attr.
"! <p class="shorttext">Interface Versions</p>
"! eDocument Interface Versions
TYPES tt_edoc_int_drc_attr TYPE SORTED TABLE OF ty_edoc_int_drc_attr WITH UNIQUE KEY process_type.
TYPES ty_edoc_int_drc_attributes TYPE SORTED TABLE OF ty_edoc_int_drc_attr WITH UNIQUE KEY process_type.

Check failure on line 62 in file-formats/edoi/type/zif_aff_edoi_v1.intf.abap

View check run for this annotation

abaplint / abaplint

Type "TY_EDOC_INT_DRC_ATTRIBUTES" contains unknown: EDOC_INT_VERSION not found, lookup

https://rules.abaplint.org/unknown_types
TYPES:
"! <p class="shorttext">General Information</p>
"! eDocument Interface
Expand All @@ -82,11 +81,11 @@ INTERFACE zif_aff_edoi_v1
"! <p class="shorttext">Interface Version</p>
"! Interface Version
"! $required
edocument_interface_version TYPE tt_edoc_interface_version,
edocument_interface_version TYPE ty_edoc_interface_versions,
"! <p class="shorttext">Attribute Determination for Communication with Cloud Edition</p>
"! DRC Integration Attribute Determination
"! $required
edoc_spec_additional_table TYPE tt_edoc_int_drc_attr,
edoc_spec_additional_table TYPE ty_edoc_int_drc_attributes,
END OF ty_edoc_interface.
TYPES:
"! <p class="shorttext">eDocument Interface</p>
Expand Down
18 changes: 8 additions & 10 deletions file-formats/edot/type/zif_aff_edot_v1.intf.abap
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
"! <p class="shorttext synchronized" lang="en">Create eDocument Types</p>
"! eDocument types that can be used in eInvoice Process
INTERFACE zif_aff_edot_v1
PUBLIC.
INTERFACE zif_aff_edot_v1 PUBLIC.

TYPES:
"! <p class="shorttext">eDocument Type</p>
"! Specify eDocument types
ty_edoc_type TYPE c LENGTH 10.
TYPES ty_edoc_type TYPE c LENGTH 10.

"! <p class="shorttext">Description</p>
"! Description
Expand All @@ -32,12 +30,12 @@ PUBLIC.
END OF ty_sral_configuration.
"! <p class="shorttext">SRAL Configuration Types</p>
"! SRAL Configuration types
TYPES tt_sral_configuration TYPE SORTED TABLE OF ty_sral_configuration WITH UNIQUE KEY file_type.
TYPES ty_sral_configurations TYPE SORTED TABLE OF ty_sral_configuration WITH UNIQUE KEY file_type.

TYPES:
"! <p class="shorttext">eDocument Type Specific Additional Table Type</p>
"! eDocument Type Specific Additional Table type
BEGIN OF ty_edoc_spec_additional_table,
BEGIN OF ty_additional_table,
"! <p class="shorttext">Sequence Number Type</p>
"! Sequence Number
"! $required
Expand All @@ -46,10 +44,10 @@ PUBLIC.
"! Table name
"! $required
table_name TYPE zif_aff_types_v1=>ty_object_name_30,
END OF ty_edoc_spec_additional_table.
END OF ty_additional_table.
"! <p class="shorttext">eDocument Type Specific Additional Table Types</p>
"! eDocument Type Specific Additional Table types
TYPES tt_edoc_spec_additional_table TYPE SORTED TABLE OF ty_edoc_spec_additional_table WITH UNIQUE KEY sequence_number_type.
TYPES ty_additional_tables TYPE SORTED TABLE OF ty_additional_table WITH UNIQUE KEY sequence_number_type.

TYPES:
"! <p class="shorttext">General Information</p>
Expand Down Expand Up @@ -78,10 +76,10 @@ PUBLIC.
archive_prep_req_type TYPE abap_bool,
"! <p class="shorttext">Additional Selection Fields</p>
"! Additional selection fields of validation report
edocument_sral_configuration TYPE tt_sral_configuration,
edocument_sral_configuration TYPE ty_sral_configurations,
"! <p class="shorttext">eDocument Type Specific Additional Tables</p>
"! eDocument Type Specific Additional Tables
edoc_spec_additional_table TYPE tt_edoc_spec_additional_table,
edoc_spec_additional_table TYPE ty_additional_tables,
END OF ty_edoc_information.

TYPES:
Expand Down

0 comments on commit 499d83a

Please sign in to comment.