Work status Data Manager

Hello!
We can run a package from Data Manager on periods that have the status of "Locked"
We have a package with the following script:
'DEBUG(ON)
PROMPT(SELECTINPUT,,,"Please select category, entity and time for restatement","%CATEGORY_DIM%%TIME_DIM%%CURRENCY_DIM%")
TASK(Execute formulas,USER,%USER%)
TASK(Execute formulas,APPSET,%APPSET%)
TASK(Execute formulas,APP,%APP%)
TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\FXCONSOL_Restatement.lgx)
TASK(Execute formulas,RUNMODE,1)
TASK(Execute formulas,LOGICMODE,1)
TASK(Execute formulas,CHECKLCK,1)
The logic used are as follows:
*INCLUDE SYSTEM_CONSTANTS.LGL
//Kr omflyttning av obeskattade reserver
*INCLUDE ObeskRes.lgf
// Kr berkningar av elimineringar och konsolidering
*RUN_STORED_PROCEDURE = SPRUNCONSO('%APP%', [%KATEGORI_SET%], [%GRUPP_SET%],'%SCOPETABLE%','%LOGTABLE%')
*COMMIT
*INCLUDE Calculations_H2.LGF
If we use this package in Data Manager for a period which has the status of "Locked" the package will run. Should not this be stopped because we have the status of "Locked" on the period and the script says that it will check Work Status

Hi Daniel,
'Normal' logic should listen to the 'locked' settings. Please double check the workstatus settings to see if DM=locked is correct for the 'locked' workstatus.
BUT:
The businessrules stored procedures do not listen to these settings. Most SP calls have there own locking methods.
For example the SPRUNCONVERSION call is as follow:
*RUN_STORED_PROCEDURE=SPRUNCONVERSION(u2018APPLICATIONu2019,u2019CATEGORY_SET%u2019,
u2019%CURRENCY_SET%u2019,u2019GLOBALu2019,u2019%SCOPETABLE%u2019,u2019%LOGTABLE%u2019,impact,destination,
ratedimension,maxstatus)
The maxstatus setting here is the maximum status which allows change of data.
The one exception here is SPRUNCONSO which can not be prevented from running and storing data.
Normally this is good behaviour;
SPRUNCONSO doesn't change LC data and shouldn't therefore not calculate other numbers than the previous run.
The behaviour of other sp's could/must sometimes be different then normal datamanager packages; for example when the status is submitted, users should not be able to upload/clear data, but should be able to run conversion and consolidations, that is why the sp's have there own locking section in the call itself.
Alwin

Similar Messages

  • Read only security not working in Data Manager

    Hello,
    We are on version 5.5 SP6 (5.5.63.71).
    I create a Role named EVERYONE with all Functions = None and all Table and Fields = Read Only.
    I want the user to have read only access in Data Manager so I assigned one Role - EVERYONE.  The user is not assigned any other roles.  When the user logons, they have read/write access to all data. 
    This was working on previous versions.
    Any ideas would be greatly appreciated.
    Thanks
    Tammi

    The user does have security only access.  In Data Manager, the user can change a record but the user will receive an Insufficient Privelages message when they attempt to save the record.

  • 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

  • Work Status Report

    Hi,
    I was wondering if there is a work status report available in the system?  What I would like to see is a summary of which dimensions are locked in BPC so that I can monitor it to ensure that someone doesn't accidentally open something by mistake. 
    Currently I have to go through BPC Web and check the dimensions manually.  If there is no report can someone confirm where the work status data is stored so that I can have one built.
    Is this the table (where "finance" is the application)   -  [dbo].[tblFinanceLock]  ??
    thanks in advance.

    Hi,
    You're right, work status information are stored in "tbl<App>Lock".
    Concerning your first question, you can build a BPC for Excel report that retrieves work states.
    Having for example an expansion on all entities, you can use EVLCK function (from 5.1 version) or EVASV function (in CPM 4.2). You can then do whatever you would like to send it to others via distribution list or other.
    Hope this will help.
    Kind Regards,
    Patrick

  • MDM data manager

    hi experts,
    i could not work with data manager, the error is prompting by telling that it cannot load the repository. can anyone will help me in solving this error.
    thanks,
    kannan.

    Hi Kannan,
    Data Manager can only connect to repositories that are loaded and running on a running MDM Server. To check this, you have to use MDM Console:
    1. Start MDM Console and mount your MDM Server. A green arrow icon before your server name indicates that your MDM Server is running. If not, start the MDM Server.
    2. You'll see a list of repositories available for this server. If your repository is not visible, you have to mount it first. You can do so by right-clicking on the server and choose the action from the context menu. If your repository is visible, login to the repository and check the repository state. Again a green arrow icon before your repository indicates that the repository is loaded. If not, load the repository! As soon as your repository is running, you can conntect to it with the Data Manager.
    BR Michael

  • Data Manager Packeage and Process chain si not working

    Hi All,
    I executed a data manager package which contain a process chain to revaluate the one of my Account dimension meneber Say  "Revenue". I am working on BPC NW 7.0
    steps I followed:
    1. I created a script logic file and created a custom process chain.
        process chain steps:
      a) Start variant
      b) Modify dynamically
      c) Run Logic
      d) Or and Clear BPC tables
    2. This process chain was included in data manager package.
    3. Data manager package was modyfied to include parameters and scipt logic file name.
    4. executed data package
    The issue is " when I execute Data manager Package" I dont get any error but when I View status I dont see any pachage running or completed. If I see Process chain, It is failing at first step of Modify dynamically..no clue?
    Could you please let me know what could be a issue?
    Cheers,
    SAC

    I encounter this problem, Do this Steps:
    I. First,check if your process chain is existing in the Library.
    II.If yes,follow the steps below:
    1. Edata - organize Package - Modify your Package.
    2.Check if you had the correct process chain.
    3.IF yes, Click View package at its right side.
    4.Expand the Task Folder and take note of the Task Name (e.g. ZBPC_PROT_RUN_LOGIC)
    5.click Advance,Compare the task name that you noted in the syntax TASKS
    (e.g. TASK(ZBPC_PROT_CF_RUN_LOGIC,SUSER,%USER%)
    6. It should be the same.
    Running package but not appearing any status happens when the system cannot find your process chain.
    hope this helps,

  • Debugging LCDS Data Management from Flexbuilder3 on Tomcat does not work

    I have a sample with Data Management and when i use it on my tomcat it works fine. But i can´t debug it from flexbuilder 3. When i start it from the flexbuilder i get the connection and then i crashed with "No registered fault handler or token responder - throwing an error for destination:"
    It is the same tomcat i use to run standalone.
    is it a problem with the context.xml?
    [SWF] /flexine/dataService_wt2.swf - 1.422.965 bytes after decompression
    'cds-consumer-sandwich-null' consumer set destination to 'sandwich'.
    Configuration for destination='sandwich':
    New DataService for destination: sandwich
    DataService.fill() called for destination: sandwich with args: []
    '4A853118-F24B-5FE2-BF01-FCDFF6C93161' producer set destination to 'sandwich'.
    Creating a new independent data store for destination: sandwich
    Adding data service: sandwich to the data store: null initialized: false
    Finished validating destination: sandwich loadOnDemand/paged associations: [] sub-types:
    data store: null is initialized
    'my-rtmp' channel endpoint set to rtmp://localhost:2038
    'my-rtmp' channel settings are:
    'ds-producer-sandwich' producer sending message '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'
    'my-rtmp' channel got connect attempt status. (Object)#0
      code = "NetConnection.Connect.Success"
      description = "Connection succeeded."
      details = (null)
      DSMessagingVersion = 1
      id = "E35ECC7A-710F-4D9B-A507-330FDD83B283"
      level = "status"
      objectEncoding = 3
    'my-rtmp' channel is connected.
    'my-rtmp' channel sending message:
    (mx.messaging.messages::CommandMessage)
      body=(Object)#0
      clientId=(null)
      correlationId=""
      destination="sandwich"
      headers=(Object)#0
      messageId="CDC66303-F24B-1E87-4103-FCDFF8211298"
      operation="client ping"
      timeToLive=0
      timestamp=0
    'my-rtmp' channel sending message:
    (mx.data.messages.DataMessage)
      messageId = '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'
      operation = fill
      destination = sandwich
      identity = (null)
      body = []
      headers = {}
    'ds-producer-sandwich' producer connected.
    'ds-producer-sandwich' producer acknowledge of 'CDC66303-F24B-1E87-4103-FCDFF8211298'.
    'ds-producer-sandwich' producer acknowledge of '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'.
    'ds-producer-sandwich' producer fault for '52AF7949-7B16-7C8E-3B87-FCDFF6F8D3A2'.
    Dispatching fault event for destination: sandwich
    No registered fault handler or token responder - throwing an error for destination: sandwich
    [RPC Fault faultString="There was an unhandled failure on the server. javax/transaction/SystemException" faultCode="Server.Processing" faultDetail="null"]
         at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()[C:\depot\flex\branches\enterprise_corfu_b2\frameworks\projects\data\src\mx\data\ConcreteDataService.as:2401]
         at DataListRequestResponder/fault()[C:\depot\flex\branches\enterprise_corfu_b2\frameworks\projects\data\src\mx\data\ConcreteDataService.as:6970]
         at mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]
         at NetConnectionMessageResponder/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:523]
         at mx.messaging::MessageResponder/status()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]

    Here's an update for future victims doing google searches :-)
    The issue appears to be related to compiz. When I'm doing basic 2D desktop with metacity everything simply rocks: the machine suspends/resumes with no issues.
    When compiz is enabled, there is about 10 second delay after resume, during which the screen is black and you better not touch the keyboard! If I sit and wait for 8-12 seconds, the dark screen goes away GDM login dialog shows up. But if I touch the keyboard or the touchpad, it will either freeze or become exceptionally slow.

  • Power Query/Data Management Gateway data refresh not working

    Pretty new to o365/Power BI, but here's what I've got going on (hopefully someone can help me out):
    I created a data management gateway and data source.  The data source says it's online in the PowerBI admin center, and it seems to be working correctly.  I can open Excel 2013 on my desktop (logging in as my trial o365 account which has Power
    BI associated with it) and connect to the data source via Power Query using the oData option.  I make sure to import the data into the model, and then open up the PowerPivot window and create a simple pivot table using the data in the model.
    that all works just great.  The problem comes when I upload the workbook and try to update it.  I've tried a few different ways.
    1. When I try to manually refresh the workbook by opening it in my o365 site and going to data-->refresh I get the following error:
          An error occurred while working on the Data Model in the workbook. Please try again.
          We were unable to refresh one or more data connections in this workbook.
          The following connections failed to refresh:
          Connection: Power Query - dbo_DimProductCategory
          Error: Out of line object 'DataSource', referring to ID(s) 'a75593f3-c34d-4f83-9458-49aa2cece164', has been specified but has not been used.
          The following system error occurred: Class not registered
          The provider 'Microsoft.Mashup.OleDb.1' is not registered.
          Power Query - dbo_DimProductCategory
    2. When I go into Power BI and go to "Schedule Data Refresh" for the workbook, I get the following error:
          Sorry, the data connections in this report aren’t supported for Scheduled Refresh.
          Technical Details â–¼
          Correlation ID: B3CE4B10-2137-E593-6FCF-189B73465190
          Date and Time: 03/31/2014 06:20:39 PM (UTC)
    Any help would be greatly appreciated.  If you need additional information, I'd be happy to provide it.

    Hey Guy,
    Thanks for the reply.
    The "data source type" of the data source in Power BI is "SQL Server" (there was only that and Oracle available to select from)
    The "data source type" that Power Query is using in Excel is "From oData Feed"....which is using the Power BI data source....which is using the data management gateway.
    A few follow up questions if you have a second
    1. Do you know when PowerQuery data refresh will be supported? (just a general idea....weeks, months, next year?)
    2. Is there any other way to connect to (and be able to refresh) PowerBI data sources referencing "on prem" data via the data management gateway?  I tried using the oData feed URL in non-PowerQuery areas of excel (excel data tab, PowerPivot directly)
    but it didn't work.  If there's some other way to connect to and refresh on prem data, i'm all ears :D 
    Really appreciate your help, thanks for taking the time.

  • Work Status Report Date and Time Setting

    Hi all
    We are running BPC10 on servers configured with Central European Time which is currently 2 hours ahead of GMT allowing for Daylight Savings Time.
    From what i can see in BPC10 date and times are now stored in GMT (Zulu time) in the Audit activity tables so when a user updates the work status at say 11:00AM local CET time then a value of 09:00AM GMT is stored in the Audit Activity Header table.
    We have a report in excel that uses the EVLCK formula and will return the correct value of 11:00 am however if we run the Work Status Audit report on the Planning and Consolidation home page with user preferences set to Central European Time +1 then the time is displayed as 10:00am suggesting that daylight savings time is not accounted for. We need to set the time to Eastern European time +2 hours to display the correct figure.
    Can anyone explain why this happens? Has DST been overlooked?
    Rgds
    Alan

    Hi Alan,
    probably it's a bug, I think it's better you open an OSS message to SAP.
    Regards
         Roberto

  • SSIS Environmental Variables not working in BPC 7.5(MS) Data Manager

    Hi,
    We have an SSIS 2008 package that is retrieving variable values from Environmental Variables.  The package runs successfully when executed from DTExec, but fails when executing from a BPC 7.5(MS) Data Manager package.  Looking through logs we've been able to pinpoint the issue.  The issue is that the SSIS package is unable to retrieve variable values from Environmental Variables when running from Data Manager packages.  We tried using XML Configuration files to store variable values, but this did not work either when running the SSIS package from Data Manager.  Has anyone seen this before?  If so, what was the solution to resolving the issue?
    Thanks,
    Glenn Van Der Werff

    Hi Glenn,
    Can you set package variables in Data Manager script as a workaround?
    For example, here is how we set connection string:
    GLOBAL(DRILL_CN_STRING,Data Source=%SQLSERVER%;Initial Catalog=%DRILL_DB%;Provider=SQLOLEDB.1;Integrated Security=SSPI;Application Name=SSIS-BPC_Incremental_Oracle;Auto Translate=False;)
    DRILL_CN_STRING is a variable in our package and %<Parameter Name>% are parameters for that connection string.
    Regarding Env Variables and XML... there could be security related and/or Package ProtectionLevel issue when BPC system account.
    Hope that helps,
    Akim

  • Can Work Status be controlled by admin (or persons other than Owner & Manager)?

    Hi Experts,
    We set the initial Work Status as "Locked", and it should be unlocked when opening a new period.
    System admin is the one responsible for opening a new period.
    However, the "Controlled by" field of Work Status can be set as Manager or Owner only. The admin is neither a manager nor an owner.
    Is there any method to let the admin change the Work Status?
    Thanks in advance.
    Winson

    Hi Winson,
    Work Status always works along the hierarchy. so create a super parent of all the members in the hierarchy . so for this parent owner is admin. so he can change the work status of all the children below him. since he is the manager of all.
    Hope this helps,
    Andrew.

  • Work status in data package

    Hi,
      Assuming category, entity, time are my work status dimension, and i have decided to give a work status of 'approved' to category=budget, entity=sales, time=2015.total, hence category and entity are both base members while time is a parent member. However i DID NOT click on "include children in the data region". But later when i checked the work status of 'category=budget, entity=sales, time=2015.aug", it has turned into "approved". Don't i have to click on "include children in the data region" in order to flow this down to the children?
      Regarding the work status checking in data packages, what does the following mean:
    - Select whether to check work status settings when deleting comments?
    - Select whether to check work status settings when importing data?
    - Select whether to check work status settings when running logic?
    Thanks and regards

    Hi,
    You are absolutely right. Ideally, if "Should children of this data region be included?" is not selected, the children should not be included. However, I am not sure why this has happened in your case. Will definitely check on this and get back to you.
    For your second query regarding the DM packages.
    If you select Yes, work status settings will be copied with the data. If you select No, work status settings are not copied with the data.
    Hope this helps.

  • Date management,Status Management,Action Management

    Hi experts ,
    This is Madhusudan,I have godd conseptual knowledge on Datemanagement,Status Management,Actiona Management,but I would like to know how to configure these things in CRM.
    Thanks nad regards
    Madhusudan

    Hi Madhusudan,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c87bb93d-0b01-0010-a0b4-b04d7fda745f">Action Management</a>
    <a href="http://help.sap.com/saphelp_crm31/helpdata/en/d4/fce93a29768802e10000000a11402f/frameset.htm">Date Management</a>
    <b>Reward points if it helps.</b>

  • 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.

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

Maybe you are looking for

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success.

  • Lightning to 30-pin Adapter ship date?

    Antone have an idea when the 30 pin adapter will ship? I ordered 2 from the apple store but still no mention of a shipping date? couldn't find any in any authorized apple dealer. haven't made it to a apple store yet. Are they even available?

  • What type of external microphone do I need?

    Do I need to use some sort of USB powered external mic with my iMac in order to do proper dictation and voice commands?  I tried a simple plug-in mic and it did not work. Thanks, M

  • Moving Jobs from OEM 9.2 to 10.2

    We have a ton of jobs in OEM 9.2 (set up suing the old Java-based GUI). We would like to install OEM 10g R2 Grid Control, but I can't find any documentation about moving these jobs from 9.2 to 10.2. Does anybody know if this is even possible?

  • Transport own table including content

    Hi, I have created a program with an own dictionary table. Can I transport the table with the filled content from the development system to the test system? If I would transport my request now, it will just create the table and all other objects, but