Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
a8ec8b7
Add files for EDOI & EDOT
i506210 Jan 27, 2025
499d83a
React to abaplint
i506210 Jan 27, 2025
e1e96b2
React to abaplint
i506210 Jan 27, 2025
ecdefa0
Merge branch 'main' into feature/edoi
i506210 Jan 27, 2025
3a2e9b9
React to comments from Michael Schneider
i506210 Jan 28, 2025
a1ec907
[EDOT] Add files for EDOT
i506210 Jan 28, 2025
6ed5d4c
reaction to comments
i506210 Feb 4, 2025
4c96d92
delete other object files in PR
i506210 Feb 4, 2025
a7025f3
correction
i506210 Feb 4, 2025
bdd762a
corrections
i506210 Feb 4, 2025
8848e73
Merge branch 'main' into feature/edot
i506210 Feb 13, 2025
1c07f07
Remove .DS_Store files
i506210 Feb 14, 2025
777533b
corrections
i506210 Feb 19, 2025
683a98d
corrections
i506210 Feb 26, 2025
6838a10
correction
i506210 Feb 26, 2025
ec64a94
correction
i506210 Feb 26, 2025
91e81a1
Merge branch 'main' into feature/edot
i506210 Mar 4, 2025
f69b218
corrections
i506210 Mar 10, 2025
9d3530c
correction to alignment
i506210 Mar 10, 2025
7164a56
corrections
i506210 Mar 24, 2025
6c1c9d7
corrections
i506210 Mar 24, 2025
b742a7f
corrections
i506210 Mar 24, 2025
58795a5
corrections
i506210 Mar 24, 2025
bc54473
correction
i506210 Mar 24, 2025
e90dd95
correction
i506210 Mar 24, 2025
013ffe6
correction
i506210 Mar 24, 2025
d644706
correction
i506210 Mar 24, 2025
48946ba
title changes
i506210 Jul 8, 2025
6f7986d
latest changes in label
i506210 Jul 8, 2025
33fafac
changes in alignment
i506210 Jul 8, 2025
eef4b02
correction to changes
i506210 Jul 25, 2025
9922e72
corrections
i506210 Jul 25, 2025
83d2cc9
corrections
i506210 Jul 25, 2025
5021759
corrections
i506210 Jul 25, 2025
4c90f28
correction
i506210 Jul 25, 2025
83ba32f
Merge branch 'main' into feature/edot
wurzka Jul 29, 2025
ac7f9f9
Fix line ending
wurzka Jul 29, 2025
2219ab3
corrections
i506210 Jul 30, 2025
aaed091
Merge branch 'main' into feature/edot
wurzka Aug 19, 2025
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
Binary file modified file-formats/edot/.DS_Store
Binary file not shown.
78 changes: 28 additions & 50 deletions file-formats/edot/edot-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/edot/edot-v1.json",
"title": "eDocument Type",
"description": "eDocument Type",
"description": "eDocument type",
"type": "object",
"properties": {
"formatVersion": {
Expand All @@ -18,10 +18,8 @@
"type": "object",
"properties": {
"description": {
"title": "Description",
"description": "Description of the ABAP object",
"type": "string",
"maxLength": 60
"maxLength": 30
},
"originalLanguage": {
"title": "Original Language",
Expand All @@ -35,17 +33,14 @@
"type": "string",
"enum": [
"standard",
"keyUser",
"cloudDevelopment"
],
"enumTitles": [
"Standard",
"ABAP for Key Users",
"ABAP Cloud Development"
],
"enumDescriptions": [
"Standard",
"ABAP for key user extensibility",
"ABAP cloud development"
],
"default": "standard"
Expand All @@ -58,42 +53,30 @@
]
},
"generalInformation": {
"title": "eDocument Type",
"description": "eDocument Type",
"title": "General Information",
"description": "General information",
"type": "object",
"properties": {
"edocumentType": {
"title": "eDocument Type",
"description": "eDoc Type",
"type": "string",
"maxLength": 10
},
"edocTypeDesc": {
"title": "Description",
"description": "eDocument Type Description",
"tableName": {
"title": "eDocument Table Name",

Check failure on line 61 in file-formats/edot/edot-v1.json

View workflow job for this annotation

GitHub Actions / Compare generated against provided

"title": "eDocument Local Table Name",
"description": "eDocument table name",

Check failure on line 62 in file-formats/edot/edot-v1.json

View workflow job for this annotation

GitHub Actions / Compare generated against provided

"description": "eDocument local table name",
"type": "string",
"maxLength": 30
},
"contingency": {
"title": "Created in Contingency Mode",
"description": "Contingency",
"description": "Created in contingency mode",
"type": "boolean"
},
"contingencyType": {
"title": "eDocument Type Created Using Contingency",
"description": "Contingency Type",
"description": "eDocument type created using contingency",
"type": "string",
"maxLength": 10
},
"tableName": {
"title": "Table Name",
"description": "Table name",
"type": "string",
"maxLength": 30
},
"archivePrepReqType": {
"archivePrepReq": {
"title": "Preprocess Before Archiving",
"description": "Archive Prep Req Type",
"description": "Preprocess before archiving",
"type": "boolean"
},
"edocumentSralConfiguration": {
Expand All @@ -103,53 +86,53 @@
"uniqueItems": true,
"items": {
"title": "SRAL Configuration Type",
"description": "eDocument SRAL Configuration type",
"description": "SRAL configuration type",
"type": "object",
"properties": {
"fileType": {
"title": "File Type",
"description": "File Type",
"description": "File type",
"type": "string",
"maxLength": 10
},
"fileStructureType": {
"fileStructure": {
"title": "File Structure Type",
"description": "File Structure type",
"description": "File structure type",
"type": "string",
"maxLength": 30
},
"fileDescriptionType": {
"fileDescription": {
"title": "File Description",
"description": "File Description type",
"description": "File description",
"type": "string",
"maxLength": 60
},
"notCloudRelevantType": {
"isCloudRelevant": {
"title": "File Cloud Relevancy",
"description": "File Cloud Relevancy type",
"description": "File cloud relevancy type",
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"fileType",
"fileStructureType"
"fileStructure"
]
}
},
"edocSpecAdditionalTable": {
"title": "eDocument Type Specific Additional Tables",
"description": "eDocument Type Specific Additional Tables",
"description": "eDocument type specific additional tables",
"type": "array",
"uniqueItems": true,
"items": {
"title": "eDocument Type Specific Additional Table Type",
"description": "eDocument Type Specific Additional Table type",
"title": "eDocument Type Specific Additional Tables",
"description": "eDocument type specific additional tables",
"type": "object",
"properties": {
"sequenceNumberType": {
"title": "Sequence Number Type",
"description": "Sequence Number",
"sequenceNumber": {
"title": "Sequence Number",
"description": "Sequence number",
"type": "string",
"maxLength": 10
},
Expand All @@ -162,18 +145,13 @@
},
"additionalProperties": false,
"required": [
"sequenceNumberType",
"sequenceNumber",
"tableName"
]
}
}
},
"additionalProperties": false,
"required": [
"edocumentType",
"edocTypeDesc",
"archivePrepReqType"
]
"additionalProperties": false
}
},
"additionalProperties": false,
Expand Down
96 changes: 45 additions & 51 deletions file-formats/edot/type/zif_aff_edot_v1.intf.abap
Original file line number Diff line number Diff line change
@@ -1,90 +1,84 @@
"! <p class="shorttext synchronized" lang="en">Create eDocument Types</p>
"! eDocument types that can be used in eInvoice Process
"! <p class="shorttext synchronized" lang="en">eDocument Type</p>
"! eDocument types that can be used in eInvoice process
INTERFACE zif_aff_edot_v1 PUBLIC.

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

"! <p class="shorttext">Description</p>
"! Description
TYPES ty_short_description TYPE c LENGTH 30.
TYPES:
"! <p class="shorttext">SRAL Configuration Type</p>
"! eDocument SRAL Configuration type
"! SRAL configuration type

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does SRAL stand for? Apologies if I might have missed it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello GuilhermeSaraiva,

Its about Read access logging setup. For more information
https://help.sap.com/doc/863abf53d25ab64ce10000000a174cb4/700_SFIN3E%20006/en-US/b10184538ca0e647e10000000a441470.html

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think is most common Term for the end user? RAL, SRAL or Read Access Logging? We want to avoid that internal terminology is present in AFF. Could you please confirm it with your UA?

BEGIN OF ty_sral_configuration,
"! <p class="shorttext">File Type</p>
"! File Type
"! File type
"! $required
file_type TYPE c LENGTH 10,
file_type TYPE c LENGTH 10,
"! <p class="shorttext">File Structure Type</p>
"! File Structure type
"! File structure type
"! $required
file_structure_type TYPE c LENGTH 30,
file_structure TYPE c LENGTH 30,
"! <p class="shorttext">File Description</p>
"! File Description type
file_description_type TYPE c LENGTH 60,
"! File description
file_description TYPE c LENGTH 60,
"! <p class="shorttext">File Cloud Relevancy</p>
"! File Cloud Relevancy type
not_cloud_relevant_type TYPE abap_bool,
"! File cloud relevancy type
is_cloud_relevant TYPE abap_bool,
END OF ty_sral_configuration.
"! <p class="shorttext">SRAL Configuration Types</p>
"! SRAL Configuration types
"! <p class="shorttext">SRAL Configuration</p>
"! SRAL configuration
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
"! <p class="shorttext">eDocument Type Specific Additional Tables</p>
"! eDocument type specific additional tables
BEGIN OF ty_additional_table,
"! <p class="shorttext">Sequence Number Type</p>
"! Sequence Number
"! <p class="shorttext">Sequence Number</p>
"! Sequence number
"! $required
sequence_number_type TYPE c LENGTH 10,
sequence_number TYPE c LENGTH 10,
"! <p class="shorttext">Table Name</p>
"! Table name
"! $required
table_name TYPE zif_aff_types_v1=>ty_object_name_30,
table_name TYPE zif_aff_types_v1=>ty_object_name_30,
END OF ty_additional_table.
"! <p class="shorttext">eDocument Type Specific Additional Table Types</p>
"! eDocument Type Specific Additional Table types
TYPES ty_additional_tables TYPE SORTED TABLE OF ty_additional_table WITH UNIQUE KEY sequence_number_type.
"! <p class="shorttext">eDocument Type Specific Additional Tables</p>
"! eDocument type specific additional tables
TYPES ty_additional_tables TYPE SORTED TABLE OF ty_additional_table WITH UNIQUE KEY sequence_number.

TYPES:
"! <p class="shorttext">General Information</p>
"! eDocument Type
"! General information
BEGIN OF ty_edoc_information,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
BEGIN OF ty_edoc_information,
BEGIN OF ty_general_information,

"! <p class="shorttext">eDocument Type</p>
"! eDoc Type
"! $required
edocument_type TYPE ty_edoc_type,
"! <p class="shorttext">Description</p>
"! eDocument Type Description
"! $required
edoc_type_desc TYPE ty_short_description,
"! <p class="shorttext">eDocument Local Table Name</p>
"! eDocument local table name
table_name TYPE zif_aff_types_v1=>ty_object_name_30,
"! <p class="shorttext">Created in Contingency Mode</p>
"! Contingency
"! Created in contingency mode
contingency TYPE abap_bool,
"! <p class="shorttext">eDocument Type Created Using Contingency</p>
"! Contingency Type
"! eDocument type created using contingency
contingency_type TYPE c LENGTH 10,
"! <p class="shorttext">Table Name</p>
"! Table name
table_name TYPE zif_aff_types_v1=>ty_object_name_30,
"! <p class="shorttext">Preprocess Before Archiving</p>
"! Archive Prep Req Type
"! $required
archive_prep_req_type TYPE abap_bool,
"! Preprocess before archiving
archive_prep_req TYPE abap_bool,
"! <p class="shorttext">Additional Selection Fields</p>
"! Additional selection fields of validation report
edocument_sral_configuration TYPE ty_sral_configurations,
"! <p class="shorttext">eDocument Type Specific Additional Tables</p>
"! eDocument Type Specific Additional Tables
"! eDocument type specific additional tables
edoc_spec_additional_table TYPE ty_additional_tables,
END OF ty_edoc_information.
TYPES:
"! <p class="shorttext">Header</p>
"! The header for an ABAP main object (without source code) with a description of 30 characters (no key user)
BEGIN OF ty_header_30_cloud,
"! $required
description TYPE c LENGTH 30,
"! $required
original_language TYPE zif_aff_types_v1=>ty_original_language,
abap_language_version TYPE zif_aff_types_v1=>ty_abap_language_version_cloud,
END OF ty_header_30_cloud.

TYPES:
"! <p class="shorttext">eDocument Type</p>
"! eDocument Type
"! eDocument type
BEGIN OF ty_main,
"! <p class="shorttext">Format Version</p>
"! Format version
Expand All @@ -93,9 +87,9 @@ INTERFACE zif_aff_edot_v1 PUBLIC.
"! <p class="shorttext">Header</p>
"! Header
"! $required
header TYPE zif_aff_types_v1=>ty_header_60,
"! <p class="shorttext">eDocument Type</p>
"! eDocument Type
header TYPE ty_header_30_cloud,
"! <p class="shorttext">General Information</p>
"! General information
"! $required
general_information TYPE ty_edoc_information,

Expand Down
2 changes: 1 addition & 1 deletion file-formats/edot/type/zif_aff_edot_v1.intf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"formatVersion": "1",
"header": {
"description": "Create eDocument Types",
"description": "eDocument Type",
"originalLanguage": "en"
}
}
Loading