Locks in Planning
Hi,
After doing a Manual Planning using Input ready Query,
Scenario:
1) On submit of the information from lower level to higher level, a notification would be triggered and a version (Version A) would be generated.
2) Unless the higher level reviews and sends back the notification for modifications, the lower level shouldnt be able to edit the generated version (Version A).
That particular version should be locked for that period of time to the lower level user role.
Are there any function modules that can lock the plan data for a particular user?
How to implement the same for a IP planning layout
Thanks in advance!
Hi,
The solution for you seems to be STS (Status and Tracking System). Go through below link:
http://help.sap.com/saphelp_nw70/helpdata/en/b6/92bc7479fb11d5b3df0050dadfb23f/frameset.htm
Similar Messages
-
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 BENITOReplies:
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 -
Dear Experts !
I want to lock Cost Planning for a perticular period ...for this i am doing setting in OKP1 with controlling area wise ...But this is not working ....
Please Clear me where I am wrong.
Regards
SMITHhi
OKP1 locks the plan data for the controlling area, fiscal year, Version and business transaction combinations.
If you want to lock the planning for the particular WBS, you can do the same in Project Builder under the menu path Edit-> Status-> Lock -> Planning.
Just see this serves your purpose.
Regards
Ramesh -
CO-period lock for planning on company code level
Hello,
I would like to ask you for assistence.
We would like to have the possiblity to lock the CO-periods on company code levels. For actual values, it is possible to arrange this within the validation. However, for plan values the validation is not active.
I have read about possibility to enhance an user exit for paritcular planning transactions (KP06, KP26 etc.), but I can't find it anymore.
Does anybody from you have experience with this, eventually is there another option?
Thanks in advance
PeterI have had a similiar problem and contact to remote consulting from SAP. They offered a modification (10-15 days if I remember correctly) to make CO period lock company code depending.
If I remember correctly, his name was Valentin (in Germany).
However: if newGL is active with real-time integration and also plan transfer, I think it should be possible to lock in FI.
regards
Bjoern -
Select Query Hangs / No DB Locks / Query Plan is good
I have below query in application which hangs ( Only sometimes ) and there are some session which also try to insert data into this tables also starts getting hanged.
SELECT DISTINCT F2 || ' - ' || F3 || ' - ' || F4
FROM Table1
WHERE F4 = 6160
AND F1|| F2|| F3 NOT IN (
SELECT F2|| F3 || F4
FROM Table2
WHERE F1 = 181)
F2 - varchar(4)
F3- varchar(100)
F4- varchar(20)
F1,F1 are NUMBER
Table1 has one unique index comprising all fields in ORDER F1,F2, X,F3, F4,Y - X,Y are some different field.
Table2 has one unique index comprising all fields in ORDER F1,F3, F4,F2 are some different field.
Below are facts from DBA ----
1- Session Query Plan was excellent -
2 - No tables were locked in DB
3 - Statistics on this table Table1 was calculated on Feb, 2008 and shows 8 millions rows but actual current row count is 13 million. DBA says sometime analyzing statistics again may cause poor query performance.
4- There were 8 session in DB, 1 was for above select statement and other 7 were trying to insert data into above table.
Can you please advise what could else be verified to root cause issue as it has been hanging many times - hence causing other session to hang ?
Many ThanksCan you clarify exactly what the DBA meant by "No tables were locked in DB"? What was the exact query that was used to determine this? Was it hitting V$LOCK (GV$LOCK in a RAC system)? Or the DBA_BLOCKERS and DBA_WAITERS tables? Or something else? The specific query here is important because there is a world of difference between a row-level lock and a table-level lock. Of course, locks would never prevent a SELECT statement from running, but it could cause problems for the INSERT statements.
I strongly concur with Old DBA's suggestion about refactoring the query to not do the concatenation in the NOT IN clause.
Are the F4 = 6160 and F1 = 181 conditions really using hard-coded numeric literals? Or are these bind variables? Is the data in F1 or F4 skewed-- that is, are there certain values that are more likely than other values?
How many rows would you expect to be in Table1 with an F4 value of 6160? How many rows in Table2 with a F1 value of 181?
Justin -
Characteristic of header for locked the planning
SAP Netweaver 7.0 SEM-BPS 6.0
Hello experts.
I have a layout of planning. This a filter in the level of variable type exit, to several values singles of the characteristic cost center. This characteristic is in header. The variable is mandatory.
the problem is when a user to try to entry to planning to a value of cost center that other user selected in the before moment. For example:
USER 1: select value for cost center 10170 in time 1.
USER 1: select value for cost center 20000 in time 2.
USER 2: select value for cost center 10170 in time 2, but this last user can`t planning because the data is locked for el user 1 selected in time 1 this value.
the locked of user 1 remains although this has select other value.
I believe to remember that the user 2 could planing if in the same time other user isn't planning the same value, but now i have this problem.Hi,
how does the user 1 select a new costcenter? Is how opening the variable dialog or is he restarting the layout?
If he is restarting the layout the locks should be reset. You can check this in transaction RSPLSE.
Please check this thread Re: Saving one layout in a workbook instead of the entire workbook for the "planning on the fly" concept.
Regards Matthias -
Hi
Can you please suggest any method wherein I could Lock Manual entry of Planning, but only allow copying of Planing figures for other Version in the system,
Also can we Lock one specific planning version depending on internal order status
Regards
Ash Kgo to maintain versions in General Controlling and then go to controlling area settings & setting for each fiscal year.
regs,
ramesh b -
Running Rules on "Locked"/Promoted Planning Units
Hi All,
I'm using Hyperion Planning and Smart View Version 11.1.2.2.
Does anyone know if it is possible to prevent users from being able to run rules on data that is supposedly "locked out" by virtue of a Planning Unit? I was under the impression that Planning Units were supposed to control who could change the data rather than simply who could type numbers into forms, maybe I had this wrong? It seems a bit of a transparent piece of functionality if users can still change numbers after they've passed ownership to someone else.
A working Example:
A user can promote their data, but is still able to go back to a form where that data sits and run Rules on-Save, through Right-click menus or through Smart View.
I'm worried about someone accidentally interfering with data whilst another user is analysing it etc.
Am I missing something here?
Regards
EdHi, Ed.
You're right, Planning has so many parts to be developed. PU promotion doesn't prevent users from running BR's
If you're really worry about it you can think up a workaround.
You have to create a new form having design simular to a PU hierarchy. User have to enter data (suppose 1) in intersection of Scenario, Version, Entity and Account (if used in PUH) All others dims member should be Begbalance, Product n/a etc.
All BR's you need to prevent from executing while PU is approved, freezed or just owned by the reviewer or in other cases you think about should include extra code before original calculation takes place. You simply check the value of 1 in all calculated PUs in current BR and throw an error if meet it (@RETURN with some justified text message)
So when one user (lets say first owner) has finished entering data he goes to the form discussed above and enters 1 for related PU. You can build a task list having such steps After that no one can execute BR successfuly
Try this maybe it helps you
Vladimir -
Is "lock orientation" planned anytime soon?
Adobe reader is my utility of choice for reading pdf books but sadly my reading sessions are made very uncomfortable by the auto orientation adjust default feature.
Whats the harm in letting this be under user control?We can only hope so, since we have figured out how to use PNGs as TPIs to do Copyright and Frame overlays as Id Plates, not to mention End Panel images. It would be nice to catalogue them from with in LR.
See
LR Extras Downloads for more on such PNG use.
Don
Don Ricklin, MacBook 1.83Ghz Duo Core, Pentax *ist D
http://donricklin.blogspot.com/ -
BI-IP To track the planning changes after Data Locking
Hi All,
Need your help to design solution for one critical user requirement in IP.
We all know that in CC Planning, every month after certain date we lock the planning tool and freeze the data. But on exceptional basis, we might require to unlock planning tool to allow users to do some changes in planning data.
User wants to track these changes and report it out. Is there any standard functionality that SAP-IP has provided to track these kind of changes? If not what is the best way to achieve this?
Appreciate any input regarding this ! Thanks a lot!
SomHi,
You need to have additional characteristics for User & Date in your RTP to record who changed when and what plan record.
Then you can create a characteristic relationship of type 'Exit Class' to derive User Id(last changed by) and the date(last modified).
Itu2019s not necessary to include User-ID and Date in any of the aggregation levels, but the Source Characteristic(Company code may be in your case) based on which the values are derived for User-ID & Date, must be present in each aggregation level.
Then create a custom class say ZCL_LOC_CR_LINE_ITEM by taking class CL_RSPLS_CR_EXIT_BASE as super class and then redefine the method DERIVE of interface IF_RSPLS_CR_METHODS in your class.
You can write following code in your method DERIVE:
CLEAR e_t_mesg.
FIELD-SYMBOLS: <l_chavl> TYPE ANY.
ASSIGN COMPONENT '/BIC/ZUSERID' OF STRUCTURE c_s_chas TO <l_chavl>.
<l_chavl> = sy-uname.
ASSIGN COMPONENT '0DATE' OF STRUCTURE c_s_chas TO <l_chavl>.
<l_chavl> = sy-datlo.
This will solve your purpose.
Regards,
Deepti -
Need to Lock Planning Area by using Enque and Deque Technique.
Hi Experts,
My problem is I have to lock the planning area till the Batch program complete and I have to unlock the planning area once the batch job is completed. if any one of the user is login i.e. accessing planning book while batch job is running then batch job getting Failed.
we can check the lock in SM12
We have a custom program to send message to user to come out of the planning area but it does hit upto the mark.
we are expecting some solution to lock and unlock the plannig area till the job completes.
I was using some functional module to lock the planning area but it does not helped us. Kindly provide some help to acheive this situation
The below functional modules I used to lock the Plannning area ZDP31. I have given the input while executing the Function module PAREAID = ZDP31 (our Planning area Name)
1) ENQUEUE_/SAPAPO/E_PAREA
2) /SAPAPO/TS_DM_LOCK
3) /SAPAPO/TS_DM_UNLOCK_NEW
4) /SAPAPO/TS_DM_LOCK_UNLOCK
Please help me its in high prioity for us.Hello Balaji,
Here are the needful function modules where you can use to lock the PA by enque & deque technique..
a) ENQUEUE_READ Pass Planning Area value as GARG and PAREAID as GNAME to get information about lock entries for selected planning area. GUNAME corresponding to GNAME = /SAPAPO/DM_PAREA_LOCK and GOBJ = /SAPAPO/E_PAREA entries provides user id (s) locking the planning area displayed in the field GTARG.
b) TH_POPUP to send out popup messages to the users locking the Planning Area.
c) TH_DELETE_USER to kick off users (GUNAME) who have been locking the planning area.
I hope this helps...
Cheers !!
Regards
Rahul Chitte -
Organizational Management Plan Version Lock
While planning personell costs we use several plan versions in addition to our active version 01. We would like to block or lock access to the plan versions once our budget is complete. Does anyone have any ideas on locking OM versions?
Thanks for the help,
EricHi Eric,
I think it is not possible to lock the plan version but work around might be to create two separate authorisation roles. One with PLOG authorisation objects to your plan version with all relevant change function codes INSE, DEL, AEND etc and then another role with only DISP and LISD for the same plan version. When the plan version should be locked role to change could be removed and display role assigned.
Maybe bit more maintenance than just flicking a switch but should work if there is no other solution.
Regards,
Saku -
Plan version locked for certain users
Hi,
Could someone help me regarding this issue.
We would like to lock a plan version for some users and some users have to be able to work with that plan version.
Thanks in advance.
Best regards.Hi Judit,
Customizing: Controlling / general controlling / organizaion / maintain versions:
Choose the version you want to work with, tick "controlling area settings" and in the rigth screen, scroll to the right until you view the field "AUGR".
Read F1-help for this field and contact the authorization responsible to go on with that.
best regards, Christian -
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 -
Locking plan versions , plant wise
Hello experts,
Requesting your expert advice in the below requirement of ours.
The requirement is to plan cost using plan versions, period wise. This is achievable in CJR2.
Now when the user is planning cost for the next month, he would like to lock that plan version
for the previous month. This also can be achieved by T-code OKP1.
But the users are restricted to each plant. So the users in plant XXXX, if he locks the CO version say AAA
the other users in plant YYYY can still be able to plan with version AAA for that period.
In one statement, this is like locking planning version by plant wise.
Do we have any options available for this in SAP.
Or any other suggestions to carry out cost planning , plant wise.
Thanks in advance.
Regards
SandeepI think you need to go for a Z development.
Create one Z table and maintain the combination of user and plant.
Use a Z tcode for cost planning where you give plant as selection field and also use authorization object to check whether th user is available in the Z table maintained. and also update another Z table where plant status locked after cost planning.
Maybe you are looking for
-
Purchase order price and Invoice price is different
Hi Experts, We have scenario like EUR Exchange rage Soudhi currency PO on 25.05.2008 -- 342000 * 5.91620 = 2023340.4 GR on 26.10.2008 -- 342000 *
-
How do i stop iPhoto from automatically opening when I connect my iPhone?
Hi, well as the title states: How do i stop iPhoto from automatically opening when I connect my iPhone? It's getting on my nerves... Thanks.
-
Error when installing the ERP6.0 SR3 in windows MSCS
Hello Gurus, When i tried to install ERP 6.0 SR3 in windows MSCS+ oracle, I met a issue. 1. oracle + OFS is installed. 2. ASCS is installed. 3. first MSCS node is configured 4. then i try to install the DB instance, according to the installation guid
-
Error in Property GetHistoryInsertItems
Hello, I need to load information to the component DEPEND_BENEF. But I have this error message: (91,11) - This property is not valid {ET_DEPEND_BENEF_CI.GetHistoryInsertItems}. (91,11) (0,0) I need the correction mode for load multiple rows for an em
-
hi i currently have iphone 4 running ios 6.1 i am losing signal quite a lot the phone seems to be searching constantly, i have tried swapping the SIM and putting it into another phone and it does the same any one any idea's?