- 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>
15 lines
401 B
ABAP
15 lines
401 B
ABAP
CLASS {{p}}cx_weight_limit DEFINITION PUBLIC INHERITING FROM {{p}}cx_freight_error FINAL CREATE PUBLIC.
|
|
PUBLIC SECTION.
|
|
DATA mv_weight_kg TYPE p LENGTH 15 DECIMALS 3.
|
|
DATA mv_max_weight_kg TYPE i.
|
|
|
|
METHODS get_reason_text REDEFINITION.
|
|
ENDCLASS.
|
|
|
|
|
|
CLASS {{p}}cx_weight_limit IMPLEMENTATION.
|
|
METHOD get_reason_text.
|
|
rv_text = 'Weight exceeds the zone limit'.
|
|
ENDMETHOD.
|
|
ENDCLASS.
|