Hi Gaurav,
Please check PAM and prepare a chart of your source system and target system versions , whcih supports each other.
It is not mandatory to upgrade all connected system before upgrading ERP, but still PAM helps us to derive at a solution.
regards
Vagesan