The san migrated into South Africa because of;
Over population in South Africa.
The need for pasture and water for their cattle.
Hostile tribes in South Africa.
Internal conflicts that might have caused discontement in their homeland.