Teman saya berbeda pendapat dengan saya.

English Translation

My friend is opposed to my opinion.

The Indonesian-English pair doesn’t match.
The Indonesian sentence means “my friend has a different opinion from mine”. It clearly means that my friend has their own opinion.
However, my friend in the English sentence is able to opposed to my opinion without their counter-opinion.