Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
18 lines
315 B
ABAP
18 lines
315 B
ABAP
FUNCTION {{p}}camp_sample
|
|
IMPORTING
|
|
iv_pitch_type TYPE string
|
|
iv_nights TYPE i
|
|
iv_adults TYPE i
|
|
iv_electricity TYPE abap_bool
|
|
EXPORTING
|
|
ev_discount TYPE abap_bool
|
|
CHANGING
|
|
cv_fee TYPE decfloat34
|
|
EXCEPTIONS
|
|
invalid_nights.
|
|
|
|
ev_discount = abap_false.
|
|
cv_fee = 0.
|
|
|
|
ENDFUNCTION.
|