Sample Code
Decision
Don't place decision to execute in the subroutine
perform get_start_end_date.
form get_start_end_date.
quote}
check not ( s_workdt[] is initial ).
...more processing...
quote}
endform.
instead do:
If not ( s_workdt[] is initial ).
quote}
perform get_start_end_date.
quote}
endif.