Thanks for all the comments.
I did the follwing way.
Before I check in, I went to SAS website and looked up my LH/SN-booking. And I choose option for customise frequent flyer number per flight. I only add my number for the flights out.
This worked totally well, and when I checked in for SN flights on my way home, my number was not registered for the flights.