Skip to content

Commit 7408b9e

Browse files
[create-pull-request] automated change (#77)
1 parent 4d1c861 commit 7408b9e

File tree

2 files changed

+106
-37
lines changed

2 files changed

+106
-37
lines changed

src/zif_aff_aifa_v1.intf.abap

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,13 @@ INTERFACE zif_aff_aifa_v1
4848
BEGIN OF ty_field_to_check,
4949
"! <p class="shorttext">Type</p>
5050
"! Type
51-
type TYPE ty_field_type,
52-
"! <p class="shorttext">Name/Value</p>
53-
"! Name/Value
54-
name TYPE string,
51+
type TYPE ty_field_type,
52+
"! <p class="shorttext">Name</p>
53+
"! Name
54+
name TYPE string,
55+
"! <p class="shorttext">Value</p>
56+
"! Value
57+
value TYPE string,
5558
END OF ty_field_to_check,
5659
"! <p class="shorttext">Fields To Check</p>
5760
"! Fields to check

src/zif_aff_aifp_v1.intf.abap

Lines changed: 99 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,50 @@ INTERFACE zif_aff_aifp_v1
1313
"! $values { @link zif_aff_aifp_v1.data:co_database_check_type }
1414
"! $default { @link zif_aff_aifp_v1.data:co_database_check_type.check_existence }
1515
ty_database_check_type TYPE c LENGTH 1.
16+
TYPES:
17+
"! $values { @link zif_aff_aifp_v1.data:co_field_type }
18+
"! $default { @link zif_aff_aifp_v1.data:co_field_type.pattern }
19+
ty_field_type TYPE c LENGTH 7.
20+
TYPES:
21+
"! $values { @link zif_aff_aifp_v1.data:co_variable_type }
22+
"! $default { @link zif_aff_aifp_v1.data:co_variable_type.defined_field }
23+
ty_variable_type TYPE c LENGTH 5.
24+
TYPES:
25+
"! <p class="shorttext">Variable List</p>
26+
"! Variable list
27+
BEGIN OF ty_variable,
28+
"! <p class="shorttext">Number</p>
29+
"! Number
30+
"! $minimum 1
31+
"! $maximum 4
32+
number TYPE i,
33+
"! <p class="shorttext">Type</p>
34+
"! Type
35+
type TYPE ty_variable_type,
36+
"! <p class="shorttext">Field</p>
37+
"! Field
38+
field TYPE string,
39+
"! <p class="shorttext">Value</p>
40+
"! Value
41+
value TYPE string,
42+
END OF ty_variable.
43+
TYPES:
44+
"! <p class="shorttext">Variable Details</p>
45+
"! Variable details
46+
ty_variables TYPE STANDARD TABLE OF ty_variable WITH DEFAULT KEY.
1647
TYPES:
1748
"! <p class="shorttext">Check Message</p>
1849
"! Check Message
1950
BEGIN OF ty_message,
2051
"! <p class="shorttext">Message Class</p>
2152
"! Message class
22-
message_class TYPE c LENGTH 20,
53+
message_class TYPE c LENGTH 20,
2354
"! <p class="shorttext">Message Number</p>
2455
"! Message number
25-
message_number TYPE c LENGTH 3,
26-
"! <p class="shorttext">Message Variable 1</p>
27-
"! Message variable 1
28-
message_variable_1 TYPE string,
29-
"! <p class="shorttext">Message Variable 2</p>
30-
"! Message variable 2
31-
message_variable_2 TYPE string,
32-
"! <p class="shorttext">Message Variable 3</p>
33-
"! Message variable 3
34-
message_variable_3 TYPE string,
35-
"! <p class="shorttext">Message Variable 4</p>
36-
"! Message variable 4
37-
message_variable_4 TYPE string,
56+
message_number TYPE c LENGTH 3,
57+
"! <p class="shorttext">Message Variable Assignments</p>
58+
"! Message variable assignments
59+
variable_assignments TYPE ty_variables,
3860
END OF ty_message.
3961
TYPES:
4062
"! <p class="shorttext">Field Check</p>
@@ -46,9 +68,15 @@ INTERFACE zif_aff_aifp_v1
4668
"! <p class="shorttext">Operator</p>
4769
"! Operator for field check
4870
operator TYPE zif_aff_types_v1=>ty_option,
49-
"! <p class="shorttext">Pattern</p>
50-
"! Pattern for Field Check
51-
pattern TYPE c LENGTH 60,
71+
"! <p class="shorttext">Field Type</p>
72+
"! Field type
73+
field_type TYPE ty_field_type,
74+
"! <p class="shorttext">Field</p>
75+
"! Field
76+
field TYPE c LENGTH 60,
77+
"! <p class="shorttext">Value</p>
78+
"! Value or pattern for Field Check
79+
value TYPE c LENGTH 60,
5280
END OF ty_field_check.
5381
TYPES:
5482
"! <p class="shorttext">Database Check</p>
@@ -69,9 +97,15 @@ INTERFACE zif_aff_aifp_v1
6997
"! <p class="shorttext">Operator</p>
7098
"! Operator for database check
7199
operator TYPE zif_aff_types_v1=>ty_option,
72-
"! <p class="shorttext">Pattern</p>
73-
"! Pattern for database check
74-
pattern TYPE c LENGTH 60,
100+
"! <p class="shorttext">Field Type</p>
101+
"! Field type
102+
field_type TYPE ty_field_type,
103+
"! <p class="shorttext">Field</p>
104+
"! Field
105+
field TYPE c LENGTH 60,
106+
"! <p class="shorttext">Value</p>
107+
"! Value or pattern for database check
108+
value TYPE c LENGTH 60,
75109
END OF ty_database_check.
76110
TYPES:
77111
"! <p class="shorttext">Custom Implementation</p>
@@ -81,17 +115,19 @@ INTERFACE zif_aff_aifp_v1
81115
"! Class name for check
82116
class TYPE zif_aff_types_v1=>ty_object_name_30,
83117
END OF ty_custom_implementation.
118+
84119
TYPES:
85-
"! <p class="shorttext">Check Details</p>
86-
"! Check details
120+
"! <p class="shorttext">Single Check</p>
121+
"! Single check
87122
BEGIN OF ty_single_check,
88-
"! <p class="shorttext">Number</p>
89-
"! Number
90-
"! $required
91-
number TYPE n LENGTH 3,
92123
"! <p class="shorttext">Description</p>
93124
"! Description
125+
"! $required
94126
description TYPE c LENGTH 120,
127+
"! <p class="shorttext">ID</p>
128+
"! ID
129+
"! $required
130+
id TYPE n LENGTH 3,
95131
"! <p class="shorttext">Scenario</p>
96132
"! Scenario
97133
scenario TYPE ty_check_scenario,
@@ -130,22 +166,22 @@ INTERFACE zif_aff_aifp_v1
130166
"! Check
131167
BEGIN OF ty_main,
132168
"! $required
133-
format_version TYPE zif_aff_types_v1=>ty_format_version,
169+
format_version TYPE zif_aff_types_v1=>ty_format_version,
134170
"! <p class="shorttext">Header</p>
135171
"! Header
136172
"! $required
137-
header TYPE zif_aff_types_v1=>ty_header_60_cloud,
173+
header TYPE zif_aff_types_v1=>ty_header_60_cloud,
138174
"! <p class="shorttext">General Information</p>
139175
"! General information
140176
"! $required
141-
general_information TYPE ty_general_information,
177+
general_information TYPE ty_general_information,
142178
"! <p class="shorttext">Error Message</p>
143179
"! Error message
144-
error_message TYPE ty_message,
145-
"! <p class="shorttext">Check Assignments</p>
146-
"! Check assignments
180+
error_message TYPE ty_message,
181+
"! <p class="shorttext">Single Check Assignments</p>
182+
"! Single check assignments
147183
"! $required
148-
check_assignments TYPE ty_single_checks,
184+
single_check_assignments TYPE ty_single_checks,
149185
END OF ty_main.
150186

151187
CONSTANTS:
@@ -220,4 +256,34 @@ INTERFACE zif_aff_aifp_v1
220256
"! Compare
221257
compare TYPE ty_database_check_type VALUE '3',
222258
END OF co_database_check_type.
259+
CONSTANTS:
260+
BEGIN OF co_field_type,
261+
"! <p class="shorttext">Defined Field</p>
262+
"! Defined field in the check assignment
263+
defined_field TYPE ty_field_type VALUE 'DEF_FLD',
264+
"! <p class="shorttext">Pattern</p>
265+
"! Pattern
266+
pattern TYPE ty_field_type VALUE 'STRING',
267+
"! <p class="shorttext">System Field</p>
268+
"! System field
269+
system_field TYPE ty_field_type VALUE 'SYS_FLD',
270+
END OF co_field_type.
271+
CONSTANTS:
272+
BEGIN OF co_variable_type,
273+
* "! <p class="shorttext">Source Structure</p>
274+
* "! Source structure
275+
* source_structure TYPE ty_variable_type VALUE 'SRC_S',
276+
* "! <p class="shorttext">Destination Structure</p>
277+
* "! Destination structure
278+
* destination_structure TYPE ty_variable_type VALUE 'DST_S',
279+
"! <p class="shorttext">Constant</p>
280+
"! Constant value
281+
constant TYPE ty_variable_type VALUE 'CONST',
282+
"! <p class="shorttext">System Field</p>
283+
"! System field
284+
system_field TYPE ty_variable_type VALUE 'SYSTF',
285+
"! <p class="shorttext">Defined Field</p>
286+
"! Defined field in the check assignment
287+
defined_field TYPE ty_variable_type VALUE 'D_FLD',
288+
END OF co_variable_type.
223289
ENDINTERFACE.

0 commit comments

Comments
 (0)