In a large skillet, melt the butter over medium high heat. Add the rosemary and fry until fragrant.
Season the salmon fillets with salt and pepper. Place the fillets in the skillet over the butter and rosemary flesh-side down. Reduce heat to medium, cover, and let cook for 9-12 minutes, or until desired doneness.
While the salmon is cooking, heat beans in a small pot over medium heat until just heated through.
To serve, divide beans evenly between two plates. Place salmon fillet over beans. Spoon cranberry sauce over salmon.