Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
15 lines
243 B
ABAP
15 lines
243 B
ABAP
FUNCTION {{p}}taxi_sample
|
|
IMPORTING
|
|
iv_distance_km TYPE decfloat34
|
|
iv_wait_min TYPE i
|
|
iv_start_time TYPE t
|
|
EXPORTING
|
|
ev_fare TYPE decfloat34
|
|
EXCEPTIONS
|
|
invalid_distance
|
|
invalid_wait.
|
|
|
|
ev_fare = 0.
|
|
|
|
ENDFUNCTION.
|