Open Serato DJ Pro
Open the preferences
Click the MIDI tab
Click the DJM-S7 in the upper window
Un-check the Allow Serato Hardware Remapping button above that window
Click the Restore Defaults button at the bottom of that window
Test to see if it works as expected.