Planning Book lock

Hi Gurus,
The users get locked out if they select the same planning book even if they are using different selection profiles. Is there a way not to?
Really hoping for your help.
Thanks. Sincerely,
Ria

Ria
To avoid locking issues, Its not sufficient that users are using different selections - Its necessary they be using non-overlapping selections so that each user does not pull up the same set of CVC's.
See the help and examples here:
http://help.sap.com/saphelp_scm70/helpdata/en/ed/f061c18ddd79448c49064f0e645725/frameset.htm
Rishi Menon

Similar Messages

  • Locking Planning book

    Hi,
    Has anyone worked on code for locking planning book? I already have a code but it fails at one scenario to lock the planning book. There are FM to lock the planning book, which behave exactly as I want in that scenario, but when I use them in my program even they fail to lock the planning book in that scenario.
    For more details, you can check my thread for which link is given below
    @Moderator - I had opened a similar thread before but it was locked by moderator (Thomas Zloch) with comment to do my own research. I have already done much research about this and have found my problem to be still existing in all the codes/solutions. I have already posted in SAP APO section regarding the specific problem and haven't got any solution from there too. Hence decided to check in ABAP section if any abapper had worked on the same.
    [Lock Planning book before batch job run|Lock Planning book before batch job run]
    Thanks!

    Your first attempt left no choice but to lock it.
    Planning book lock
    Thanks for supplying more information this time.
    Thomas

  • What r the neccessary steps should be taken,when the planning book is lock

    What r the neccessary steps should be taken,when the planning book is locked

    Hello,
    If your planning book is locked .. in the lock entries you can see who is locked the planning book.
    It depends on who's (Planners) work is more important and accordingly you should ask the person to come out from the planning book and ask another person to work...
    If you want to know Planning book locking Logics then:
    As of SAP SCM 5.0, the new locking logic liveCache Lock is available in Demand Planning (DP). The system can use this logic to more precisely lock data you are accessing than it can with the aggregated and detailed locks. The liveCache lock takes intervals into account during selection and evaluates for single values the first wildcard character (*) or the first placeholder for each value. You can activate the liveCache lock in planning area maintenance on the Locking Logic tab page. You can activate the liveCache lock together with the key figure-specific lock.

  • APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book

    Hi forum,
    I need to lock temporaly a Planning Book in /SAPAPO/SDP94 in order to avoid users to be logged as a loading process is running
    do you know any standard transaction to do this or have another idea?
    thanks in advance
    Rasec
    Message was edited by: CESAR BENITO

    Replies:
    CESAR BENITO         
    Posts: 48
    Registered: 3/11/04
    Forum Points: 0
         Re: APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book 
    Posted: Oct 18, 2006 12:16 PM   in response to: Uma Maheswar ku... in response to: Uma Maheswar ku...           
    Click to edit this message...      Edit      Click to delete this message...      Click to branch this thread starting with this message...      E-mail author      Click to report abuse...      E-mail this message             Click to reply to this thread      Reply
    Thanks for your answer, Uma!
    I was testing Bapis that you mentioned and I think it's a radical solution because I would be blocking users, I just want to lock a planning book (users can keep logged in the system)
    Transaction /n/sapapo/sdpplbk does not guarantee that user can access to planning book (if he/she is smart )
    any suggestion?
    Rasec
    Somnath Manna   Moderator   SAP Mentor         
    Posts: 1,063
    Registered: 12/6/07
    Forum Points: 2,932
         Re: APO: Interactive Demmand Planning - LOCK/UNLOCK Planning Book 
    Posted: Oct 23, 2006 6:59 AM   in response to: CESAR BENITO in response to: CESAR BENITO           
    Click to edit this message...      Edit      Click to delete this message...      Click to branch this thread starting with this message...      E-mail author      Click to report abuse...      E-mail this message             Click to reply to this thread      Reply
    Hi Cesar/Rasec,
    If I understand correctly you want users not to change any data while some background job is being run. One way to handle this would be to lock and unlock the concerned planning area. This will prevent any users from making changes to the data in the planning area which should also mean your background job will not fail due to locks on data selection by users.
    For this you can develop customization to do locking and unlocking of the planning area. The function module ENQUEUE_/SAPAPO/E_PAREA can be used to lock planning area while DEQUEUE_/SAPAPO/E_PAREA to unlock the planning area.
    Hope this gives you some direction.
    Thanks,
    Somnath

  • Restrict User Access to Planning Books- Creation of Roles

    Hi All
    I want to restrict the users to access/see only limited number of planning books in SDP94
    menu
    For this, I tried creating a role and assigned authorization C_APO_PB with required planning book values
    However I am not sure how to create the role properly. In the change role screen, the "Menu" and the "Workflow" tabs are red, while authorization tab is green
    Do I need to do any activity in Menu and Workflow tabs
    Please guide
    Any help on this is highly appreciated
    Thanks
    Vijay

    Moderator message - Cross post locked
    Rob

  • [ZT] Important points of creating planning book

    From one SAP site:
    Some hints on the design and usage of macros for background processing:
    u2022 Create a separate planning book for each macro background job. The planning book should
    contain only key figures used by the macro itself, and only macros executed as activities by
    the mass-processing job. Use a different planning book whenever different key figures are
    needed by two macros, and a different data view whenever the time periods are different.
    u2022 Remove all unused macros from planning books associated with mass processing jobs, as
    they are loaded in an unorganized manner which can be performance-intensive. Unused
    macros are not helpful to your business process.
    u2022 Only those macros that are called by an activity are executed in background. These activities
    are: Start, End, Level change. Default macros are not executed automatically, as they are in
    dialog. When defining a job, you must therefore first establish which start and default macros
    have to be executed and in which sequence, so that your own self-defined macro can work
    correctly. Macros for background should not involve actions like setting colors, hiding fields,
    display icons, or sending popup windows that are frequently included in default macros for
    online use.
    u2022 The planning book used for background macros should have only the functionality it uses, i.e.
    application demand planning and no other functionality.
    u2022 For performance reasons, run macros for a delta period rather than the entire horizon
    wherever possible. Under most circumstances, historical data is not changed, other than
    adding new periods, one time bucket profile at a time. Rather than performing the full
    calculation over a long historical period, run a macro to do this once, and then design a new
    macro that only performs the calculation for the u201Cdeltau201D period, or the period that has just
    entered the historical horizon.
    u2022 If you want to speed up the processing in the APO releases 3.0A, 3.10 and SCM 4.0, you can
    create several background jobs with roughly equal numbers of characteristic combinations
    and run them in parallel. Make sure that no individual characteristic combination belongs to
    more than one selection variant, as this can cause lock issues. For optimum performance the
    selections for parallel processing should be roughly of the same size.
    u2022 From release mySAP SCM 4.1 you can use parallel processing profiles for running macros,
    e.g. for the adjustment of historical data. You can navigate from transaction /SAPAPO/MC8E
    directly to the maintenance of parallel processing profiles or start transaction
    /SAPAPO/SDP_PAR for direct access. After defining block size and number of maximum
    parallel processes you have to assign the parallel processing profile to the selection variant.
    The next time you run this selection as background job it will automatically run with parallel
    processing.
    u2022 If you need to run two macros on the same key figures with the same level of aggregation, put
    both into one planning book and execute them as two actions within the same background
    activity (defined with transaction /SAPAPO/MC8T, see below). You thus save the time needed
    for loading the data for a second time.

    This explanation sounds very good. I think this is a very first things that we face while implementing.
    Thanks for posting this.
    My

  • How to find which user is in the planning book XYZ?

    Hallo,
    we are using SCM APO 5.0. and have defined "key-figure-specific Lock" as our locking logic.
    I need a program to get all users who are in a special planning book. Normally I can read this information from lock entry list (SM12). But with this locking logic the entry list looks quite different. Has someone an idea?
    Thanks in advance
    Yong

    Yong,
    There is a macro ACT_USER() which returns the user in a particular planning book. You can make it as a directly executable macro and schedule it using mc8e.
    Hope this works.
    Regards,
    Abhi

  • User are getting kicked out of SNP planning book

    Hello Experts
    I hope you can help me out here!
    From time to time we are experiencing strange issue for SNP user's .. User are getting kicked out from SNP planning book
    Please help us.
    Thanks
    Ramesh

    Hi Ramesh,
    As far as I know, users should not get kicked out unless someone terminates their session.
    Even if they lock some data and the same data is needed by some job, it's the job that would fail showing data lock. Similarly, if some other uses tries to access the locked data, the user who is accessing later would face the issue of not being able to go to edit mode.
    It's possible to write programs that could specifically do this work of kicking out users before we run batch jobs, but let me assume that this is not the case with you.
    One possibility is that there is issue in livecache and so users are not able to access livecache or get kicked out from their active session (e.g. your log area gets full, then users would soon get kicked out after seeing the system hanging initially). This you would need to check at the time when users face issue. This would also mean that other processes that need livecache should also fail e.g. GATP, or SNP planning or PPDS planning related jobs would fail at the same time.
    If you could share exactly what error message the users are seeing, that could be helpful in resolving the issue.
    Thanks - Pawan

  • APO-SNP Planning book BAPI_PBSRVAPS_CHANGEKEYFIGVAL2

    Hello experts,
    In the BAPI "BAPI_PBSRVAPS_CHANGEKEYFIGVAL" for locking and unlocking the planning area there is an error message "Locking planning area for planning book & has failed" .
    This is urgent ,can anybody please help me out why this error message appears.
    Thanks in advance.
    Sandhya

    Hi Srinivas,
    Thank you very much for reply
    This error is getting in APO SNP. In the BAPI
    The FM /sapapo/ts_dm_lock  is calling FM Enque_report and if this function module is filling the table "enq" then the locking is failing .
    Can you please tell me what this table contains.is this table is filling with the both the users who are trying to edit the keyfigure values.
    Thanks and Regards,
    Sandhya

  • Planning book changes transport request failed in quality.

    Hi all,
    I have to make some changes in Macros for one of our planning book. As per practice I made these changes in Development and tested everything looks fine and created transport request to Quality. Request failed in quality with error code 8. which says individual objects could n to transport succesfully. I further tried to analyze the issue and looked at objects and they look like Slections ids were failed. Can anyone advie how do I locate and correct these - .
    I created transport request from function sapapo/tsobj and selected the planning book. I think this has selected all selctions ids also. Later I created another transport request from Planning book and this went through succesfully.
    But how I can corect the old transport request which is showing in red light as error.
    Thanks
    KV

    Hi KV,
    Regarding your wrong request, you can't dop much about it.
    Don't worry, I will be suprise if you were the first to have a wrong request in your system.
    I suggest you check your internal practice to know how to handle this kind of request.
    But basically the idea is: do not transport further. If possible "reject" it to ensure nobody will ever transport it.
    Another point: in your case it looks like you don;t really want to transport selection. It is however quite useful to do so, especially for the selection used in background job. I often suggest to:
    1. Have different naming convention for batch jobs selection and selection for interactive use (you can even control selection creation / usage with autorisation to avoid misuse)
    2. transport all selections related to batch job. If you decide to do so, you need to ensure all these selections are correctly defined in your development AND you need to delete this selection in all your target system (to avoid the locking issue you got)
    Sorry if all  this is a bit outside topic...
    I hope it helps
    Julien

  • Delete Planning Book

    Hi All,
    I created planning area and planning books for testing. Since they were not required anymore I decided to delete all. I assumed that when I delete planning area it deletes planning book as well. but that did not happen. Now planning area is deleted but i still see planning book in interactive planning.
    Please let me know how do I delete this planning book since when try using standard planning book T code to delete it give me error message " planning area does not exists"
    Regards,
    Harshil Desai

    Thanks all for your response.
    @ Aparna: When you delete planning area system deletes all dependent objects like planning book/data view.
    In my case when I deleted planning area, system did not delete planning books because planning book/data view was locked by status "change by author only".
    @ Rajesh: Awarding full points for hint. I could have delete the record completely but I took different rout be changing user name in table entry for respective planning book and then I deleted planning book from standard planning book transaction.
    Regards,
    Harshil Desai

  • User insade Plan Book during Core Interface

    Please.
    Maybe somebody has the same problem.
    During the Core interface run at night whe are facing some problems into the Job due users inside the Planning book.
    Somebody have any solution to disable the access from the users into the Planning book in a specific time also close the Users setion that are inside the planning book.
    But we have to release access only to CRONPTS user that is the CIF Runner.
    Thanks a lot.

    what is your CIF doing? why is it writing to a PB where users are changing values
    are they changing values into the same KF
    if not,
    Try to make your Planning area to KF lock and set the option of "do no lock read only KF"
    then  make the Kf that the CIF changes into a read only in the planning book (either in design or using a start macro)
    if you cant change the above....
    then
    while vinods solution is elegant, if you dont have enough programming power this is what you can do
    1. run a job before the CIF job runs to trigger a batch macro
    this macro should set a flag in the planning books - say put value 1 in a cell somewhere in history
    2. create another start macro in all your planning books which checks for this indicator - if cell =1 then make all rows output only by using the macro function row_input( ) = 0
    now when the user goes into the planning book he will be in display only
    3. when the CIF work is over it should release the lock by removing the KF value from that cell

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • Upload data from Excel to the Planning Book

    We are on APO 5.1. We have APO DP at the moment. I wanted to test upload of data from Excel to the planning book. I have tried several times. I have been unable to see any changed data in the planning. I do not get ANY errors during the upload. But I cannot see any changes that I made in the excel in the planning book. Please let me know what I am doing wrong. These are the step that I follow.
    1. Go to planning book.
    2. Short list only one key figure e.g Customer Forecast.
    3. Go into Details All mode.
    4. Download the file using the "Prepare File for Upload" option.
    5. Open the saved Excel.
    6. Change the values in the excel , save and close.
    7. Upload the excel into the planning book using the upload file option.
    I do not get any errors during all these steps. However, when I check to see if the values have been updated, the changes made in the excel are not updated in the planning book.

    Hello,
    Instead of selecting one key figure in data view, please select all key figures of the planning book and then try all the steps which you have carried out.
    please revert after you carry out this.
    Regards,
    Prafulla

  • Key figure display in planning book with respect to Time bucket profile

    Hi,
    I am loading a key figure to planning area from the info cube for the current month. When I review the key figure in planning book with monthly time bucket profile it shows 85 for the current month. In the same planning book with weekly bucket profile, it shows 55 from the current week and future weeks and the remaining 30 goes into the past weeks of the current month.
    How to make the total quantity 85 to show in the current and future weeks only.
    thanks and regards
    Murugesan

    Hi Murugesan,
    Within the Planning Area, the data is stored at the lowest level granularity that you maintain in storage bucket profile. Then during display, system will decide what data to show depending on what kind of time bucket profile you use in the planning view, and the time based disaggregation that you maintain for Key Figure.
    In this below case, what time characteristic do you have in cube? Is it date, week or month?
    If it's date, check how much KF data is maintained on the dates which belong to week which has days both in this month/last month e.g. if I talk about Dec 2011, how much data is stored 1,2,3 & 4 th of Dec, 2011.
    This data would appear in Dec in monthly view, but in week, it would appear in the week starting 28th November.
    If data is maintained in cube in weeks, then you need to calculate how time based disaggregation would show it to you in months.
    If it's months, then you would need to find out how much data would go to the days in the past week of the month.
    The time based disaggregation may be causing you some issues, but in that case, I would not expect 30 out of 85 to go in the past week, unless you have data in cube in days.
    Data shown in weekly view for week starting 28th Nov should ideally be a small proportion of 85, unless you are using a time stream/fiscal year variant, due to which most of December is in holidays.  The only other exception I can think of is that you have data in teh days mentioned above.
    It would be best to help the business understand this disaggregation logic, rather than thinking of manipulating the data to shift to a later week.
    If this logic doesn't explain your situation, then please provide the date/week/month at which you have data in cube, and what quantity.
    Thanks - Pawan

Maybe you are looking for

  • Little problem with Shape.intersects

    I have the following code: boolean isCollision = island.contains(line.getP1()) || island.contains(line.getP2()) || island.intersects(line.getP1(), line.getP2(), 1, 1);This doesn't work: The method intersects(double, double, double, double) in the typ

  • Selecting apps and the Beach Ball

    Select an application to start it up from the desktop or the Applications fiolder, and the spinning beach ball appears. Nothing else occurs (no app lanched). If I then select " anything" from the Dock ( an application, a folder, etc), the beach ball

  • Problem in Delivery Creation

    Hi All, I have a requirement to create a delivery from sale order. Iam using BAPI_DELIVERYPROCESSING_EXEC bapi to create sale order. I have passed the data as below. The below code is creating delivery in my ECC 6.0(Sand Box) but my client system is

  • Virus checking of large file

    Just had a quick look at an email that was received today that had a large attachment. This mail was skipped 'cos of its size, but actually it contained a virus. I guess this is expected behaviour? Is that a way to change to that attachments are alwa

  • [svn:osmf:] 15686: Extending unit tests.

    Revision: 15686 Revision: 15686 Author:   [email protected] Date:     2010-04-26 03:08:22 -0700 (Mon, 26 Apr 2010) Log Message: Extending unit tests. Modified Paths:     osmf/trunk/framework/OSMFTest/org/osmf/containers/TestMediaContainer.as