Skip to content

Commit 8a2c913

Browse files
committed
Adjust AFF for AIFP
1 parent 61ae790 commit 8a2c913

File tree

3 files changed

+20
-41
lines changed

3 files changed

+20
-41
lines changed

file-formats/aifp/aifp-v1.json

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -116,30 +116,21 @@
116116
"description": "Type",
117117
"type": "string",
118118
"enum": [
119-
"sourceStructure",
120-
"destinationStructure",
121119
"constant",
122120
"systemField",
123-
"messageVariableAll",
124-
"messageVariableSingle"
121+
"definedField"
125122
],
126123
"enumTitles": [
127-
"Source Structure",
128-
"Destination Structure",
129124
"Constant",
130125
"System Field",
131-
"Message Variable (All)",
132-
"Message Variable (Single)"
126+
"Defined Field"
133127
],
134128
"enumDescriptions": [
135-
"Source structure",
136-
"Destination structure",
137129
"Constant value",
138130
"System field",
139-
"Message variable (all)",
140-
"Message variable (single)"
131+
"Defined field in the check assignment"
141132
],
142-
"default": "sourceStructure"
133+
"default": "definedField"
143134
},
144135
"path": {
145136
"title": "Path",
@@ -515,30 +506,21 @@
515506
"description": "Type",
516507
"type": "string",
517508
"enum": [
518-
"sourceStructure",
519-
"destinationStructure",
520509
"constant",
521510
"systemField",
522-
"messageVariableAll",
523-
"messageVariableSingle"
511+
"definedField"
524512
],
525513
"enumTitles": [
526-
"Source Structure",
527-
"Destination Structure",
528514
"Constant",
529515
"System Field",
530-
"Message Variable (All)",
531-
"Message Variable (Single)"
516+
"Defined Field"
532517
],
533518
"enumDescriptions": [
534-
"Source structure",
535-
"Destination structure",
536519
"Constant value",
537520
"System field",
538-
"Message variable (all)",
539-
"Message variable (single)"
521+
"Defined field in the check assignment"
540522
],
541-
"default": "sourceStructure"
523+
"default": "definedField"
542524
},
543525
"path": {
544526
"title": "Path",

file-formats/aifp/examples/z_aff_example_aifp.aifp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"variableAssignments": [
1616
{
1717
"number": 1,
18-
"type": "sourceStructure",
19-
"path": "BP_ID"
18+
"type": "definedField",
19+
"value": "1"
2020
}
2121
]
2222
},

file-formats/aifp/type/zif_aff_aifp_v1.intf.abap

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ INTERFACE zif_aff_aifp_v1
1919
ty_field_type TYPE c LENGTH 7.
2020
TYPES:
2121
"! $values { @link zif_aff_aifp_v1.data:co_variable_type }
22-
"! $default { @link zif_aff_aifp_v1.data:co_variable_type.source_structure }
22+
"! $default { @link zif_aff_aifp_v1.data:co_variable_type.defined_field }
2323
ty_variable_type TYPE c LENGTH 5.
2424
TYPES:
2525
"! <p class="shorttext">Variable List</p>
@@ -270,23 +270,20 @@ INTERFACE zif_aff_aifp_v1
270270
END OF co_field_type.
271271
CONSTANTS:
272272
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',
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',
279279
"! <p class="shorttext">Constant</p>
280280
"! Constant value
281281
constant TYPE ty_variable_type VALUE 'CONST',
282282
"! <p class="shorttext">System Field</p>
283283
"! System field
284284
system_field TYPE ty_variable_type VALUE 'SYSTF',
285-
"! <p class="shorttext">Message Variable (All)</p>
286-
"! Message variable (all)
287-
message_variable_all TYPE ty_variable_type VALUE 'MSGVA',
288-
"! <p class="shorttext">Message Variable (Single)</p>
289-
"! Message variable (single)
290-
message_variable_single TYPE ty_variable_type VALUE 'MSGVS',
285+
"! <p class="shorttext">Defined Field</p>
286+
"! Defined field in the check assignment
287+
defined_field TYPE ty_variable_type VALUE 'D_FLD',
291288
END OF co_variable_type.
292289
ENDINTERFACE.

0 commit comments

Comments
 (0)