The problem is happening after the upgrade to BPC 10.1 NW SP 0007.
Versions are: CPMBPC 810 SP 0007
SAP-BW 740 SP 0012
POASBC 100_731 SP 0005
EPM Add-In is SP20.
Using the formula EPMWORKSTATUS the value for status 0 is returned. Values for status 1 and 2 are blank. Nothing is returned. The formula works fine on the previous version BPC 10.0 NW (CPMBPC 801 SP 0005).