EPMWorkstatus() - Retrieving wrong values for status

Dear community,
I have a very special problem concerning the EPMWorkstatus() formula within the EPM-Client. This issue only appears on our quality ensurance system (QS) and productive system (PS), not on our development System (DS).
------ Setup is as follows:
workstatus is defined for three dimensions:
project (user defined dimension with owner attribute)
the project itsself is always a node
there is only one level of several workpackages below
measure/value (user defined dimension)
several Input values such as RF or budget etc.pp.
on node above them to organize all measures/values that are shown within the planning layout
time (time dimension)standard time dimension (years, quarters, months) with one adjustment
there is a top node ALL above all years
there is element NONE which is not in the hierarchy
All dimensions only have one hierarchy in use (PARENTH1)
------ Problem is as follows:
I have designed a workstatus report that shows the status for:
one workpackage
one month of the year (e.g.: 2015.01) as representative for the status of the whole year, because the controllers only enter data on year level which will be disaggregated by a code fragment
one measure / value
The EPMWorkstatus formula looks is embedded in an Excel formula which does some checks but the EPM part looks like that:
EPMWorkstatus(,0,EPMMemberID(cell-for-project-reference),EPMMemberID(cell-for-measure-reference),EPMMemberID(cell-for-time-refence))
Situation is now a follows:
I have a simple project with 3 workpackages. All of them have no explicit status, so they are in DEFAULT WORKSTATEon refresh the workstatus report shows empty cells which is perfectly fine
I chose one workpackage and open the workstatus Dialog
the project selection stays as it is (e.g. one workpackage)
for the measure / value dimension I chose one element or the node above those elements
for the time dimension I chose one year node or the top node ALL for all years
I set the status to "closed"
On refreshing the workstatus report all other workpackages seem to inherit the same status - so all formulas show the value "closed". Sometimes one element combination stays empty which would be the correct status.
The table which stores the workstatus looks fine (SE38 >> UJW_WS_TEST) and only has entries for the formerly selected workpackage.
The only way to get around this issue is to first set an explicit Status for the whole project to "open" and then do the same steps mentioned above. But this is no good solution because a master data update could bring new workpackages to the project.
Anyways I am trying to find out why it works on the DS and not on the QS / PS.
Could it a be a transportation problem? - As far as I checked via the web admin surface it looks the same on every System
The owner dimension project and the Attribute values for owner look the same on every system
It cannot be a client problem due to fact that we use one client version for all systems.
So where could I look where the problem comes from? Any help would be really appreciated.
Cheers,
Gernot

Hi Dinesh,
thank you for your reply. The results are as follows (please see the picture):
the development system seems to have another status ID for "open" and "closed" than the quality and productive system
but if I set a workpackage status to "closed" (e.g. "gesperrt" in screenshot) it seems to be consistent within the workstatus table as you can see in the screenshot
So I am not sure why that would have an impact on the workstatus...
Cheers,
Gernot

Similar Messages

  • Sales Order form error  "Not able to retrieve Display values for Service"

    Hi,
    Few of our orders flash the below error message when the order is queried
    "Not able to retrieve Display values for Service"
    Below are the points I observed
    1.The orders I am referring to are imported order via EDI interface.
    2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
    3. The item is not a service item (service tab in Item setup is disabled)
    4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
    5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
    Can someone explain the significance of this column value and what could have been causing this error message?
    May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
    Thanks in advance,
    JC
    Edited by: user10174990 on Oct 25, 2012 10:58 AM

    Hi,
    Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
    or
    Apply these OSS note 150732 / 195993.
    regards,
    Venkatesan Anandan

  • CALCULATE_TAX_ITEM gives wrong values for Scess and HScess in PO Print

    Dear Friends,
    I am working with PO Print in smartforms hare the Fm CALCULATE_TAX_ITEM is gives wrong values for Scess and HEcess if I put the Gate pass (Basic Excise Duty) Manually.
    And one more Issue is as if I check any line item condition taxes than imediatly when I see the print the all line items Scee and HEcess displays same which I have saw.
    If there is a single line item in PO than there is no issue any way.
    kindly suggest to resolve the issue.
    Regards,
    D Tarun Kumar

    Hi,
    I had the same issue, that taxes on invoice tab of PO was not printed correctly on PO form by calling CALCULATE_TAX_ITEM.
    If you want to have the same tax value as komp-mwsbp, that use following form routine call before FB CALCULATE_TAX_ITEM.
    perform j_1b_save_tax_fields(saplmepo) using ekko ekpo lfa1.
    This is used in transaction me23n also.
    Kind regards,
    Tülay

  • Scripting: How to retrieve the value for next year

    Hi Experts,
    Need help on HFM rules for retrieving the next year value
    Specificationt: Financial year values start from Apr to Mar
    I am bale to retrieve the values from Apr to dec, when trying to retrieve for Jan and mar getting the wrong values
    using : A# xxx.C1#xxx.y#cur
    please suggest your comments
    Thanks,
    SSr

    Hi,
    Still getting the wrong values
    FYear start from April to Mar
    For ex:
    2012                                                                                    2013
              apr     may     jun     jul     aug     sep     oct     nov     dec   jan     feb     mar
              1        1            1     1       1        1         1        1        1       1       1        1
    YTD
    OT     1          2          3      4       5        6        7        8        9     10     11     12
    Thanks,
    Ssr

  • Retrieve alert values for use as parameter in corrective action sql script

    I am trying to write a corrective action sql script to kill a session that is blocking other sessions. I have the "blocking session count" metric set and the alert is firing correctly.
    Is there any way to retrieve the sid and serial number from the alert generated and use it in a corrective action sql script?
    Here is the alert generated:
    Target Name=myproddb.world
    Target Type=Database Instance
    Host=myprodserver
    Metric=Blocking Session Count
    Blocking Session ID=SID: 522 Serial#: 5228
    Timestamp=Mar 4, 2008 5:57:12 PM EST
    Severity=Warning
    Message=Session 522 is blocking 1 other sessions
    Notification Rule Name=Testing Corrective actions
    Notification Rule Owner=sysman
    Clearly the sid, and serial # is contained within the alert Message field
    what I want to write for the sql script is :
    alter system kill session '%sid%,%serial_no%' immediate;
    and have GC pass in the sid and serial_no to the script.
    The "Target Properties" listed on the right of the Edit Corrective Action screen lists minimal details pertaining to the alert and certainly not the session sid, serial no.
    Generically, is there any way to retrieve the values from an alert and use them in a corrective action script or job?
    I've looked into getting the values from the mgmt$alert_history table, but I'm hoping that GC can pass the values to the sql script.
    thanks in advance for your help.

    Hi
    You can implementing a procedure like this.
    1. When a block session count alarms occurs, there is a column in the v$lock that you can examine.
    #!/bin/ksh
    #kill_block_session.sh
    #first export your variables
    export ORACLE_HOME=/oracle/product/10.2.0.3
    export ORACLE_SID=SIDNAME
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    execute immediate killed_blocks;
    EOF
    # end
    The killed_blocks is a procedure:
    create procedure
    declare
    v_sid varchar2(15);
    v_serial varchar2(15);
    -- now a sql query that retrieve the sid and serial
    -- you can obtain these values from v$session and v$lock
    select vs.sid,vs.serial into v_sid,v_serial
    from v$session vs,v$lock vl
    where vs.sid=vl.sid
    and vl.block >0
    -- After this, you execute a dbms_put line with these
    -- values
    But you understant that this response action is very dangerous, because its possible that you kill sessions that the blocking are transitient.
    You must examine your enviroment and your application and establish the metric like UDM and not for only session blocking count.
    You must to see:
    - The type of block
    - The ctime time in the v$lock for to understatn the amount of time to determine that the block is need killed.
    - In my opinion you need a special UDM and deactivate the blocking sesion count
    If you want help to create this UDM send me a mail to [email protected]
    Regards
    Robert

  • Puzzle why query returned wrong value for last record in update.

    Hi all,
    10.2.0.4, Windows 32 bit.
    Apply 15% dis.count to related 5 items ( total amount 522 ) sorted by lowest amount first (amount = 1).
    Last record ( amount = 200 ) will be the total dis.count amount ( 78.3 ) less applied accumulated dis.count amount ( 48.50 ).
    Query runs fine without update clause but wrong result for last record with update.
    CREATE TABLE "T1"
        "ID"       NUMBER NOT NULL ENABLE,
        "ITEM_ID"  VARCHAR2(20 BYTE) NOT NULL ENABLE,
        "AMOUNT"   NUMBER(10,2) NOT NULL ENABLE,
        "dizcount" NUMBER(10,2)
    INSERT INTO T1 ( ID, ITEM_ID, AMOUNT, dizcount )  VALUES ( 65, '101', 1, NULL ) ;
    INSERT INTO T1 ( ID, ITEM_ID, AMOUNT, dizcount )  VALUES ( 65, '102', 1, NULL ) ;
    INSERT INTO T1 ( ID, ITEM_ID, AMOUNT, dizcount )  VALUES ( 65, '201', 200, NULL ) ;
    INSERT INTO T1 ( ID, ITEM_ID, AMOUNT, dizcount )  VALUES ( 65, '215', 155, NULL ) ;
    INSERT INTO T1 ( ID, ITEM_ID, AMOUNT, dizcount )  VALUES ( 65, '111', 165, NULL ) ;
    UPDATE t1 a
    SET a.dizcount =
      (SELECT
        CASE
          WHEN rec_count = row_count
          THEN (78.3 - NVL(lag(temp_total,1) over ( order by rec_count) ,0))-- 78.3 is total dizcount amount from 522 * .15
          ELSE disc_amt
        END amt
      FROM
        (SELECT id,
          item_id,
          disc_amt,
          rec_count,
          row_count,
          CASE
            WHEN rec_count != row_count -- accumulate dizcount amount except for last record
            THEN SUM(disc_amt) over (order by rec_count)
            ELSE 0
          END temp_total
        FROM
          (SELECT ID ,
            item_id,
            amount amt,
            ROUND(amount * .15,1) disc_amt, -- dizcount is 15%
            row_number () over (order by amount) rec_count,
            COUNT ( *) over () row_count
          FROM t1
          WHERE ID = 65
        GROUP BY id,
          item_id,
          disc_amt,
          rec_count,
          row_count
        )b
      WHERE a.item_id = b.item_id
      );Regards
    Zack
    Edited by: Zack.L on Jul 26, 2010 1:26 AM

    Zack.L wrote:
    Query runs fine without update clause but wrong result for last record with update.Not sure why but looks like another case in favour of MERGE.
    MERGE INTO T1
    using (SELECT id, item_id,
        CASE
          WHEN rec_count = row_count
          THEN (78.3 - NVL(lag(temp_total,1) over ( order by rec_count) ,0))-- 78.3 is total dizcount amount from 522 * .15
          ELSE disc_amt
        END amt
      FROM
        (SELECT id,
          item_id,
          disc_amt,
          rec_count,
          row_count,
          CASE
            WHEN rec_count != row_count -- accumulate dizcount amount except for last record
            THEN SUM(disc_amt) over (order by rec_count)
            ELSE 0
          END temp_total
        FROM
          (SELECT ID ,
            item_id,
            amount amt,
            ROUND(amount * .15,1) disc_amt, -- dizcount is 15%
            row_number () over (order by amount) rec_count,
            COUNT ( *) over () row_count
          FROM t1
          WHERE ID = 65
        GROUP BY id,
          item_id,
          disc_amt,
          rec_count,
          row_count
        ))b
    on (t1.id = b.id and t1.item_id = b.item_id)
    when matched then update set dizcount = b.amt ;This worked for me. I tested on 11.2 but should work on 10.2.0.4
    SQL> select * from t1 order by amount ;
            ID ITEM_ID                  AMOUNT   DIZCOUNT
            65 101                           1         .2
            65 102                           1         .2
            65 215                         155       23.3
            65 111                         165       24.8
            65 201                         200       29.8p.s. BTW, not sure if you want the column names in different cases, but your script, as it is, gave me an error (on 11.2)

  • Person or Group colum in the SharePoint list retrieves empty value for Mobile phone property

    Person or Group colum in the SharePoint list retrieves empty Mobile phone for some users although thoses users have Mobile Phone values in the User Proifles. This happens only for some users. For some users  it shows Mobile phone for
    some days and after some days it dess not show Mobile Phone though Mobile Phone entries are in the User Profiles for those users.
    Appreciate any help to fix this.
    Thanks in Advance!
    Narayana Reddy
    Narayana Reddy G

    Hi Narayana,
    According to your description, my understanding is that the person or group column retrieved an empty value for Mobile phone in SharePoint 2010.
    Please go to the hidden User Information List using
    http://<SiteCollectionUrl>/_catalogs/users/detail.aspx , check the value of Mobile phone.
    Please go to CA->Monitoring->Review job definitions, scroll to User Profile to SharePoint Full Synchronization
    and
    User Profile to SharePoint Quick Synchronization, make sure they work well.
    In addition, please take a look at :
    http://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Retrieve correct value for SelectOneChoice

    Does anyone know how to retrieve the correct value in a SelectOneChoice for an inline table? What should I use to get the value of a selectOneChoice column? for example "#{row.CodeId}" does not return the correct value, since the column is not in the parent table, so I use the <af:selectOneChoice value="#{detailRow.CodeId}" ... it doesn't work. It retrieve the correct value in a text format and lose the dropdown list style
    This is what I've used to do the binding:
    <af:selectOneChoice value="#{detailRow.CodeId}"
    label="Code ID"
    id="selectOneChoice1"
    autoSubmit="true"
    valuePassThru="true">
    <af:forEach var="li"
    items="#{bindings.codeLookupVO1.rangeSet}">
    <af:selectItem value="#{li.CodeId}"
    label="#{li.CodeText}"/>
    </af:forEach>
    </af:selectOneChoice>
    Plus I have done the table binding for the codeLookupVO and created an iterator for it too.
    Does anyone know what should I use to get the correct value for the row in the detailStamp ?
    I use JDEV 10.1.3.3 & ADF & BC
    Your help is greatly appreciated... There are many listing in regards to SelectOneChoice for single table, but I have not seen anything related to an inline table selectOneChoice... Can one of you expert help and guide me to the correct path!
    Thanks
    Sara

    usually web service call process one row or one message, hence the default value is set to less than a min, since its processing is not expected to take more than that
    the affect of increaing the value to a higher number is the Engine will wait for Max that amount of time for the response to come back in a ideal situation it may not take that long, but if there is any problem on the server side like application crash or for some reason the response was not sent back to the engine, then engine will wait for that much amount of time and then timeout. It will hang
    you might have seen this with Designer if you configure Adapter Datastore and if Adapter process crashes, the Desginer hangs, since the timeout value is set to 3 hrs, so you may have to think of trouble shooting such situation
    what is the DS version, I think this value is exposed in UI, available at Design time

  • Need to raise an error if Users puts wrong value for date datatype in Forms

    Hi all,
    I've created a new form using Template.fmb in forms 10g having some text item with data type as DATE.
    and now i wanted to raise an error if users inputs any wrong data rather than DATE format.
    Please help me if anyone knows how to do this...

    b_kapsy wrote:
    As of now i am not looking for validation, i know the validation will automatically done but if you see by default it will not raise any error message if you fill any wrong value in text item with date data type. It will freeze the cursor to the text item.That is NOT the default. The default is to issue various FRM-nnnnn messages, between 50002 and 50026. From notes I have:
    -- 50002: Month must be between 1 and 12.
    -- 50003: Year must be 00-99 or 1000-4712
    -- 50004: Day must be between 1 and last of month.
    -- 50012: Date must be entered in a format like <fxMMDDRR>
    -- 50017,18,19: Hour,Min,Sec must be between 0 and 23,59,59.
    -- 50025: Date/time must be entered in a format like <xxyytttt>
    -- 50026: same as 50012 and 50025 with <yyyy> year.
    And from my old, dusty copy of the Oracle Developer/2000 "Messages and Codes Manual", those messages have an error level = 15.
    If you are not seeing those messages, then you have done one of two things:
    1. Set your System.Message_Level to a value of 15 or higher. You should NEVER set it above zero, since all that does is hides error messages like these. If you want to bypass or prevent an error message, it should be handled in the Re: FRM-40735:Pre_Insert trigger raised unhandled exception ORA-20011.
    2. You have some bad code in an On-Error trigger that fails to handle errors correctly.

  • Getting wrong values  for decimal value in Bex report

    Hi,
         I am getting some problem in Bexreport decimal values.
       In ODS i am able to look the values for this key figure
      (Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00.
         Here one calculation is going with these above values
       % Used = 'Total PO Release Val' / 'Target Value' * 100
        as per ODS value calculation  it is correct = 140.692/1000 * 100 =14.692
       as per Bex  it is coming like this = 140,692.00/1000 *100 = 142.692.
        in Bex report Percentage valus is not considering value is taking as 140,692.00 rather than 140.692.I mean to say decemal values are ignoring while calculation in Bexreport.can you any please advice me how to comeout of this problem.Appreciate your help.
    Regards
    Ramesh

    <i> "(Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00."
    </i>
    How do you check the ODS value? The amount will only have two decimal places after it, so you can't have a value like 140.692,00. It seems to be an issue of user's decimal notation (where decimal is represented by comma, and thousand seperator by '.'). Go to user profile, change this setting (in default tab) to correct one (ie decimal being represented by '.') and login again and check it. The value that you see in ODS is 'one hundred forty thousand six hundred ninety two, the same that you get in Bex, only the representation is different).

  • 0CO_PC_10 datasource extracting wrong values for company code

    Hi,
    I am extracting data from the datasource 0CO_PC_10  product cost analysis and found that Company code values are wrong in the extractor checker. Company code field is taking values of Plant.  For example:
    if  company code 6100  has got plants 6101  6102  6104,   ideallly all the rows should have company code value as 6100, instead
    it is taking 6101 6102 6104 which are nothing but plant values.  So in both columns I am getting same values.
    Is this behaviour  normal for this datasource?
    I have tried to check help.sap on this data source in the below link, it says company code value is extracted from AUFK table but it is not happened.
    http://help.sap.com/saphelp_tm70/helpdata/en/9d/c31a8cee714393b1c75eb3e8f32a64/frameset.htm
    Please suggest ideas to overcome this problem.
    Regards
    Sreekanth S

    Hi,
    Raise a SAP message there must be some problem with the Extraction logic use.
    Also, in the meantime you can try debugging the program used to extract the data.
    Regards,
    Rahul

  • Wrong values for Total stock - Inventory managment ( negative values)

    Hi,
    I loaded inventory management load
    2LIS_03_BF   INIT 01.06.2009 - 06.7.2009 No Marker Update (compressed with check)
    2LIS_03_UM  INIT 01.06.2009 - 06.7.2009 No Marker Update (compressed with check)
    the first quantity received is from 11.06.2009  and 0RECTOTSTCK is showing 300 which is correct.
    on 10.06.2009 it is showing -300 for 0TOTALSTCK when it should be 0 since there hasn't been any data.
    whats the right way to compress my cube if I don't want to load BX and how can I resolve this.
    thanks

    Hi,
           The standard process to get correct values in report is
    1. First u have to do init laod from 2LIS_03_BX and u have to compress the request with 'no marker update' chk box unselected.
    2. Next u have to do init load from 2LIS_03_BF and u have to compress the request with 'no marker update' chk box selected.
    3.  Next u have to do init load from 2LIS_03_UM and u have to compress the request with 'no marker update' chk box selected.
    4. Normally u can run delta loads from BX and BF data sources. ( Compression is not mandatory. Even if u compress it will improve the performance)
    Regards,
    Thilak

  • Wrong values for miro

    Hi,
    I am creating a PO through me21n.(Trader Scenario) where no excise value is calculated  and Vat 4% for condition type JVRD is added to the base value and addtional tax of 1% with condition type JVCA is added to the base value.
    When GR is created through MIGO excise tax is aded to the base value of PO and the total value now is PO base value + excise valve.
    When the final receipt form MIRO is generated the total invoice value which is displayed shows the addition of 4% vat aaded to it , but 1% additional tax is not added to it.
    Kindly suggest.
    Thanks,
    Siddhi

    thank you so much..!!  i check the table J_1IGRXREF as the per link suggested and found only half of the amount is updated there. i.e., 1367.00
    Again i checked the table with the excise invoice number and found two entries of 1367.00 with two material document both those two material document has the same accounting document.
    i..e,
    material document 1          1367.00           accounting document 1
    material documnt  2           1367.00           accounting document 1
    however only one material document i can able to display in MIGO with 2734.00 when i display the other document it says document does not exist.
    can i suggest to reverse the GRN and then to do it again ?

  • Can we configure more values for Status 2

    Hi every one,
    can we configure  more values  associated with employment status(status 2)i.e
    Value 0: Employee no longer with the company
    Value 1: Employee is a part of the company but inactive
    Value 2: Employee is a part of the company but retiree
    Value 3: Employee is a part of the company and active
    Other then these can we configure more values.
    Regards,
    Geetha.

    Hi,
    You can add some more values to STAT2 field. Try adding more entries in T529U table.But please make sure that, the addition has to be used appropriately in your processing, as all the standard programs only use the statuses provided by SAP which were  mentioned by you in your query.
    Hope this helps.
    Regards,
    RSS.

  • Formula is showing wrong values for dates

    Hi i have document date and clear date
    number of days is clear date -doc date
    my doc date : 10/28/2008
    my clear date : 11/24/2008
    i have create 2 formula variabes ( at columns i want bring my characters)
    nexti have written formula ( variable for clear date- variable for doc date)
    but this variable are shwoing data format like
    c1 (variable for clear date)  : 20,081,124
    c2 ( variable for doc date) : 20,081,028
    formula c1-c2 is shwoing 96 days actaully  original date format (11/24/2008-10/28/2008) i will get less than 30 days.
    please let me know how to solve this issues

    Hi Suneel,
    I m giving you the detailed steps here so as to clear any doubts...
    1. In the new formula window right click on Formula Variable and choose New Variable
    2. Enter the Variable Name, Description and select Replacement Path in the Processing by field.
    Click the Next Button
    3. In the Characteristic screen, select the date characteristic that represents the first date to use in the calculation
    4. In the Replacement Path screen select Key in the Replace Variable with field. Leave all the other options as they are (The offset values will be set automatically).
    5. In the Currencies and Units screen select Date as the Dimension ID
    Repeat the same steps to create a formula variable for second date and use them in the calculation.
    Follow these steps and your problem will be solved for sure.
    Regards,
    Yogesh

Maybe you are looking for

  • Problem using Aperture as external editor for Photoshop CS5...

    I am having trouble using Aperture as my external editor for Photoshop - if, for example, I select twenty photos and choose "edit in photoshop CS5," for some reason or another, only ten or twelve photos will show up. Some photos are always missing, a

  • Unable to Configure Domain in Informatica

    I have an Informatica instance 8.6 installed in one the machines and I am trying to configure another domain present on a diff box (informatica 7.1.2 instal) through repository manager. I get error when i tried to plug in the domain, hostname and por

  • Non- Display of Incoming calls numbers.

    hi, i have an iPhone 4(factory unlocked) running iOS4.1. when i get incoming calls, the incoming call number is displayed as "UNKNOWN CALLING" and not the number. all incoming calls are displayed like above including my contacts in the phone. can any

  • Need an UNDO button

    Title says it all.

  • ServerSocket problem, please help, thanks a lot

    Hi, My program has a method as follow: private ServerSocket serverSocket; public void Connecting( ) . try . serverSocket = new ServerSocket(1234); . catch (Exception e) {} . while (true) . try . Socket socket = serverSocket.accept(); . socket.close()