Date duration calculation in the BLS

All,
We are using MII 12.0.6
I am looking at a very peculiar behavior while calcualting the date difference between 2 dates.
For ex. the following expression: 
(datediffminutes(datetoxmlformat("2010-3-21 14:06:30 ", "yyyy-MM-dd hh:mm:ss"), datetoxmlformat("2010-05-24 08:14:54","yyyy-MM-dd hh:mm:ss")))/60
yields 1530.13 as the result(this is the correct evaluation) when tested from within the Link editor (clicking the evaluate button).
Now saving this transaction and giving the value of the above expression to an output param followed by calling this trx from an Xacute query yields 1529.13 as the result (I hr difference than above).
I have tested this with a few more dates going as far back as Dec 2009 yielding the same one hour difference.
On the other hand for any start date in May 2010 yields a correct result even when called from an Xacute query.
I tested this  in a 12.0.2 system and found this behavior absent as in all was working as expected.
Has anyone come accross this before?Do you know if the latest patch has this fixed?
Just to cross check can anyone giive this a try in their 12.0.6 or higher system and report back?
Thanks a lot for your help.
Kind Regards
Udayan

Hi Udayan,
Please open a ticket.  It sounds like a bug, although a few years back there was a problem with one of the java packages and Daylight Savings Time.  If you search this forum for all time, you will find some of the postings. 
Since there have been changes to when Daylight Savings Time start and ends, it is likely related and could possibly be java related instead of MII.  I doubt it, but it is possible. 
Edit:
A little more research turned up differences in how Daylight Savings Time is calculated in different countries/continents.  Coincidentally, the US started on March 14th this year while the European Union started on March 28th (this date sounds familiar).  Not sure what timezone, you are in, but you may want to play around with the timezone settings for your computer to see if the error is consistent with US vs European timezones (or wherever you happen to be located).
[Daylight Savings Times around the world|http://www.worldtimezone.org/]
Thanks,
Mike
Edited by: Michael Appleby on May 25, 2010 12:41 PM

Similar Messages

  • Delivery Date Re-Calculation in Stock Transfer Order PO

    Hi All,
    We have Transportation scheduling activated and maintain 'Transit Duration Times' in our Routes (Populated 'TransitDur' field in Route <0VTC>) R/3 46c
    When we create a stock transfer order the 'Delivery Date' in the STO PO is determined by the 'TransitDur' (Transit Duration) value maintained in the route between the 'Supplying and 'Receiving' plants.
    After creating the STO PO, if the delivery is delayed and we need to reflect this change in the STO, when we attempt to change the delivery date - the system re-calculates the delivery date using the date on which the changes are made as the starting point and extending out the full length of time based on the value in the 'TransitDur' field in the Route.
    This means we are not able to change the delivery date in the STO PO to a date that is later than the original delivery date but still earlier than the date re-calculated by the system using the date on which the changes are made as the starting point.
    Is anyone aware of any functionality/config which allows you to manually change the delivery date in the STO PO - but not be restricted to changing the date by the value in the 'TransitDur' field of the Route, when it is a subsequent change to the PO and greater than the original date determined by the system?
    Thanks,
    Ravelle

    A solution has not been identified for this issue...query closed.

  • Basic / Scheduling dates are calculated for both main orders and Collective

    How the Basic / Scheduling dates are calculated for both main orders and Collective orders?
    when in master data we have given different value of in house production time for both the orders.

    Hi,
    The basic dates are calculated from the data mentioned in the Material Master - In-house production time days, either lot size dependent or lot size independent.
    The scheduled dates are calculated from the timings maintained in the routing.
    In the configuration for Scheduling parameters for the order type - Adjust scheduling - the dates can be adjusted.
    Kindly revert back if you need any further clarifications.
    Warm regards,
    Umesh Poojari

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • How to do calculations on the combinational data.

    Hi,
       I am not able to do calculations on the combinational data. I have four combinations the formula what I am expecting
    comb4 = comb1*comb2/comb3.
    For this I have written formula like below by using REC syntax. Let me know how could I do this. Please find the below script logic an the formula log.
    LOGIC:
      *SELECT(%PROJECT_VALUES%,"ID","PROJECT","SCTSQ1='Y'")
    *XDIM_MEMBERSET PROJECT=%PROJECT_VALUES%
    //*XDIM_MEMBERSET DATASRC = INPUT
    //*XDIM_MEMBERSET CLIENT_GROUP = 1010
    //*XDIM_MEMBERSET CATEGORY = BUDGET
    //*XDIM_MEMBERSET RPTCURRENCY = LC
    *FOR %PROJECT_VAR%=%PROJECT_VALUES%
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=%PROJECT_VAR%,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *NEXT
    *COMMIT
    FORMULA LOG:
      LGX:
    *XDIM_MEMBERSET PROJECT=8392321,8392322,8392323,8392326,8392327,8392332,8392339,8392348,8392349,8392350,8392351,8392352,8392354,8392355,8392387,8392391,8392398,8688673,8905302,8905303,8918960,8962018,8962022,8962025,8968928,31049475,31051109,31065115,31066112,31066113,31077404,31077406,31100620,31100621,31100622,31100623,31100624,31100625,31100626,31100627,31100629,31100631,31100633,31100634,31112552,31112553,31112554,31112556,31114884,31175064,31175122
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392321,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392322,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392323,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392326,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392327,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392332,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392339,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392348,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392349,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392350,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392351,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392352,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392354,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392355,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392387,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392391,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8392398,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8688673,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8905302,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8905303,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8918960,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8962018,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8962022,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8962025,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=8968928,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31049475,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31051109,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31065115,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31066112,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31066113,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31077404,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31077406,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100620,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100621,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100622,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100623,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100624,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100625,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100626,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100627,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100629,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100631,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100633,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31100634,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31112552,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31112553,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31112554,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31112556,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31114884,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31175064,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *WHEN PROJECT
    *IS 9074541
    *WHEN ENTITY
    *IS PC10102106
    *WHEN ACCOUNT
    *IS 58192
    *WHEN INTCO
    *IS Non_InterCo
    *WHEN TIME
    *IS 2011.JAN
    *REC(FACTOR=([PROJECT].[PROJECT_VAR],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Non_InterCo],[TIME].[2011.BSS])/([PROJECT].[No_PPC],[ENTITY].[NO_PCENTER],[ACCOUNT].[880014],[INTCO].[Alloc_PC10102106],[TIME].[2011.BSS]),PROJECT=31175122,ENTITY=NO_PCENTER,ACCOUNT=880014,INTCO=Non_InterCo,TIME=2011.FEB)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    LOG:
    LOG BEGIN TIME:2012-06-13 05:20:14
    FILE:\ROOT\WEBFOLDERS\Global_PandL_BAC \ADMINAPP\TEST\TEST.LGF
    USER:Z-BPCSYS
    APPSET:Global_PandL_BAC
    APPLICATION:TEST
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    [INFO] GET_DIM_LIST(): I_APPL_ID="TEST", #dimensions=10
    ACCOUNT,CATEGORY,CLIENT_GROUP,DATASRC,ENTITY,INTCO,MEASURES,PROJECT,RPTCURRENCY,TIME
    #dim_memberset=1
    PROJECT:8392321,8392322,8392323,8392326,8392327,...51 in total.
    SCRIPT RUNNING TIME IN TOTAL:2.01 s.
    LOG END TIME:2012-06-13 05:20:16  
    Thanks and Regards,
    Krishna.

    Hi Vadim,
                  I have implemented a script for all the base members,It is working fine with the right out put. I have a requirement i.e to pick any one of the project which is having the property SCTSQ1 = Y. How to pur this property name in this script. Please help me in this.
    Developed Script for the BASE members:
      //*SELECT("%PROJECT_VALUES%","ID","PROJECT","SCTSQ1='Y'")
    //*XDIM_MEMBERSET PROJECT = %PROJECT_VAR%
    //*XDIM_MEMBERSET TIME = 2011.TOTAL
    //*FOR %PROJECT_VAR%=%PROJECT_VALUES%
    *WHEN PROJECT
    *IS 9074541
    *WHEN CLIENT_GROUP
    *IS 1010
    *WHEN ACCOUNT
    *IS 58192
    *WHEN DATASRC
    *IS INPUT
    *WHEN RPTCURRENCY
    *IS LC
    *WHEN CATEGORY
    *IS BUDGET
    *WHEN TIME
    *IS 2010.APR
    *REC(EXPRESSION=(%VALUE%*([PROJECT].[8392321],[CATEGORY].[BUDGET],[ACCOUNT].[880014],[RPTCURRENCY].[LC],[DATASRC].[INPUT],[CLIENT_GROUP].[1010],[TIME].[2010.JUL])/([PROJECT].[9074542],[ACCOUNT].[880014],[CATEGORY].[BUDGET],[DATASRC].[INPUT],[RPTCURRENCY].[LC],[CLIENT_GROUP].[1010],[TIME].[2010.AUG])*-1),PROJECT=9074543,CATEGORY=BUDGET,ACCOUNT=58123,DATASRC=INPUT,CLIENT_GROUP=1010,TIME=2010.AUG,RPTCURRENCY=LC)
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    //*NEXT
    *COMMIT
    Thanks and Regards,
    Krishna.

  • Date and Time calculation in the Service Module

    Dear all,
    I have quite of a challenge here and i need serious guidance from your side.
    My client is in services industry and requires to calculate the date and time when the service call as to be closed. Not only it depends on the contract type the service is linked to but as well on the priority.
    The priority in Business One is unique, therefore we created a UDT (User Defined Table) to store the different 'response time' per contract/per priority. Example: a Platinum contract is always 24/7. But a gold contract priority 1 has to be closed in 240 minutes (4 workable hours) while a gold contract priority 2 has to be closed in 480 minutes (8 workable hours).
    I created 7 user defined fields on the Service Contract header that calculates the workable minutes per day. So if my coverage for Monday is from 8 AM to 4 PM, my UDF called DiffMon will show 480. For Tuesday, they start a bit later, and the coverage is 8:30 untill 16:00, therefore my UDF called DiffTue = 450.If the check box before the day in the Service Contract window is not ticked, then the UDF shows zero.
    I succeeded to calculate the expected closing time by using CASE WHEN statements as following, (all calculated in minutes):
         First, I need to check which day the Service call is created: A Monday or Thursday or... since my time coverage can change every day! I use SET DATEFIRST = 1 and compare today's date accordingly with my UDF DiffMon, DiffTue, etc.
         Then, When end of coverage time today Monday (4PM) minus the create time on the Service Call (1PM) is less then the time stored in my user defined table for that contract and that priority (i.e.480), then just add that to the create time and the create date (DateAdd(mi,...,...) ).
        When end of coverage time Monday (4PM) - Create time (1PM) + DiffTue(450) is bigger than 480, then I know I have enough time to solve my service call tomorrow Tuesday and I take the start time of Tuesday (8:30) + remaining time from yesterday (480-180 -> 180 = 3hours from 1PM to 4PM) and add that to the Create date + 1 so the end result will show Tuesday date and a time of 13:30
       Etc. untill I cover all possibilities based on which day is the service call created.
    NOW, I need to include the holiday table !!!!!!!!!!  And I can't foresee how the hell I am going to do that.
    The maximum coverage can go up to 60 hours, that means more than a working week! What happens if I have more than one bank holiday in that week period? What happens when my holiday table tells me that  date is a bank holiday but it is actually a Sunday and my contract is only running from Monday to Friday?
    Am I going straight to a big mess up?
    I will highly appreciate your comments,
    Regards,
    Frederic

    Hi,
    it is possible in query designer,
    u do the two things for getting the days between to dates
    1) in CMOD write the code for sy-datum create a customer exit variable in query as on caldate like eg zcedate
    when 'zcedate'.
    clear l_s_range.
    l_s_range-sign = 'i'.
    l_s_range-opt = 'eq'.
    l_s_range-low = sy-datum.
    append l_s_range to e_t_range.
    u write this code exit_saplrrso_001.
    it givs the sydatum
    2) then u create one more variable on zdate limit with replacement path
    then u go forto create the formula variable then it display ascreen there u select both customer exit variable and replacement path variable
    zcedate-replacementpathvariable
    it gives days i worked on this and succedded.
    like the same way fortime also u can do but here at the time of creating the customer exit varible u go for option as range here
    l_s_range-low = '20012009'
    l_s_range-high = '29012009'
    l_s_range-sign ='i'.
    l_s_range-opt = 'bt'.
    please try with the above one.
    Thanks & rEgards,
    k.sathish

  • MSC2n next inspection lot to be calculated from the production date

    Hi gurus,
    My query is
    1.  In Tcode MSC2n, next inspection lot is to be calculated from the production date and not from last goods movement date. is it possible to get next inspection lot to be calculated from the production date.
    2. how to make automatic creation of inspection lot in SAP based on the next inspection date. Right not, it is being done manually using T-code QA07.
    thanks in advance
    regards
    vb

    To manipulate next inspection date use user exit QEVA0003.
    To automatically create 09 inspection types use transaction QA05, schedule it to run in background at periodic interval

  • Weeks calculation from the date

    Hi BW mates,
    I am currently working on SCM Queries. I have a report where I have to display the sales for 16 weeks from the date of release of cinema.
    For eg.
    In rows, Title and Release date are displayed in rows. In columns data is displayed with Wee1, Week2,,,,,,,,,up to Week 16.
    Generally using Off sets we can achieve using current week. But here I have to consider the release date. The release date is nothing but the equals to current week from there it has to show all 16 weeks invidually
    <b>Title</b>                     <u>Week1 Weekk2 Week3 Week4</u>
    <b>Release date</b>
    <b>Actual Sales</b>
    <b>Target sales</b>
    Please suggest me how to do this.
    Thanks,
    Sudhakar.

    hi,
    you can use use a flag in the update rule with 16 values e.g. A,B,C.....L for 16 weeks. pupulate the flag based on the release date.There is a function module which convert date to week. Once this is done create a restricted Key figure in BEx restricting the sales based on the flag i.e A for WEEK1, B for WEEK2.
    Hope this helps.

  • Explain How delivery date is calculated using backward and forward schedul

    How can anyone please explain how delivery date is calculated using forward and backward scheduling
    I want to have it broken down into the following steps
    for eg for delivery date calculation following dates are used
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Can some one please give me an example and explain wht these dates are
    for eg customer needs delivery date on  11/20/2008
    how would the system cacluate whether it can meet the delivery date using backward scheduling
    and if it doesnt meet how does the system do the forward scheduling
    also i am not clear with the following dates
    material avaialibilty date
    material staging date
    transportation date
    can some one please explain me all this in detail
    Thanks

    Hi,
    Basically this is the CRSD(Customer requested ship date logic)logic in which system calculates the ship date depends upon the material availability. If material is available system calculates ship date on the basis of master data maintained in customisation.Master data is maintained in the  following link.
    If material is not available then system takes into consideration vendor delivery date & then calculate customer ship date.
    Please go through the link in SPRO
    LE-Shipping -Basic shipping functions-Scheduling -Delivery scheduling & Transportation scheduling-Maintain duration.
    In customisation following data is maintained
    Material Availabilty Date
    Material Staging Date
    Pick/pack time
    Transportation PLanning date
    Loading date
    Goods issue date
    Transit Date
    Delivery Date
    Hope you got the idea of CRSD calculation
    Regards,
    Prashant.

  • How assignmnt finish date is calculated in project plan

    We enable Single Entry Mode, protect acutals in our environments, and during our testing, we found that the Finish date of the task is auto re-calculated while the hours input is diffferently from the planned hours. And we have tested with different scenarios:
    Fixed Work, Fixed Duration, Fixed Units etc, but we still do not understand the exact calculation logic of the new Finish date.
    Does Microsoft have any document descrbing this logic?
    Thanks.
    Kevin Li

    Hi Kevin,
    It is normal that the finish date is recalculated by Project. When the team member enter actual work starting later from the start date, after the task update is approved and the project published, Project pushes the actual work, updates the actual start
    date then recalculate the finish date based. 
    This is actually why you do use a project planning software as Microsoft Project: you want the application to help you forecasting your project dates. If you do not want Project to recalculate, then you miht consider using a simpler tool like Excel.
    Basically the process is that the team member gives the information that the task started later than planned, the project manager approves the start date and the actual work. Project calculates the planned finish date. But the last step is very important:
    the project manager should review how did MS Project do the recalculation and update the project plan with the remaining work and eventually add or move resources on assignments to adjust the capacity and delivery dates based on priority.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to generate a Yearly report based on a calculation at the Month level

    Have the need to create a report as follows. Any ideas on how this can be accomplished in OBI is appreciated. I have already tried different ways but non worked for me.
    The data is stored in a table at day level as follows:
    Day Amount_A Amouont_B
    1/1/2008     100     100
    1/15/2008     200     100
    2/1/2008     100     400
    2/15/2008     300     200
    1/1/2009     100     300
    1/15/2009     100     200
    2/1/2009     200     100
    2/15/2009     400     300
    The report should be displayed at Year level. Amount_A is just the summation of Amount_A from the table at daily level rolled up to the Year level in the Time dimension. The same thing for Amount_B.
    The formula for Absolute_Error is Absolute(Amount_A - Amount_B). But the problem is that it has to be calculated at the Month level instead of Day Level. So following is the logic for Absolute_Error:
    Month     Amount_A Amount_B     Absolute_Error
    Jan-2008     300     200     100
    Feb-2008     400     600     200
    Jan-2009     200     500     300
    Feb-2009     600     400     200
    The report should be displayed as follows:
    Year Amount_A Amount_B     Absolute_Error
    2008     700     800     300
    2009     800     900     500
    Note that the calculation of Absolute_Error results in a different value if it is calculated at the Month level and summed up to Year than if it were calculated at the Day level and then summed up to Year. It is required to be based on Month level for this report.
    Is there a way to do this without having to build an aggregated fact table at the Month level?

    Hi.
    Do this:
    1. Create Amount_A and Amount_B in BMM without SUM as default aggregation rule.
    2. Now, just go to Answers and make report with three columns:
    YEAR -- EXPRESSION 1 -- EXPRESSION 2
    EXPRESSION 1 is:
    sum(Amount_A) - sum(Amount_B)
    EXPRESSION 2 is:
    sum
    abs
    sum(Amount_A by MONTH)
    sum(Amount_B by MONTH)
    My example in Answers:
    TIMES.CALENDAR_YEAR
    sum(SALES.QUANTITY_SOLD_NORMAL) - sum(SALES.AMOUNT_SOLD_NORMAL)
    sum( abs(sum(SALES.QUANTITY_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) - sum(SALES.AMOUNT_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) ) )
    This will first summarize amount A and amount B on a month level and then do a difference, after that ABS and then sum on the year level.
    This is workaround to avoid larger RPD changes.
    Regards,
    Goran O
    http://108obiee.blogspot.com/

  • BIP eBusiness Suite Dates - How to include the last day of the month?

    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    I have a report that will generally be run for a month but can be run for any pair of dates representing the first and last date to be included in the report.
    When we pass the dates from Oracle Apps to the report it is truncating the date to midnight. This results in the last date entered 'NOT' being included in the report as the second date is marked as "midnight". When I attempt to simply add "=1" to the end date it fails due to formatting issues in apps (only). I have gotten this to work on our Enterprise edition server that we use for testing (only) but it fails in our apps environment.
    In APPs we input the date in the format "01-AUG-2007", and this is how it shows in the parm line before the report is submitted as well as in the "View Details" after the report is executed: http://home.swbell.net/grog1//work/req_details_5607586.jpg
    However it is odd in that we in the "View Log" entry it shows the date formatted as "2007/08/01 00:00:00": http://home.swbell.net/grog1/work/view_log_5607586.jpg
    Even odder is that under diagnostics, "View XML" the date is formatted third way as: "2007/08/01 00:00:00.0" (note it now includes tenths of a second): http://home.swbell.net/grog1/work/view_xml_5607586.jpg
    This of course makes it difficult to perform conversions and calculations on the date in the SQL.
    Is APPs doing some sort of 'timestamp' conversion?
    How can I get my report to include the last day of the month 'without' forcing my users to enter the non-intuitive first of the next month as a parm?
    Any feedback is appreciated,
    Scott

    No. The problem/error occurs long before the data is formatted into xml for presentation to the format template.
    The error occurs in the SQL in the 'data' template when I attempt to add a day to the date. It either does not like the implicit conversion with the "+1" and then the use of the "between" with another date or if I attempt to manually convert it has problems with the format mask.
    Scott

  • How to get an account with an IsICP -"R" attribute calculated in the HFM Rule file

    Till recently everything was going fine with the calculations in our HFM setup ( Version 4.1)
    We have say around 8 Expense accounts which roll up into a Parent account say ALL446 which finally rolls up into Operating Expenses.
    Operating Expenses
      |__ parent account
          |_INVALO
           |_ALL446
              |__222446
              |__242446
    And we have a calculation in the rule file as below
    HS.EXP "A#BE FIXED COST = A#Operating Expenses +A#SGA - A#BE VC OP F10"
    This was calculating correctly till we did the below change
    Added IsICP attribute to couple of accounts say 222446 and 242446 ( in the above example) in the metadata which finally rolls up into Operating Expense.
    Note: we did not add any Plug account attribute to the accounts
    Now the problem what we have in hand is -> Fixed Cost is not calculating correctly.- It happens that the two accounts for which we added the IsICP are not showing up in the calculation and the data in those two accounts are not adding up in Fixed Cost.
    POV in GRID/Excel -> actual,2013,periodic,<Entity Currency>, ICP Top, AllCustom1, AllCustom2, AllCustom3, None( for custom4)
    But when we retrieve Operating Expenses in Excel - it is showing the correct amount, even in the grid - but looks like when the rule tries to calculate Fixed Expenses using the above rule - these accounts are not adding up in the Operating expenses.
    I tried the formula ( to check what number is coming into Fixed cost ) - the result is zero - But in the grid/excel I see amount for acct2. Same POV as above
    HS.EXP "A#BE FIXED COST = A#222446"
    and if I add & Tops to the account like below ( getting some weird number instead of what is there in acct2)
    HS.EXP "A#BE FIXED COST = A#222446" & Tops
    Questions:
    1) Where exactly I am going wrong ?
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    4) How to correct the formula to make sure I get the number in the acct2 into Fixed Cost??
    5) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    6) Is it possible to get the exact number what we have in 222446 into BE Fixed Cost account via Rule?- why I am not getting it
    Notes:
    BE Fixed Cost-> account type -"Expense", IsCalculated - yes, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    Operating Expenses->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    INVALO ->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember -none, Custom3TopMember- none,
    enabled allcustom1,2,3,4aggregations
    Problematic account 222446 -> "Expense", IsCalculated - No, IsConsolidated - yes, IsICP- R, Custom1TopMember - Operations, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    The Entity on which I am trying to get the data( mentioning wherever I have attributes for this entity)
    DefCurrency - DEM, Allowadjs- enabled, IsICP - enabled, Userdefined 2 - financial, - SecurityasPartner attribute - is not selected through out the applicaiton.
    Variable
    Tops = ".I#[ICP Top].C1#AllCustom1.C2#AllCustom2.C3#AllCustom3.C4#[None]"
    tried attaching the attachments ( but service is unavailable)
    Waiting for all of your valuable suggestions..

    1) why was I not getting the formula right when I use & Tops
    I'm assuming that BE Fixed Cost has N for IsICP, in that case you can not write to invalid intersections as it would attempt to use the same ICP information
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    No
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    It will not run eliminations
    4) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    If you want it to rollup, yes you would need that.  We have all Parent accounts as isICP set to Y and top member to ICP Entities so that they roll up
    5) which will have priority the rule or the Grid where we have the calculated member like the BE Fixed Cost - because in the grid I had icptop, allcustom1,2 3 and when had & Tops to the account - I got some weird numbers...
    I'm not following the question here, grids are just really a display mechanism, rules will handle all of the calculations.

  • Issue with F-92 incorrect accumluated deprecaition calculated in the sale

    We have discovered that SAP processes the disposal in a correct way but very strange.
    We found that although it does not do what appears to be a correct entry for accumulated depreciation at the time of the disposal (f-92) it proceeds to do a follow up correction in the following  monthsu2019 depreciation run to  make up the u2018shortfallu2019 on the accumulated depreciation.
    I can best demonstrate this by an example of a sale that was made in recently.
    Below is the retirement journal for the disposal (F-92) of asset 140769 in co 5000
    "F-92"      Sale of asset 140769     "Posting Date 20.05.2010 (period 11"
    "PK"     "Account"                            "DR"                  "CR"
    1     Customer                            8000     
    50     Sale of Fixed Assets                           7272.73
    50     GST                                  727.27
    75     Asset 140769                              11800     
    70     Asset 140769                    4425     
    40     Clearing sale of FA     7272.73     
    40     Gain / s on Sale FA     102.27
         "Asset 140769     year 2010"     
         Acquisition Value     11800     
         Ord Dep start of Year     4327     
         Planned dep (for year)     983     
         "Posted Depreciation"          
         Period 1     98     
         Period 2     99     
         Period 3     98     
         Period 4     98     
         Period 5     99     
         Period 6     98     
         Period 7     98     
         Period 8     99     
         Period 9     98     
         Period 10     98     
    Notice the entry for the accumulated depreciation is for only $4425.00
    The asset master values  although shows that it had $5310 accumulated depreciation charged to it to the end of period 10
    Now the surprise u2026 for some reason SAP plans another depreciation entry in the following month of the sale.
    In this case it the negative depreciation of 885 (9/10 of the depreciation) that it proposes for period 11.
    The entry there would be
    Dr Accumu2019d  Depreciation  885
                                CR Depreciation 885
    When depreciation is run for period 11  it will be the final closing entry against the asset to finalise its balances are closed off to zero
    This appears to be a very strange way of accounting for the sale
    Your assistance would be greatly appreciated.
    Robert Biscaro

    How the depreciaton calculation is calculated is based on the period controle rule in the depreciation keyfor asset retirement/sales  from the asset. It is based to on the value date you fill in the posting

  • Delivery date getting calculated wrongly in delivery created via VL10D

    Hi Gurus,
    We have a strange issue, where in delivery date is getting calculated wrongly for replenishment delivery created via VL10D.
    When we are creating via VL10D , delivery date is getting the additional 30 days from MaxDlvCrteDate . With initial investigation i see that VL10D has delivery creation profile 0101 for which no of days maintained in max delv creation date is 30 .
    I assume that the delivery date is getting the additional days from delivery creation profile felid no of max delv creation date .
    I have created the delivery on 24.03.2011, as per the route no of TL time is 9 days , So Ideally the delivery date should be 04.04.2011 , however system has calculated it as 23.04.2011
    Delivery no             No of days in MaxDlvCrteDate                        Delivery  date
    213443158                           30                                                       23.04.2011
    If I create the delivery for the same PO using t-code VL10B, then delivery date is calculating correctly.
    Not sure why system behavior is strange.
    Please help me with your inputs to resolve the issue..
    Thanks in advance

    Please request one Abaper  to solve this problem.
    You cannot due nothing as the problem is in Code.
    Regards
    William

Maybe you are looking for