Work Status and Script Logic

Hello, gurus!
Explain please situation with a script logic and work status of data.
I have the script logic file, with code, for example:
*XDIM_MEMBERSET UNIT = 19
*XDIM_MEMBERSET AP_TR_SA = COMMON
*XDIM_MEMBERSET C_DATASRC = MANUAL
*XDIM_MEMBERSET RPTCURRENCY = USD
*XDIM_MEMBERSET CATEGORY = PLAN,ACTUAL
*XDIM_MEMBERSET ENTITY = C1113,C1111
*XDIM_MEMBERSET TIME = 201007
[#CF0700]=([AP_TR_ACCOUNT].[CF0612])-([AP_TR_ACCOUNT].[CF0611])
*COMMIT
Work status is established for (ENTITY=C1113; CATEGORY=ACTUAL,PLAN;TIME=201007) as Approved (data is locked).
Will execute this logic for (ENTITY=C1111;CATEGORY=ACTUAL,PLAN;TIME=201007)? Should I divide this script logic for C1111 and C1113?

I have 2 entities (companies) - C1111 and C1113.
I have the script logic for calculation keyfigures for this entities (it is automatic chain).
C1113  has entered the data and has locked it. When the C1113 will enter the data, the script logic will not been executed.
I have tested it and I have received that:
the script logic has broke when system has tried to write data into database after "Error Work Status check".
If I change the line of script logic as
*XDIM_MEMBERSET ENTITY = C1111,C1113
calculation for C1111 is executed.
Best Regards,
Svetlana.
Edited by: Svetlana Kazaneva on Sep 6, 2010 1:17 PM

Similar Messages

  • Work Status and Default Logic

    Hi Experts,
    This query is for BPC 10.0 NW, default logic.
    Can work status be used to control for which region of data (namely which Year) default logic is executed?
    Is Default Logic executed for all data regions falling within the scope of the Logic Script Every Time any data is saved, or is it executed only for the data saved at that instance? 

    Hi Collin
    Work Status and Default logics are 2 Different paths but Default Logic will control whether given a period/Year Combination is Open"  All the Activities for assigned Model" would be performed in terms of Data Load and subsequent Activities that Includes Default Logic.
    Where as Default Logic is used for Calculating Retained Earnings and updating your data base in Balance Sheet Current Retained Earning Account as well as Out side Account from Chart of Account which is Total Sum of Income Statement Items.
    Ex:
    BPC Chart of Accounts/Account Dimension : BPCCOA
                       Total Balance Sheet:TBSACTS
                         Income Statement:INCSACTS (inthis groups Lets say 2199999 CYR)
                        BPC Special Account: 9999999
    When ever you execute Default Logic or Include Default logic into your applicable Script Logics.  BPC Default Logic would UPDATE 2 line Postings in the data base.
                     219999     XXXX
                     999999    XXXXX
    This ensure that your total Current Retained Earnings always match with Sum of Total Income Statement items for a Period/Year.
    Hope this will help you
    Thanks
    Venkat

  • Work status and validation enquiry ..

    hi,
    i am using bpc 5.1 and i am trying to simulate a simple validation and work status update exercise, my settings are as followed:
    work status setting:
    account - no - validation
    category - yes
    datasrc - no - totaladj
    entity - owner
    intco - no - all_interco
    rptcurrency - no - lc
    time - yes
    validation rules:
    validation account - remark - validation operand - other - other - applicable periods - validation tolerance
    validation - testing validation - = - blank - blank - 0
    validation rules details:
    validation account - account1 - flow1 - sign1 - account2 - flow2 - sign2 - remark
    validation - sales - blank - 1 - cost - blank - 1 - testing validation
    work status:
    work state - dm ...docs - controlled by
    unlocked - all ... all - both
    submitted - all ... all - both
    approved - all ... all - both
    i am just trying to validate that my "sales" and "cost" entries are the same, i tried validating before and after submitting my data using evsen(10,"finance","sales) and evsen(10,"finance","cost") respectively with the other cv values being budget, input, worldwide1, non_interco, subtotal, lc - 2007.total1 - periodic.
    i received the message "submitted data did not pass validation. you may need to resubmit data" on both ocassions.
    any pointers?
    cheers

    I have 2 entities (companies) - C1111 and C1113.
    I have the script logic for calculation keyfigures for this entities (it is automatic chain).
    C1113  has entered the data and has locked it. When the C1113 will enter the data, the script logic will not been executed.
    I have tested it and I have received that:
    the script logic has broke when system has tried to write data into database after "Error Work Status check".
    If I change the line of script logic as
    *XDIM_MEMBERSET ENTITY = C1111,C1113
    calculation for C1111 is executed.
    Best Regards,
    Svetlana.
    Edited by: Svetlana Kazaneva on Sep 6, 2010 1:17 PM

  • BPC: Work Status and Work Status Settings

    Hi experts,
    We have a little mess with the concepts: work status, work status settings and owner-manager in a dimension member of the dimension library.
    In which case de we have to use each of them? Are these concepts related? Do we have to configure all of them in order to block the data before they are revised in a BPF?
    Thanks in advance

    He,
    The thread was really good and almost solved all my duties, but there is still something that I don't understand. When we fix the work status, it can be controlled by the Owner and the Manager. Who is the manager and where do we configure its value.
    I think the manager is the reviewer in the properties of the dimension but I am not sure. Could you confirm me this subject?
    Thank you

  • SP 12 upgrade and script logic issue

    Hi All,
    We upgraded to BPC 10 SP 09 to SP 12. The system was stable for some days but after 15 days it seems like script logic has got corrupted.
    Please find the images below, Any ideas what is the problem

    Hello,
    Please clarify what you mean by copy, did you copy the script (text) from one open client session to another or did you use back up and restore to copy the environment or any other method.
    I recommend checking if this is a client or server side problem.  You can verify this either by opening the logic on a different client machine or by checking the logic directly on the server using UJFS.
    If this has occurred on the server level I recommend just rewriting the content, through BPC web client, validate and save again and check if that fixes the problem or if the problem occurs again. 
    Best Regards,
    Leila Lappin

  • Changing Work Status using data package or script logic

    Is it possible to set Work Status using Script logic, or an SSIS package.
    I know status is kept is an SQL table, is it possible to just update the locking table with a new record, or is there more to changing the work status.
    Thanks for you help

    Thanks for your reply. This would be a nice enhancement.
    Although the work status does help with the audit trail of who and what locks the data, doing it automatically will allow the system to automatically unlock the period when it is opened before auto-loading the current closing balances. It will need to be carefully used in order to maintain proper audit trail of the data. When done automatically, the system userid would be used in the lock table witha  timestamp.
    I am needing to know if there are anyother steps involved in locking data other than writing to the SQL lock table. Is usppose this is especailly relevant when locking a parent and pushing the status to the children.

  • Fetching property value in script logic!!

    Hello Experts,
    We are using BPC 7.5 M, I am working on a script logic and need to fetch a value of a property of a dimension member where dimension member is itself defined in some property.
    We have a Org dimension which has a property "FORECAST_UNIT" and this property contains a member Id of Org dimension itself, In my script logic I need to fetch value of "Currency" property for the Org dimension member defined in "FORECAST_UNIT" property.
    Please Advice.
    Thanks & Regards,
    Rohit

    Hi Roberto,
    Attached code (In Image) is of our Aggregate Forecast Unit logic, Every Org (Entity) has an forecasting unit defined in Forecasting unit property in Org dimension and Forecasting unit is also a member of Org dimension, below logic aggregates the data at Forecasting unit level:
    The issue is that I need to check before the code marked in Red executes that if Org-- Forecasting unit -- Currency is USD then only Red part of logic should execute.
    Thanks & Regards,
    Rohit

  • Work status at application level

    Hi Team
    Can any one explain purpose of keeping dimension members in work status settings where dimensions are not relevent for work status at application level?

    Hi Miguel,
    You are comparing work status and the validation rules. However, these 2 are completely different functionalities.
    For maintaining validations, please take a look at the below links from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/72/027eddf803405eb131738b655408ce/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/d9/7e49e5b686462a9f2a2d38c98b8446/content.htm
    For work status, please refer to the below links from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/f8/d51b881cfa4c5992de481ccfa05db3/content.htm
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/75/712b5c7be845cbb1e76cfe78650343/content.htm
    Hope this helps.

  • Distribution in script logic

    Hello, all.
    I'm new in BPC. Please give advice, how can we realize following logic.
    We have a application Sales with following dimensions.
    Account, Category, DataSrc, Entity, Department, Prodline, RptCurrency, Time
    User send data to the DB in view:
    Account | Category | DataSrc | Entity | Department | Prodline | RptCurrency| Time
    NetSales | BUDGET | Input | Company_In | Sales | NoProd | LC | 2008.INP
    Where each record NetSales, Budget, etc has no child
    and user send data in view:
    Account | Category | DataSrc | Entity | Department | Prodline | RptCurrency| Time
    Coeficient | BUDGET | Input | Company | Sales | NoProd | LC | 2008.INP
    Where Entity has 3 childs: Company_1, Company_2, Company_3.
    After posting a data to Fact table, it view, is:
    Account | Category | DataSrc | Entity | Department | Prodline | RptCurrency| Time | Signed_data
    NetSales | BUDGET | Input | Company_In | Sales | NoProd | LC |2008.INP| -20
    Coeficient| BUDGET | Input | Company_1 | Sales | NoProd | LC | 2008.INP| -0,1
    Coeficient| BUDGET | Input | Company_2 | Sales | NoProd | LC | 2008.INP| -0,3
    Coeficient| BUDGET | Input | Company_3 | Sales | NoProd | LC | 2008.INP| -0,6
    I want to get new records in db such as:
    Account | Category | DataSrc | Entity | Department | Prodline | RptCurrency| Time | Signed_data
    NetSales | BUDGET | Input | Company_1 | Sales | NoProd | LC | 2008.INP| -2
    NetSales | BUDGET | Input | Company_2 | Sales | NoProd | LC | 2008.INP| -6
    NetSales | BUDGET | Input | Company_3 | Sales | NoProd | LC | 2008.INP| -12
    Where NetSales distribute by coefficient for each Entity.
    I want do something like (Account ="NetSales",Entity ="Company_1")= (Account="NetSales",Entity="Company_In")*(Account="Coeficient",Entity.Company_1) for each Company_n.
    How can I write script logic for this.
    Thanks

    I think there are several options.  The easiest option may be simply to construct a template that sends the values directly based on the input of the Coefficients and the Raw data value input of 20.  Thus the input process would submit 7 total entries.
    Now should you wish to have a repeatable calculation process that updates the Child entities each time either a coefficient or data input point is submit, then you could utilize script logic that was suggested in the thread as an allocation process. Otherwise, you would need to develop sets of properties and script logic for each set of requests such as:
    *When Account.ID
    *IS COEFFICIENT
    *WHEN ENTITY.ID
    *IS COMPANY_1
    *REC(EXPRESSION = VALUE * GET(ACCOUNT=ACCOUNT.NETSALES,ENTITY=ENTITY.COMPANY_IN), ACCOUNT=ACCOUNT.NETSALES)
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    This is not as flexible and there are many approaches that may be taken here, such as using LOOKUP statements and proeprties to manage the calculations and make them more flexible. It will just depend on how much volume there is to calculate, how many statements are required and how often the logic will need to be updated or managed based on hierarchy changes to the entity dimension.  Plus, you need to test many options to determine which is the fastest approach during the send process.
    Hope this helps.

  • BPC Work Status

    Hi guys out there, where the truth is...
    got a problem with the SAP BPC 70 netweaver work status and I don't know whether that is a bug, something I am overlooking or simply a non supported feature:
    When launching the Work Status (MNU_SUBMIT_MODIFY) from an active input schedule with an active Current View I will end up in the WEB where the work status settings can be done. So far so good.
    Then, two options are available:
    Either set the Work Status for the active Current View or for a different Current View, which would then have to be specified.
    And here is the issue:
    What's beeing considered (and displayed) in the WEB as active current view, is completely different to the active current view in BPC Excel. In fact, it consists of the members that show up as first in the selection list of a dimension.
    Question: is that the way it is supposed to be? Or is that behaviour subject to some settings in limbo or is that a bug?
    Thanks for your thoughts and ideas guys!
    Claus

    Hi,
    We had encountered this issue earlier. There is a fix for this in SP05 release. Please upgrade to BPC 7.5 NW SP05 for this. It is how it works in BPC 7.5 NW SP05.
    When you move from BPC Excel to BPC Web interface - The CV in Web interface is updated with the CV inherited from BPC Excel.
    The active CV option of the work status dimensions is also updated dynamically. It shows the values of the 'Active CV.
    If you want to set the work staus for a different or another CV, choose the option 'Another CV' then change the values for the work status dimension accordingly.
    Hope it is clear.
    Thanks

  • Script Logic error when trying to Calculate P*Q

    I am new to MDX and Script Logic and need some help. 
    I am trying to calculate Price * Qty.  Prices are stored in an Account called Unit_Price, and Qtys are stored in Accounts as well.  We have a Service property called "DRIVER" that points to the Account that holds the Q for that Service, but I can't seem to refer to it in Script Logic.  So, for each Service, I want to find the corresponding Unit_Price, lookup the Driver for that service and then use that to find the corresponding Quantity.  However, I'm having trouble with the portion that points to the Quantity. 
    Can someone please help? 
    This is the error that I get when I try to run it in the Logic Debugger: 
    "Warning no. -2147467259 reading cell 0; The hierarchy '[SERVICE.DRIVER]' was not found in the cube when the string, [ACCOUNT].[SERVICE.DRIVER],was parsed. "
    Here is my Script Logic:
    *MEMBERSET(%BILL_ENTITY%,FILTER(DESCENDANTS([ENTITY].[547],99,LEAVES), [ENTITY].CurrentMember.Properties("BILLED_ENTITY")="X") )
    *XDIM_MEMBERSET ENTITY = %BILL_ENTITY%
    *MEMBERSET(%PQ_SERVICE%,FILTER(DESCENDANTS([SERVICE].[TOTAL_SERVICE],99,LEAVES), [SERVICE].CurrentMember.Properties("ALLOC_METHOD")<>"") )
    *XDIM_MEMBERSET SERVICE=%PQ_SERVICE%
    *XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    *XDIM_MEMBERSET TIME = %TIME_SET%
    *XDIM_MEMBERSET DATASRC = INPUT
    *FOR SERVICE.ALLOC_METHOD = "PQ" 
                [ACCOUNT].[#16404ZZZ] = ( [ACCOUNT].[UNIT_PRICE], [TIME].currentmember) * ([ACCOUNT].[SERVICE.DRIVER], TIME].currentmember)
    *NEXT           
    *COMMIT

    1. completely uninstall all the nokia PC Suite products with this http://nds1.nokia.com/files/support/global/phones/software/Nokia_PC_Suite_Cleaner_7_1_1.exe, and also uninstall all OVI Suite products
    2. reboot pc
    3. download & Install a fresh copy of PC Suite
    4. it will then have you download and install a new version of the software installer after you connect your e90
    it should be fine after that. i had to do the same thing a while back.
    re: no able to sync the calendar with ovi suite:
    go to the Sync drop down and then select Sync Calendar.
    hope that helps

  • BPF an Work Status in BPC v10

    Hi averybody,
    I am working in a project of BPC v10 and i have a question i would like to solve. Specifically i want to know if the new version of SAP BPC allow you to associate a step of the BPF with a change of the work status strictly.
    Does anybody know something concerning this item? Any additional information about new functionalities of BPF and work status?
    Thanks in advance,

    Hi
    You can certainly do that. When you've created a set of work statuses and want to associate the work states to a BPF, you can associate with a setting for Related Action along with the Input you are providing to the suers (scrnsht below). I am not sure you can make it mandatory for the user to change work status setting, but you can allow a change in the work status.

  • Manage work status in BPC 7

    Hi experts,
    I would like to know if we can  manage work status in bpc excel. I have see that we can use evlck to get the status of the work status and we can use MNU_esubmit_modify to open the bpcweb page to modify work status.
    But I want to modify the workstatus in bpc excel.
    Do you have any solution ? with macro or other ?
    Thanks in advance

    Dear Janeth Sarai Ripert,
    I suggest you to update the work status using BPC Web. If you want to force it using macro, I will give you information likes as:
    1. SAP BPC will write the work status data into the table "dbo.tblfinancelock". It's for Finance Application
    2. If you want to directly write data into that table, please you use the uppercase format.
    3. SAP BPC never update data when the user updated that work status. SAP BPC will create one record.
    4. You only can update work status data directly but not for update sub menu at BPF
    Thanks,
    Wandi Sutandi

  • Script Logic - Check Work Status

    Hi,
    I am using the standard process chain "/CPMB/DEFAULT_FORMULAS_LOGIC" to trigger Script logic file.
    I have created some logic to clear and copy data to a targer category. I want to check the workstatus of the target category and if it is locked i want to clear/copy to fail.
    I am not sure how to go about this? I was thinking of adding the following but that is just a guess!
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    any advice would be helpful.
    Thanks,

    Hi,
    Ideally did want an option for the user to select option to check whether the copy should happen if the data had been locked. Have done this via the standard COPY package.
    Can this be done with the script logic e.g. using paramters in the package?
    Or if you create a script logic file does it always check the workstatus?
    thanks

  • Script logic: differences between MS and NW?

    Hi to all,
    at last SAP Tech Ed I've bought a book on SAP BPC 7, Netweaver version...I did it because I'm already working with the MS version, but I hoped to get a better vision on BPC over NW, and to understand some critical subjects.
    One question that I've been wondering is this one: I've found that some script logic examples that I've been able to reuse even in the MS version of BPC, while other won't. For example, I've found the *RUN_ALLOCATION (which I couldn't find in the logic assistent helper installed), and used it happily , and at the same time, I've found the *RUN_PROGRAM, which I don't really get any help from the web. I've found some posts in the NW version, not in the MS.
    So: is there any kind of document about the differences between scripting logic for MS and NW?
    Thank you
    Daniele

    Between 7.0 M and 7.0 NW we have a document with differences.
    But after that new SP or release was bringing new functionalities into NW.
    So it is depending what versions you will compare.
    Any way you will find key words into NW which are not into M version and oposite.
    So my suggestion will be to check the help documentation for version of NW used and to use the key words existing into that version.
    Principle of script logic is the same.
    Regards
    Sorin Radulescu

Maybe you are looking for

  • Send for shared review - What type of Web server folder works?

    Hello all, Can someone please explain to me what type of web server folder works with "Send for shared review"? I have created a folder on my GoDaddy server account with full permissions... http://webservername.com/Adobe_Test but after clicking Next,

  • How to resize an Icon in a JLabel dinamicaly

    I'm trying to do a slideshow program and an obvious action that the user should be able do is to resize the images he puts in a slide. In my case the image is in a JLabel. I was able to move the image/text of the label but not to resize it. I want it

  • Device that can split HDMI video out

    I'm starting here before i might get sold something that won't work... Am running a late-2012 i7 2.3 quad Mini in a studio.  I (will) have two matching Acer 24" LED monitors that need to display the same screen simultaneously- the 2nd monitor in an a

  • Two problems with kernel26-2.6.39.1-1

    hi, I just upgraded system, and i found two problems with kernel26-2.6.39.1-1 first one is that i cannot use "reboot", the screen was black. second, i cannot use " openconnect" to connect the vpn. and the error is CSTP connected. DPD 30, Keepalive 20

  • Javascript array ;Add and remove elements without using push and pop

    Hi  I need to perform add and remove  operation in Javascript with following scenarios i) Add element, if element does not exist in array(javascript) ii) Remove element, if element exist in array(javascript) Without using push and pop method how to a