Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
21 lines
434 B
ABAP
21 lines
434 B
ABAP
CLASS {{p}}cx_claim_date DEFINITION
|
|
PUBLIC
|
|
INHERITING FROM {{p}}cx_claim_error
|
|
FINAL
|
|
CREATE PUBLIC.
|
|
|
|
PUBLIC SECTION.
|
|
DATA mv_claim_date TYPE d READ-ONLY.
|
|
|
|
METHODS constructor
|
|
IMPORTING iv_claim_date TYPE d.
|
|
ENDCLASS.
|
|
|
|
|
|
CLASS {{p}}cx_claim_date IMPLEMENTATION.
|
|
METHOD constructor.
|
|
super->constructor( iv_message = 'Claim date is in the future' ).
|
|
mv_claim_date = iv_claim_date.
|
|
ENDMETHOD.
|
|
ENDCLASS.
|