Bypassing work status lock in FX Restatement

Hi,
We have a requirement to bypass the work status lock when we run an FX Restatement as part of our budgeting process.  I was hoping to achieve this by writing my own BPC Process Type and piggy-backing off standard code.  However, hereu2019s my problem:
1.  The currency conversion is part of the main consolidation program logic.
2.  This program calls the main WRITE BACK logic to write the data back to the application once the conversions have been performed.
3.  The WRITE BACK logic (method cl_ujr_write_back->write_back_int) has a parameter (I_BYPASS_LOCK) which, when set to TRUE, allows the work status locks to be bypassed.
4.  However, the consolidation program calls the WRITE_BACK in such a way that the parameter is not set, which means the default value is taken, which is FALSE, which means the locks are respected:
So, from what I can see, my only options are:
A.  Implement the WRITE_BACK BAdI and use it to bypass the lock in the special circumstance that a currency conversion is being performed (Iu2019m not even sure this is possible u2013 will need to check).
B.  Create my own version of the Consolidation and Currency Conversion program by inheriting from CL_UJP_CURR_CONVERSION (annoyingly itu2019s a FINAL class) and redefining the method that calls the write back.  The problem with this will be how to get the script logic parser to call my class, instead of the standard class.
Has anyone faced the same problem and found a solution?
Thanks,
Tristan

Hi Tristan,
I may be confirming what you already know that it is not possible to bypass the work status in NW version. At one of our implementations, where the customer had OLS 4.2, had a keyword which is used then in a script logic to check the work status code along with the script.
We had a solution which worked in our case as we have opened up the DM method in work status code 'Submitted' where the managers could run the packages. Not sure if this would also be applicable in your scenario.
Thanks,
Sreeni

Similar Messages

  • Work status Locking in BPF

    Hi Expert,
    IN BPF i do not see any interface option for "Work Status Locking".
    how do i integarate my work status process into BPF?
    Thanks
    Vinoo

    Solution is only from BPC excel from the Esubmit menu

  • Work Status tables missing

    Hi All,
    We have two tables in our production system SAP dictionary whose                                                                   
    database table entries are missing. SAP Note # 33814 does not make a                                                               
    mention about the missing tables in /1CPMB/ namespace. We were prompted                                                            
    for object key while trying to delete dictionary entries                                                          
    could you tell me why these generated tables are missing from oracle database?                                                                               
    /1CPMB/LKWSMQUX8 BPC Work Status - Generated Table for Work Status Locks/1CPMB/LKWSMQMIQ BPC Work Status - Generated Table for Work
    Status Locks                                                                  
    Please advice.
    Regards,
    Raghu.

    Hi Raghu, Not sure why the tables got deleted from the underlying database, but those can be recreated using Database Utilities(transaction SE14).
    Regards,
    Vinod Swarnapuri

  • Initial Work status not set autmoatically for new created member

    Hi,
    if we create a new budget version, and process the category dimension we notice that the first work status (locked in our scenario) is not set automatically by default... As a result users can still input data for the new budget version. Only if we first change the work status of the new budget version (and put it back), the work status can be applied ...
    Is this normal behavior?
    Dries

    Yes, I think what you're seeing is "normal" behavior -- it may not be what you want, though. In fact, I don't think this issue is limited to your creating a new member. It also applies to the existing members of your work status dimensions.
    I had one project like this, where the customer wanted the default work status to be locked, and then for the finance administrator to explicitly open up the category & time period for users. We never got it to work in a really clean manner.
    For the work status check to take effect, there must be records in the tblFinanceLock table (where Finance is the applcation name). And the only way that records normally get into that table is by changing the work status manually. We played around with a SQL script to populate that table, to automatically set the status to the first level (locked), but never found something that we were comfortable with.
    I'd be curious to hear if someone's made something like that work well.

  • Locked Work Status doesn't work

    Hi
    This is a new case.
    I have original work status like this. I show MAN only in this example
    Unlock    MAN=unlock
    Submitted MAN=owner
    Approved  MAN=locked
    Then I add a new work status line as the intial state
    Start     MAN=locked
    Unlock    MAN=unlock
    Submitted MAN=owner
    Approved  MAN=locked
    The purpose of the Start work status is to prevent the user submit something at the initial state.
    But the Start work status doesn't lock anything, user is freely to submit data on this work state.
    My analysis,
    I changed the current work status from Start to Unlock and switch it back to Start and the lock does its job.
    Anybody has the same issue?
    Halomoan
    Edited by: Halomoan Zhou on Aug 26, 2008 11:50 AM

    It is logical that it works only after you upgrade to unlocked and downgrade again. The workstatus mechanism makes use of a table called tblFINANCElock (or what name your application has). In the beginning there are no records in this table which indicates that the data is unlocked. Once you update the status for the first time a record is generated with a status. From now on the system can link the records to the work status setting that you have defined and see that status "start" should lock the data. I think this functioality works as it is intended, and the only workaround for you is to lock and unlock the data before the users start entering data for that period.
    -Joost

  • How do I unlock an iPhone 4 with iOS 7 and bypass the activation lock?

    How do I unlock an iPhone 4 with iOS 7 and bypass the activation lock? I can't find the previous owner and I really want to use my new iPhone, I did purchase it Second-Handed.and now I'm stuck. Ive tried recovery mode and nothing still restores and asks me the same thing. Been working on this forever- Please Help!

    If you want to risk your money, fine. 
    To answer your questions
    Is this just an iOS 7 feature?
    Yes, Activation Lock is an iOS 7 feature.
      Could you not restore the device to an earlier version?
    No, you cannot downgrade your iOS device.
    That may mean jailbreaking, I'm not sure.
    Jailbreaking is not supported by Apple or this forum.
    Or what about replacing the motherboard?
    There are no user serviceable parts on an iPhone.

  • 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

  • Terminating Event to Event Queue due to Work Item Lock

    I have a dialog workflow task based on an asynchronous method defined with a terminating event.  When the user executes the work item, the method generates the terminating event (via a V2 change document) but the work item is enqueued (locked) by the same user (locked when they execute the work item from SBWP) and therefore the terminating event goes into error and is placed in the event queue.  The background job which processes the event queue does not redeliver the event so it stays in the event queue and the work item fails to complete.  Other than dequeing the work item lock myself with a function call how do I get around this catch 22?

    Hello Martin,
    Actually, the locking happens whether I have the task as asynchronous or synchronous.  The problem is the timing. If the user does not release the lock (by backing out of the dialog which is executed) prior to the terminating event attempting to enqueue and complete the work item then the event goes into error and is inserted into the event queue (and lingers there indefinitely, almost). Another issue with the asynchronous approach is that even if the user backs out of the dialog before the event actually attempts to complete the work item they will still see the work item in the inbox unless they click the refresh button when they get back to the inbox. 
    I have changed the task to synchronous but here is my scenario and another question.
    The process being workflowed is the approval of service entrysheets (similar to an invoice if you are not familiar with External Services).  In our process, there are a large number of documents being created and requiring approval by particular approvers.  It is a normal scenario for an approver to have, lets say 25 documents in his inbox awaiting approval. It was not practical for him to have to navigate back and forth between his inbox and the approval task screen.  Therefore, I give the users the option of (when executing a work item) having all the documents in his in-box (for this particular task) be presented in an approval list screen.  They can then do a mass approval of the 25 documents with 1 click and 1 navigation.  This list screen is also available to be executed outside workflow via a tcode.  So, when the user executes the mass approval (either from the inbox or outside workflow) the work items are terminated via the terminating event assigned to the approval task.
    A couple of issues remaining:
    1) Given my example of 25 work items (user executes 1 work item from in-box
    and I displayed all 25) being approved, when the user returns to the in-box, the 24
    items remain in his inbox until he clicks the refresh button since these were not actually "executed" from the workflow engines point of view.  However, these were terminated successfully because they were not "locked".
    <b>Question:</b> Is there a way (user exit?) to trigger the inbox refresh automatically.
    2) Now, the issue with the actual work item which the user executes from the inbox.  As I mentioned, the work item is locked as soon as the user executes it and is not released until they back out of the dialog or logoff.  So, here is what happens:  If the terminating event is sent before the lock is released the event is sent to the event queue.  If they then back out back to the in-box, its OK since I put some code in the SWO1 object type program (rememeber, its now synchronous) which will determine if they did the approval/rejection and the work item will complete and the event in the event queue will be deleted the next time the Event Queue Background job runs (it deletes any events for work items already in COMPLETED status). However, lets say they simply log off rather than backing up to the in-box or they don't do anything and are eventually logged off by timeout. In this case the code in the object type program to determine if the approval/rejection was done does not get executed (control does not return to the object type program) and the work item remains in "STARTED" status and remains in the users inbox and the event is in the event queue. So, now we have a work item that should be completed still sitting in the users in-box and the terminating event in the event queue. So the next time the user goes to their inbox the work item is still there.  The interesting thing is that though this may be confusing to the user, if they then attempt to execute the work item, they will get a message: "Work item currently being completed by event" (Message SWF_RUN 644) and the event sitting in the event queue gets redelivered and completes the work item.  To alleviate this problem I was thinking of adding a call to SAP_WAPI_WORKITEM_COMPLETE in the approval list screen after they do the approval but I'm guessing it wont work since it probably will try to enqueue the work item and it will still be locked. 
    Hopefully you haven't nodded off reading this rambling note...
    Thank you,
    Bob

  • Error  " RFC Status :-  Lock table overflow "in event trace  ( SWEL )

    Hi experts ,
    I will not mention this post as URGENT but you guys can understand the importance as I am in PRD Support of my workflows .
    My Workflow is throughing error in SWEL  , as below   and after error its getting deactivated .
    The workflow is triigering based on the  BO : DRAW and event CREATED .
    Error :  RFC Status           Lock table overflow
    In feedback after error the message is : A system error has occurred in lock management .
    I have resolved the deactivation problem after error  , but   can any body please suggest me  what is the root cause of this error , so that i can try to avoid that error .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Nov 20, 2008 5:58 AM

    This error I have not faced. i will suggest you to check SWU3 transaction Code and check everything is configured. Also check SM12 and SM58. Also I will ask you to contact the Basis Guys related to this issue. Also check WF-BATCH is having all the authorization required. Try to replicate this from the system where Workflow is working.
    Thanks
    Arghadip

  • BPC 7.5 - Multiple Usernames in the owner property for Work Status Update

    Good Day,
    We have an issue in our BPC system, where our organisation dimension(entity) has an owner property which is maintained with multiple usernames. The issues comes in when we have to update the Work status for locking. The system recognises the first username as the owner property and only that first username can change or update the workstatus in BPC. We have a problem with that because we have a team of people that manages process.
    The error that we get when one of the usernames other than the first one tries to update the work status is - "User not a Manager/Owner, Work status cannot be updated".
    Please advise of the solution we are BPC 7.5 SP17
    Thanks,
    Themba

    Hi Themba,
    We are combining Team and multiple users without issues:
    Vadim

  • 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

  • Work Status Issues - BPC 10.0 NW

    Hello,
    I am having trouble changing a work status setting that is approved to open.
    We have three settings, default, open, and approved. Approved has data loads locked to everyone. The other two are open to everyone.
    Only a manager can modify the statuses. I am a technical support analyst so I have full access and can change any work status. However, when I look at the selection for the new status, all I see is approved. It will not let me choose another option. And this is for a specific company and month (June 2013). If I take that same company I can modify the closed status to open for other months and for the same company.
    Status is set on company code and time.
    Does closing at different hierarchies cause issues like this? Just not sure why I am unable to change it. Any thoughts?

    Hi
    When you need open a company code, make sure you open the parent node first and try to open individual company code.
    You also need to populate the OWNER property for company code dimension.
    thanks
    ravi

  • Goods Issue/Issue to Production with Batch in status Locked/Not Accessible

    I want to block users to add GI/Issue to Production with batch in status Locked/Not Accessible
    Is it possible to create an approval? A problem here that we have different forms for batch and Goods Issue. Maybe something else can help me?
    As I see that is I can create only alert, but I would like to prevent creating a document
    Thanks,
    Olga

    The B1 built-in approval only works with marketing documents.  This includes Goods Issue for 2007 version. For Issue to Production, you have to use SP Transaction Notification to block.
    Thanks,
    Gordon

  • WBS status locked - system allows consumption

    Dear Experts ,
    I need expert opinion on the following two points.
    1. My WBS status is locked. But the system allows consumption of materail (ie 261 movement) against production order assigned  to the WBS
    2. My WBS status is locked. But the system allows to create schedule lines against the scheduled agrrement assigned to the WBS.
    Due to the above two phenomeneon , the system is allowing comitment & incurrence to happen even for closed WBS.
    Are the functionality described above are part of standrad PS process.
    If yes, then how to tackle these points. If no, then is there any PS configuration for providing checks.
    Thanks & Regards,
    Vishal Murmoo

    Hi Khader Sir/ PSR
    Thanks for the reply .
    As suggested by PSR , the user status should be used to prohibit business transcation . In my case for Order Confirmation , Goods Receipts & Schedule delivery .
    I made the configuration chnages for user status ( locked), which prohibits all the above mentioned transcation. This user status is mainatined for the concerned WBS .
    But still i found that it is actaully not working .The system allows  Order Confirmation , Goods Receipts & Schedule delivery .
    against WBS having user staus locked.
    Is it that i have missed some configuration.
    Need experts suggestions on this matter
    Regards,
    Vishal

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

Maybe you are looking for