Create one common structure as Hareesh mentioned (if that is feasible with business requirement) and you can also do Standard receiver determination here with the configured two receivers in this case. You can use context or xpath expression and do condition based on the xml_version field to choose appropriate receivers during runtime. Please refer Standard Receiver determination sap help link.
↧