|
| 1 | +INTERFACE zif_aff_aifa_v1 |
| 2 | + PUBLIC. |
| 3 | + |
| 4 | + "! $values { @link zif_aff_aifa_v1.data:co_field_type } |
| 5 | + "! $default { @link zif_aff_aifa_v1.data:co_field_type.source_structure } |
| 6 | + TYPES ty_field_type TYPE c LENGTH 5. |
| 7 | + CONSTANTS: |
| 8 | + BEGIN OF co_field_type, |
| 9 | + "! <p class="shorttext">Source Structure</p> |
| 10 | + "! Field is in source structure |
| 11 | + source_structure TYPE c LENGTH 5 VALUE 'SRC_S', |
| 12 | + "! <p class="shorttext">Destination Structure</p> |
| 13 | + "! Field is in desctination structure |
| 14 | + destination_structure TYPE c LENGTH 5 VALUE 'DST_S', |
| 15 | + "! <p class="shorttext">Constant</p> |
| 16 | + "! Field is constant value |
| 17 | + constant TYPE c LENGTH 5 VALUE 'CONST', |
| 18 | + "! <p class="shorttext">System Field</p> |
| 19 | + "! Field is system field |
| 20 | + system_field TYPE c LENGTH 5 VALUE 'SYSTF', |
| 21 | + "! <p class="shorttext">Sending System</p> |
| 22 | + "! Field is in sending systemte |
| 23 | + sending_system TYPE c LENGTH 5 VALUE 'SND_S', |
| 24 | + "! <p class="shorttext">Current Line Number</p> |
| 25 | + "! Field is current line number |
| 26 | + current_line_number TYPE c LENGTH 5 VALUE 'LINEN', |
| 27 | + "! <p class="shorttext">Hierarchical Mapping</p> |
| 28 | + "! Fieldpath is starting from a parant node |
| 29 | + hierarchical_mapping TYPE c LENGTH 5 VALUE 'MAP_H', |
| 30 | + END OF co_field_type. |
| 31 | + |
| 32 | + "! $values { @link zif_aff_aifa_v1.data:co_error_handling_type } |
| 33 | + "! $default { @link zif_aff_aifa_v1.data:co_error_handling_type.ignore_data } |
| 34 | + TYPES ty_error_handling_type TYPE c LENGTH 1. |
| 35 | + CONSTANTS: |
| 36 | + BEGIN OF co_error_handling_type, |
| 37 | + "! <p class="shorttext">Treat As Error</p> |
| 38 | + "! Treat as error if check is not successful |
| 39 | + treat_as_error TYPE c LENGTH 1 VALUE '', |
| 40 | + "! <p class="shorttext">Ignore Data</p> |
| 41 | + "! Ignore data if check is not successful |
| 42 | + ignore_data TYPE c LENGTH 1 VALUE 'I', |
| 43 | + END OF co_error_handling_type. |
| 44 | + |
| 45 | + TYPES: |
| 46 | + "! <p class="shorttext">Fields To Check</p> |
| 47 | + "! Field to check |
| 48 | + BEGIN OF ty_field_to_check, |
| 49 | + "! <p class="shorttext">Type</p> |
| 50 | + "! Type |
| 51 | + type TYPE ty_field_type, |
| 52 | + "! <p class="shorttext">Name/Value</p> |
| 53 | + "! Name/Value |
| 54 | + name TYPE string, |
| 55 | + END OF ty_field_to_check, |
| 56 | + "! <p class="shorttext">Fields To Check</p> |
| 57 | + "! Fields to check |
| 58 | + ty_fields_to_check TYPE STANDARD TABLE OF ty_field_to_check WITH DEFAULT KEY. |
| 59 | + |
| 60 | + TYPES: |
| 61 | + "! <p class="shorttext">General Information</p> |
| 62 | + "! General information |
| 63 | + BEGIN OF ty_general_information, |
| 64 | + "! <p class="shorttext">Namespace</p> |
| 65 | + "! Namespace |
| 66 | + "! $required |
| 67 | + namespace TYPE c LENGTH 15, |
| 68 | + "! <p class="shorttext">AIF Action</p> |
| 69 | + "! AIF action |
| 70 | + "! $required |
| 71 | + aif_action TYPE c LENGTH 20, |
| 72 | + "! <p class="shorttext">Main Component Type</p> |
| 73 | + "! Main component type |
| 74 | + main_component_type TYPE zif_aff_types_v1=>ty_object_name_30, |
| 75 | + "! <p class="shorttext">Implementing Class</p> |
| 76 | + "! Implementing class |
| 77 | + implementing_class TYPE zif_aff_types_v1=>ty_object_name_30, |
| 78 | + END OF ty_general_information, |
| 79 | + |
| 80 | + "! <p class="shorttext">Check Details</p> |
| 81 | + "! Check details |
| 82 | + BEGIN OF ty_check_details, |
| 83 | + "! <p class="shorttext">ID</p> |
| 84 | + "! ID |
| 85 | + "! $required |
| 86 | + id TYPE n LENGTH 3, |
| 87 | + "! <p class="shorttext">Check</p> |
| 88 | + "! Check |
| 89 | + "! $required |
| 90 | + check TYPE zif_aff_types_v1=>ty_object_name_30, |
| 91 | + "! <p class="shorttext">Check Behavior</p> |
| 92 | + "! Check behavior |
| 93 | + check_behaviour TYPE ty_error_handling_type, |
| 94 | + "! <p class="shorttext">Fields</p> |
| 95 | + "! Fields |
| 96 | + fields TYPE ty_fields_to_check, |
| 97 | + END OF ty_check_details, |
| 98 | + "! <p class="shorttext">Checks</p> |
| 99 | + "! Checks |
| 100 | + ty_checks TYPE STANDARD TABLE OF ty_check_details WITH DEFAULT KEY, |
| 101 | + |
| 102 | + "! <p class="shorttext">Field To Restore</p> |
| 103 | + "! Field to restore |
| 104 | + BEGIN OF ty_field_to_restore, |
| 105 | + "! <p class="shorttext">Name</p> |
| 106 | + "! Name |
| 107 | + name TYPE string, |
| 108 | + END OF ty_field_to_restore, |
| 109 | + "! <p class="shorttext">Fields To Restore</p> |
| 110 | + "! Fields to restore |
| 111 | + ty_fields_to_restore TYPE STANDARD TABLE OF ty_field_to_restore WITH DEFAULT KEY, |
| 112 | + |
| 113 | + "! <p class="shorttext">Action</p> |
| 114 | + "! Action |
| 115 | + BEGIN OF ty_main, |
| 116 | + "! $required |
| 117 | + format_version TYPE zif_aff_types_v1=>ty_format_version, |
| 118 | + "! <p class="shorttext">Header</p> |
| 119 | + "! Header |
| 120 | + "! $required |
| 121 | + header TYPE zif_aff_types_v1=>ty_header_60_cloud, |
| 122 | + "! <p class="shorttext">General Information</p> |
| 123 | + "! General information |
| 124 | + "! $required |
| 125 | + general_information TYPE ty_general_information, |
| 126 | + "! <p class="shorttext">Fields To Restore</p> |
| 127 | + "! Fields to restore |
| 128 | + fields_to_restore TYPE ty_fields_to_restore, |
| 129 | + "! <p class="shorttext">Checks</p> |
| 130 | + "! Checks |
| 131 | + checks TYPE ty_checks, |
| 132 | + END OF ty_main. |
| 133 | + |
| 134 | +ENDINTERFACE. |
0 commit comments