SAP Message >5822 - Not all specified company codes have the same local currency

Diagnosis
In the specified company code selections at least two different localcurrencies (&V1& and &V2&) have been defined. The program can only bestarted if all company codes have one common local currency.

System Response
You cannot start the program.

Procedure
Check the company code selections, and limit these to company codeswith the same local currency.