Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Get WorkStatus from the other model issue (EPMWorkStatus)

$
0
0

Hello,

 

I’ve faced an issue with EPMWorkStatus formula. What I have:

  1.        Two categories, let’s call them C1 and C2. C2 is a copy of C1 (was copied with standard copy package)
  2.        In C1 there are some work statuses assigned
  3.        In C2 there are no work statuses assigned yet
  4.        I have two models, let’s call them M1 and M2. Work statuses are configured only for one model – M1. And the driver dimension presents only in M1 model
  5.        Dimensions involved in work status assignment are Category (C type dimension), Time (T type dimension), P_PROJECT (U type dimension) and the driver dimension WFSTATUS (U type dimension)
  6.          I have 3 statuses, let’s call them s1, s2, s3 (in this order)
  7.        I have 2 connections: one to connect to M1 (let’s call it Connection1) and the other to connect to M2 (Connection2)

I have workbook saved in M2. And I need to get work status with EPMWorkStatus formula from model M1. It seems to be a pretty easy task – just to point “M1” (model name) in “Connection name” parameter of the EPMWorkStatus formula:

=EPMWorkStatus(M1,0,”C2”,[any Time dim base member], [any P_PROJECT dim base member],[any WFSTATUS dim base member])

But I faced an issue. The formula returns value “s3” though there are no work statuses set for C2 category because I just created it. And there’re also no records for C2 category in generated work status table for the model M1 (I checked it at SE16 transaction). That is the formula should have returned “s1” value.

I made some investigations and found out that if I connect using Connection1 (then change active connection to Connection2), then I got the correct results. But if I connect using Connection2, I always have the incorrect results. Even if I connect using Connection2 and then change active connection to Connection1 I have the incorrect results as well. So the results depend of what connection I used to log on (“Log on” button in Excel EPM tab).

I also found out that received status from the EPM formula when I connect to Connection2 depends of the status I have in the same scope for category C1. That is if I have “s1” status for C1 category, I will have “s1” status for C2 category.

How can I get the work status from the other connection?


Viewing all articles
Browse latest Browse all 5414

Trending Articles