Lock for data in data partition/data slice

Hi
we are on SAP BI IP and we have the following scenario.
We defined a planning web tempate "WT AA0"  based using char Version with value "AA0".
User A plans data and then "locks" them using a data slice/partition.
User B  works a planning web template "WT AA1" where char Version has value "AA1" ; as soon as user B runs a planning function (based on custom class using IF_RSPLFA_SRVTYPE_IMP_EXEC) and user A opens web template "WT AA0" , user B is locked.
Now I have two questions:
1. is correct that data "locked" from partitions/data slice are used in lock?
2. if use in the class the if IF_RSPLFA_SRVTYPE_IMP_EXEC_REF, and change the filter on char Version (using only AA1), can I avoid this lock??
many thanks in advance.
S.

Hi Stefania,
just for clarification: data slices have nothing to do with transaction data locks.
Data slices protect records from being changed at run time. Data slices can be changed at run time, e.g. in an exit implementation. This is why data slices have no effect on transaction data locks.
Transaction data locks ensure that the set of data records described by filter of a query or planning function can only be changed by one user (concurreny locks) in one user session. The filter used at run time to set the transaction data locks will be determined at run time:
- query: the filter of the query and restricted key figures with the 'lock relevant setting' (cf. Query Designer) will be used to compute the filter to be used to set the lock
- planning function: the filter used in the configuration will be used to set the lock; reference data will not be used to set exclusive locks
In your example the queries use different versions in the filter, so two users using these 'their' version will not lead to a lock conflict. If a planning function needs version AA0 as reference to change data for version AA1 you have to use AA0 as reference data and only AA1 in the filter of the planning function.
Regards,
Gregor

Similar Messages

  • Period is locked for new data

    Good Morning,
    Anyone get this error before?
    -4013:Period is locked for new data
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBOOrder(NPOrder order)
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBO(NPQueueObject qData)
       at NetPoint.SynchSBO.SynchObjectBase.Synch()
    Haven't received it before today, of course, the day we go live.  The period we are posting to is not locked for new data and it seems to be limited to one customer only...  Any immediate thoughts?
    Thanks so much,
    Kristen

    OK, I have it working for the moment, but I am very curious about this.  I went back in and selected the Install Plugin button 2 more times just to be sure, I restarted everything and they went through fine.  Could it be that the Plugin installed partially before?  It didn't seem so because other orders were flowing both ways and just certain ones were seeming to get stuck...  Then more gradually started failing until none were passing through.  This has been working seemlessly in this environment for weeks until of course go live today, so I am at a loss.  Probably just that one piece of excitement for Go Live that we were missing.  All is well.  James, thanks for responding.

  • Period is locked for new data [Message 131-107]

    Hi all,
    One of my client was faced this problem "Period is locked for new data [Message 131-107]" when they do Period-End-Closing for Year 2008 in SAP Business One 2007A Patch 42.
    Can anyone help me?
    Thank you.
    Best regards,
    danny

    Hi Danny,
    Check the link
    Period End Closing
    *Close the thread if issue solved
    Regards
    Jambulingam.P

  • Period locked for new data on PO an SO

    Since last week when we try to update a PO anr SO we got this Message
    PERIODE LOCKED FOR NEW DATA.
    For exemple we change the remark feild only and we got this message.
    Since PO and SO are not impacting any gl entry this is not normal. on the DEMO DB i can update a SO or PO when the perio is close without any problem

    Hi Roy,
    First you have to change if your posting perioud is close.
    if close then choose your posting perioud then in your window left side a sign of triangle click on.
    after change ur status  and after u are able to do changes in previous posting perioud.
    this may help u...
    Thanks.
    JRAJPUT

  • USMM :- data locked for transfer

    Hi All,
    I am doing system measurement using USMM.
    But I am getting error "Measurement Data locked for Transfer"
    I tried note 412391.
    But its not working acc. to the note
    I m getting a to do task in transaction SDCCN for early watch alert
    I m not able to delete the table entries as mentioned in the note
    I m using release 640
    Kindly help me in this problem
    Thanks
    Tajinder

    closing the thread

  • Dataload error after refresh partitionned data

    Hi,
    I need some help about a problem :
    I have a replication partition and in the process, there is a dlr to load some data to the target cube after a process of replicated data. I have this error :
    ERROR - 1003069 - Data Load Error: No data is loaded as the user does not have permission.
    The user is used for creation of replication and for dlr, it has "Provisionning Manager" rights for the 2 cubes. Why there is a lock in the target cube?
    What's wrong with that?!!
    Xsay

    Provision manager just have rights to provision other users. give the user the amin rights

  • Selecting data from Multiple Partitions in a single select stmt.

    Hi all,
    My Database is very large & my tables are partitioned.
    My question is:
    1) If my data is spread across multiple partitions, is there any way to select data from multiple partitions in a single query?
    If we dont mention partition name also it works fine, but perofmance wise it will be very slow. (Using EXPLAIN PLAN)
    (Note:I dont want to make use of Union concept, i want to do it in a single select statement)
    For ex:
    qry1.sql:
    select empno from emp_trans partition (P012000)
    This above query(qry1.sql) will work fine.
    qry2.sql:
    select empno from emp_trans partition (P012000,P022000)
    The above query(qry2.sql) will return will return the following error:
    ORA-00933: SQL command not properly ended
    If anybody has any solution for this, pls mail me immediately.
    Thanks in advance
    bye
    null

    All my queries are dynamically generated. All my tables are also indexed partition wise based on date field. My question is, if i want to mention multiple partition names at the time of generating my query(select), then with parformance will be good. I have refered some books, inthat what they say is to use UNION concept, i dont want to use that, instead i want in a single select statement.
    Thaks for ur reply
    Bye
    null

  • Unable to delete data from a partition

    Hi,
    Unable to delete data from a partition
    I am using the command as:
    ALTER TABLE TEST DROP PARTITION DATE_20090820090000
    Its giving 0 rows deleted.Bu there are 200 rows for the Partition.
    The partition is getting deleted but the data remains.
    I want a command where the data in the partition also to be deleted along with partition.
    Any help will be needful for me

    SQL> CREATE TABLE range_part (
    prof_history_id NUMBER(10),
    person_id NUMBER(10) NOT NULL,
    organization_id NUMBER(10) NOT NULL,
    record_date DATE NOT NULL)
    PARTITION BY RANGE (record_date) (
    PARTITION yr0 VALUES LESS THAN (TO_DATE('01-JAN-2007','DD-MON-YYYY'))
    PARTITION yr7 VALUES LESS THAN (TO_DATE('01-JAN-2008','DD-MON-YYYY'))
    PARTITION yr8 VALUES LESS THAN (TO_DATE('01-JAN-2009','DD-MON-YYYY'))
    PARTITION yr9 VALUES LESS THAN (MAXVALUE) );
    Table created.
    SQL> INSERT INTO range_part VALUES (1, 1, 1, SYSDATE-720);
    INSERT INTO range_part VALUES (2, 2, 2, SYSDATE-360);
    INSERT INTO range_part VALUES (3, 3, 3, SYSDATE-180);
    INSERT INTO range_part VALUES (4, 4, 4, SYSDATE);
    1 row created.
    SQL>
    1 row created.
    SQL>
    1 row created.
    SQL>
    1 row created.
    SQL>
    SQL> commit;
    Commit complete.
    SQL> SELECT * FROM range_part;
    PROF_HISTORY_ID PERSON_ID ORGANIZATION_ID RECORD_DATE
    1 1 1 31-AUG-2007 05:53:22
    2 2 2 25-AUG-2008 05:53:22
    3 3 3 21-FEB-2009 05:53:22
    4 4 4 20-AUG-2009 05:53:22
    SQL> SELECT * FROM range_part PARTITION(yr7);
    PROF_HISTORY_ID PERSON_ID ORGANIZATION_ID RECORD_DATE
    1 1 1 31-AUG-2007 05:53:22
    SQL> alter table range_part drop partition yr7;
    Table altered.
    SQL> SELECT * FROM range_part PARTITION(yr7);
    SELECT * FROM range_part PARTITION(yr7)
    ERROR at line 1:
    ORA-02149: Specified partition does not exist
    SQL> SELECT * FROM range_part;
    PROF_HISTORY_ID PERSON_ID ORGANIZATION_ID RECORD_DATE
    2 2 2 25-AUG-2008 05:53:22
    3 3 3 21-FEB-2009 05:53:22
    4 4 4 20-AUG-2009 05:53:22

  • Booting Windows 8.1, blinking underscore problem - with data already on partition.

    So I updated my OS X software from the App Store (just a newer version of Yosemite than before) not too long ago.  I wanted to boot into windows because I had certain data and applications on there I needed that have no version for Mac.  So I tried booting, but when I boot the windows partition, nothing goes beyond the blinking underscore.  I tried researching the problem; people have had the issue with the blinking underscore, but that is when they tried installing windows [there was no data on the line].  I however installed windows quite a while back and it is stacked with data that is pretty important for me.  If there was a way for me to transfer the data to an external drive or the Mac partition as backup, I'd gladly just re-install windows.  But there's data, I need the data on that partition.  I know it's 100% possible to get the data, but I'm not sure anyone has found a way yet[?].  I've seen solutions that require things like gdisk, but the problem where that stuff would be required is a little different from mine; their partition wouldn't show as being bootable at all, so I didn't try that method (I'm just being cautious, Macs aren't my specialty ) However, in Disk Utility, the partition is labeled as disk0s4, which is similar to those other problems people have had in the past.  If possible, can somebody point me in the right direction, or maybe even walk me through it?  I'd greatly appreciate it.  And if my problem does get solved, can someone suggest a safe way of updating OS X without it corrupting my data on other partitions?

    Well the only update other than Yosemite would be Autodesk Sketchbook from the app store, but I doubt that it would have to do with bootcamp, so no, there were no updates other than a new version of Yosemite.  And have testdisk, but do I need to search for lost partitions?  That's an option I can see here. If I need to look specifically for NTFS headers, then maybe I'd needs steps on how to do that.
    EDIT: I started running the process to look for lost partitions, and these are the first things that came up:
    0 D HPFS - NTFS           2292342621 2292363587      20967
      HPFS - NTFS           2292342621 2292363587      20967
    check_FAT: can't read FAT boot sector
    Invalid FAT boot sector
    0 D FAT32                 3674955484 3685476902   10521419
      FAT32                 3674955484 3685476902   10521419
    check_FAT: can't read FAT boot sector
    Invalid FAT boot sector
    0 D FAT32                 2842018750 6075856388 3233837639
      FAT32                 2842018750 6075856388 3233837639
    Invalid NTFS or EXFAT boot
    0 D HPFS - NTFS            987918603 1334613816  346695214
      HPFS - NTFS            987918603 1334613816  346695214
      HFS                   1334727563 1408127882   73400320
      Stop
    Is this what TestDisk is supposed to be trying to find anyways?
    EDIT 2:  It stopped and showed me this message.  My total hard drive space is 750 GB including all partitions.  I honestly have no Idea why the 4000 and 3000 GB are showing up
    Disk /dev/disk0 - 750 GB / 698 GiB - 1465149168 sectors (RO)
    The harddisk (750 GB / 698 GiB) seems too small! (< 4144 GB / 3860 GiB)
    Check the harddisk size: HD jumpers settings, BIOS detection...
    The following partitions can't be recovered:
         Partition               Start        End    Size in sectors
    >  FAT12                  962821072 2746820174 1783999103
       FAT32                 1249202674 1683653752  434451079
       HPFS - NTFS           1465147384 2692806640 1227659257
       HPFS - NTFS           1465147391 2692806647 1227659257
       HFS                   1465149124 1466418659    1269536
       FAT16 LBA             1789599502 6051012398 4261412897
       HPFS - NTFS           1839250623 4694089744 2854839122
       FAT16 <32M            2086827920 2365890772  279062853
       HPFS - NTFS           2290244103 2290265101      20999
       HPFS - NTFS           2292342621 2292363587      20967
    [ Continue ]
    913 GB / 850 GiB

  • Retrieve partitioned data in Oracle 8i.

    I have the following query.
    I want it to retrieve data for 24 months (2 years)
    I have to run the query for 24 partitions each partition having one month data,
    this query is working on one month data only 200705.
    abc>SELECT r.account_id,
    2 p.presc_num,
    3 spm.product_id,
    4 p.month,
    5 t.best_call_state,
    6 sum(p.trx_count)
    7 FROM rlup_assigned_account r,
    8 temp_presc_num_TEST t,
    9 retail.prescrip_retail partition (PRESC200705) p,
    10 sherlock.sherlock_product_mapping spm
    11 WHERE spm.product_id like '056%'
    12 and t.CLIENT_ID='934759'
    13 and spm.mds6 = p.product_id
    14 and t.CLIENT_ID = p.presc_num
    15 and r.ndc_pyr_id = p.payer_plan
    16 and t.best_call_state = r.ST
    17 GROUP BY r.account_id,
    18 p.presc_num,
    19 spm.product_id,
    20 p.month,
    21 t.best_call_state
    22 ;
    ACCOUNT_ID PRESC_NUM PRODU MONTH BE SUM(P.TRX_COUNT)
    2131 4759 0512 01-MAY-07 1
    2131 7599 0567 01-MAY-07 3
    2131 9359 0601 01-MAY-07 4
    If I access partition data, I do not see any partition created in the schema:
    connected to abc schema:
    SQL> SELECT table_name,
    2 partition_name,
    3 high_value,
    4 num_rows
    5 FROM user_tab_partitions
    6 ;
    no rows selected
    Q1. How do I know what are those 24 partions (apart from using user_tab_partitions),
    Q2 How do I use them in the query specified above to retrieve 24 month data from 24 partitions.

    ... and in answer to question 2, don't specify a partition clause. In fact I would avoid using the partition clause at all and filter on the appropriate month - let the optimizer do the work.

  • Inserting data into a partition.

    Hi,
    I am inserting 10 million rows into a partition and its consuming lot of time (>24 hrs).
    I am using simple insert statement.
    Is there any better way to insert data into a partition.
    Thanks for your help in advance
    Thanks
    Manju

    Hello, this has nothing to do with the fact that the target table is partitioned.
    One thing you could try first-off, is a Direct Path Insert, i.e.,
    INSERT /*+ APPEND */ INTO part1
    SELECT...That will speed it up, but remember to do a COMMIT directly after INSERTing.
    Are you sure that the SELECT isn't taking a long time in itself?
    What is the value of your cursor_sharing database parameter?

  • Materialized view on a Partitioned Table (Data through Exchange Partition)

    Hello,
    We have a scenario to create a MV on a Partitioned Table which get data through Exchange Partition strategy. Obviously, with exchange partition snap shot logs are not updated and FAST refreshes are not possible. Also, this partitioned table being a 450 million rows, COMPLETE refresh is not an option for us.
    I would like to know the alternatives for this approach,
    Any suggestions would be appreciated,
    thank you

    From your post it seems that you are trying to create a fast refresh view (as you are creating MV log). There are limitations on fast refresh which is documented in the oracle documentation.
    http://docs.oracle.com/cd/B28359_01/server.111/b28313/basicmv.htm#i1007028
    If you are not planning to do a fast refresh then as already mentioned by Solomon it is a valid approach used in multiple scenarios.
    Thanks,
    Jayadeep

  • DATACOPY with partitioned data source

    Hello,
    I am actually working on the Hyperion Essbase EPM 11.1.2
    I am trying to perform a Datacopy command in a HBR.
    Data source are partitioned with a transparent partition.
    This datacopy do not work. The HBR is really fast but when I retrieve data no data are copied.
    I am wondering if this is possible to perform a datacopy command, in a HBR with partitioned data source.
    I have managed to perform this datacopy throw a HBR using the command:
    SET CREATEBLOCKONEQ
    Target = Source;
    But this method is really long.
    Thanks for your answer,
    Arthur.

    Hi
    Make sure that you have relevant Role & Authorization at Quality/PRS.
    You have to Transport the Source Cube first and then Create a Generate Export Data Source in QAS. Then, replicate data sources for BW QAS Soruce System. Make sure this replicated Data Source in QAS. Only then can transport new update rules for second cube.
    Hope it helps and clear

  • SharePoint Library for Large Amounts of Engineering Data

    We are currently using traditional project directory folders for large projects with sometimes tens of thousands of documents. 
    We are planning on migrating the data to SharePoint and the path forward in unclear.
    Initially it was recommended to use a library, not numerous folders, to contain the data so that searching of data in improved. 
    That sounded great.  The 1<sup>st</sup> project used to pilot this for other project is divided into 20 different modification packages. 
    A library category was created for MODS with selectable options of the 20 mod package names and “No Defined” (default value). 
    Some data items are shared between more than one MOD so this category can have more than one assignment.
    When we looked at the directory structure in place we found no consistency in folder names, no consistency in directory structure. 
    Many folders have 5 or 6 (or more) levels of subdirectories. 
    Ideally we want no more than 4 or 5 categories of meta data to define all data. 
    Mapping from chaos into a comparatively small number of categories is daunting.
    When searching this forum I find that libraries should be limited to 2,000 items. 
    There are tens of thousands of items in our pilot project. 
    Surely someone somewhere has encountered this organizational problem. 
    I could use some advice from someone who have been there before.

    John,
    The limit of 2000 is not a hard limit, the actual no of items you can store in a list is 30,000,000. however more item would have impact on performance on rendering and lock on the SQL table.
    Also the limit that you have mentioned (2000) is list view threshold limit and  actually it is 5000.
    One important aspect is Boundaries are hard limit, which you cannot exceed and Supported limits are limits based on tests, which can be exceeded but may cause issues.
    Being said that , I would suggest you to check out this link on
    SharePoint Server 2010 capacity management: Software boundaries and limits
    http://technet.microsoft.com/en-us/library/cc262787(v=office.14).aspx
    and explore other ways of optimizing your list
    here are some references that would help you to optimize -
    http://office.microsoft.com/en-us/sharepoint-foundation-help/manage-lists-and-libraries-with-many-items-HA010377496.aspx
    http://technet.microsoft.com/en-us/library/cc262813(v=office.14).aspx
    http://office.microsoft.com/en-us/sharepoint-server-help/sharepoint-lists-v-techniques-for-managing-large-lists-RZ101874361.aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - http://www.SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • View Cube Partitioned Data...

    Hi
    I partitioned my Cube from Jan2010 to Dec2010. Now i want to see its data individually for each partition. Is it possible?
    Thanks...

    check the links in this post.
    Display of data after cube partition
    bottom line : partition are logical features of the cube, not physical. they are not new tables.
    M.

Maybe you are looking for

  • Number of unread mail ios 7

    Yesterday I've updated my iPhone to ios 7. But since then my email badge and all folders in my email is showing the number of the total emails it contains. So I don't see 1 unread email. But 134 unread email. And that's the exact number of email that

  • Thunderbolt Display Connection to a DVI Port video card

    Hi everyone, Im a snob to when it comes to computers and I'm kind of interested to find out if it's possible to connect my 27" thunderbolt display to my DVI port video card of my computer with this device: http://store.apple.com/us/product/H5236ZM/A?

  • Parallelising App server architecture

    Hi: I m fairly new to the J2EE technologies. ( thought I ve been reading about them for the last couple of months or so. ) I m trying to understand how an organisation can scale a J2EE application, when its load increases. Essentially expanding bread

  • Windows forms treeview filtering problem

    Hi, I have a textbox and treeview in C# windows form application. What i want to do is , due to the text data entered in the textbox, the treeview will automatically locate to the entered data dynamically. While i'm  typing , the treeview will refres

  • TS1474 Can't Access Purchased Tunes

    I share my computer with another iTunes user. What does the warning "This computer is already associated with an Apple ID" along with "you cannot auto-download with a different Apple ID for 90 days" mean? How do we each download our tunes