Files
abap-llm/tasks_gen/train/G1029/seed/if_licence_merge.intf.abap

19 lines
598 B
ABAP

INTERFACE {{p}}if_licence_merge PUBLIC.
TYPES ty_product TYPE c LENGTH 10.
TYPES ty_cost_centre TYPE c LENGTH 6.
TYPES ty_price TYPE p LENGTH 8 DECIMALS 2.
TYPES:
BEGIN OF ty_licence,
product TYPE ty_product,
cost_centre TYPE ty_cost_centre,
seats TYPE i,
unit_price TYPE ty_price,
END OF ty_licence.
TYPES tt_licences TYPE STANDARD TABLE OF ty_licence WITH EMPTY KEY.
METHODS merge
IMPORTING it_primary TYPE tt_licences
it_secondary TYPE tt_licences
RETURNING VALUE(rt_merged) TYPE tt_licences.
ENDINTERFACE.