SA investigators are seeking to recover more than R400m from German software firm SAP for two government contracts they say were entered into unlawfully, court documents show.