Jake Lehmann has struck an unbeaten ton and Liam Scott chipped in with 83 as South Australia secured hosting rights for the Shield final by beating Victoria.