He said he'd call off the trip.

Literal

Trip [topic-は] cancellation [into-にする] [quotative-と] said.

やめにする (to decide to cancel / to call off) uses にする for making a decision. ~と言った quotes the statement. A straightforward reported speech sentence.