noun
while taking a walk; on a walk
Used to describe doing something else while going for a walk. Often follows a noun or verb stem with the pattern 〜かたがた.
散歩旁、近所の様子を見てきた。
While taking a walk, I checked out the neighborhood.
散歩旁、買い物を済ませた。
I finished my shopping while taking a walk.
ついでに is an adverb meaning 'incidentally' or 'while you're at it', used for taking advantage of an opportunity. かたがた implies a more deliberate combination of two activities.
Compound of 散歩 (さんぽ, 'walk') and 旁 (かたがた, 'while doing something'). かたがた is a formal suffix meaning 'while' or 'at the same time', often used in written language.