- Static bundle checks (name length, seed type, reserved words, contract test classes, testclasses_file), local abaplint parser check before SAP, max_tokens, robust JSON parse - Runner: G2 for CDS views with parameters, contract_check detail in report - G0020 and G0013 fixed by review and revalidated (oracle 100, null 0) - Pilot results in docs/faz1-tasarim.md 11e; handover notes merged into CLAUDE.md and docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
558 B
ABAP
18 lines
558 B
ABAP
INTERFACE {{p}}if_shipping_cost PUBLIC.
|
|
TYPES ty_weight TYPE p LENGTH 13 DECIMALS 3.
|
|
TYPES ty_amount TYPE p LENGTH 15 DECIMALS 2.
|
|
|
|
CONSTANTS:
|
|
BEGIN OF c_rate,
|
|
min_charge TYPE ty_amount VALUE '6.00',
|
|
express_percent TYPE i VALUE 35,
|
|
bulk_weight TYPE ty_weight VALUE '31.500',
|
|
bulk_step TYPE ty_amount VALUE '0.65',
|
|
END OF c_rate.
|
|
|
|
METHODS calculate
|
|
IMPORTING iv_weight TYPE ty_weight
|
|
iv_express TYPE abap_bool
|
|
RETURNING VALUE(rv_cost) TYPE ty_amount.
|
|
ENDINTERFACE.
|