SAP Message AP2001 - Currency &1 is not allowed for program position

Diagnosis
You tried to change the company code assignment or the currency of theprogram position.
As a result, the currencies of the controlling area (&V2&), the companycode (&V3&) and the program position (&V1&) are different. This is notallowed.

System Response
The change is not allowed.

Procedure
If you assign a company code to a program position, and the companycode currency is the same as the controlling area currency, then youcan choose any currency for the program position.
If, on the other hand, you assign a company code to the programposition, and this company code has a different currency than thecontrolling area currency, then you can only choose either thecontrolling area currency or the company code currency for the programposition.