CRM_ORDER_SAVE. how to identify the lock after commit work and save

I am updating a status, using crm_order_save , then commit work and wait and crm_order_initialize before i update the status to next status for the same item.
I am facing an error when i change the same item status to another status i get error some times cannot change the error.. if i keep commit work an save and wait up to 20 seconds it works ..
Is there any way to look for the lock object for the header guid.. instead of putting wait up to 20 secs.
what is the FM or lock object to check the order is not committed or still system is updating or its in middleware processing.

hi,  I remeber the there is a function name like  CRMXXDocumentXXlock  which is be called in standard program to maintain order.
I can't login a crm server, can't offer you the accurate name, you can do a search in system.

Similar Messages

  • How to identify the locks in oracle db objects? i dont have access to check

    How to identify the locks in oracle db objects? i dont have access to check the v$lock or v$ objects. i dont have dba access. what are the symptoms for table, row or objects lock? how v guess it would be lock?
    Thanks in advance friends..

    I believe you will have to call your DBA on the phone in that case.
    You can query something with a select ... for update nowait.
    If it raises an exception you can handle it within a when section.
    -- Running in one session
    SQL> create table t1 as select 1 col1 from dual;
    Table created
    SQL> select * from t1 for update nowait;
          COL1
             1
    SQL>
    -- now running in a different session
    SQL> select * from t1 for update nowait;
    select * from t1 for update nowait
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    CURSOR cur1 IS
      3      SELECT col1 FROM t1 FOR UPDATE NOWAIT;
      4    v_col1 NUMBER;
      5    locking_error EXCEPTION;
      6    PRAGMA EXCEPTION_INIT(locking_error, -00054);
      7  BEGIN
      8    OPEN cur1;
      9  EXCEPTION
    10    WHEN locking_error THEN
    11      dbms_output.put_line('Busted locking my rows!');
    12  END;
    13  /
    Busted locking my rows!
    PL/SQL procedure successfully completed
    SQL> Now, surely you won't be able to tell anything else other than there was something locked there.
    But none of the details you would find in the views.

  • Data lock even after commit work and wait

    Hi Experts,
    Data is still locked even after commit work and wait step has run, which made me very confusing.
    The following are the details:
    These steps are in a FOP.
    Step1: Change Move-in Date of a move-in document in background after get the new move-date from user.
    Step2: Run BAPI_TRANSACTION_COMMIT and pass the wait parameter.
    Step3: Bring move-in document transaction to the user for other information changes.
               After the user confirms the changes and presses SAVE button, error message shows that the move-in document is still locked. But no other transaction is opened for the specified move-doc changing.
    Does any1 have any idea on this? How can I solve this issue?
    Thanks in advance and points will be rewarded.
    Vincent

    Hi,
    Normally every BAPI will work on Update task so that the data will be updated once the commit work is done. For the commit work, we will normally call the bapi function module - BAPI_TRANSACTION_COMMIT. It should work.
    In your case, just try the below option:
    Please call the bapi - BAPI_ACC_DOCUMENT_POST & BAPI_TRANSACTION_COMMIT in a seperate function module and call this function module in your program (just pass the import / export / table parameters accordingly).
    For the information, I had once a similar type of issue and it got solved once I did like the above.
    Regards,
    Selva K.

  • HT1212 i have a iphone 8g and the lock button doesnt work and i forgot my password and i was wondering if anybody can help me??

    i have a iphone 8g and the lock button doesnt work and i forgot my password and i was wondering if anybody can help me??

    You will need to restore your iPhone, take a look at this link, http://support.apple.com/kb/HT1212

  • How to identify the emergency orders in STO and Sales Order

    Hi,
    kindly let us know is there any field in header details of STO and Sales Order where we can identify the emergency orders,
    In our STO Process we are creating more STO's from one warehouse to one Store,but in that orders we have some of the orders are emergency order's.
    Note:-if we create new order type then we can deference the orders but as per the business requirement we need to give same order type. 
    Thanks & Regards,
    Murali.M
    +91-9321526563.

    Thanks

  • How to identify the path of Inventory Directory and credentials

    Hi Experts!
    I have installed Oracle 10g 10.2.0 on a dedicated centos 4.4 Box and everything running fine. The problem is at the time of installation i have given the home directory path /u01/app/oracle/product/10.2.0/db_1 of user ORACLE and in the first step and in the second step i havent noticed the Inventory directory credential path. I just clicked on
    next and completed the installation. Could anybody help me to identify the default path which i forgotton to change at this step.
    Thanks in advance
    Regards
    Kalyan Chandra.M

    Check out /etc/oraInst.loc file.

  • How to identify the component is an assebly and Phantom component

    Hi ,
    I am working on BOM. If You see the transaction cs03 (go with any bom  ) inside we can see the componenets......
    These componenet having the check boxes for Assembly and Phantom componenet. If the check box is cheked we will consider as that component is Assembly Or Phantom....
    My question is how to identy this at table level..i don't see any field related to these check boxess in SRPO , STKO and MAST.
    Please do need full.
    Regards,
    Raja.K

    Hi Raja,
    If you can handle ABAP, please use FM 'CS_BOM_EXPL_MAT_V2' to explode your Bom
    Write something like this :
    *     Tables  "call CS_BOM_EXPL_MAT_V2 "
    DATA: BEGIN OF stb OCCURS 0.
            INCLUDE STRUCTURE stpox.
    DATA: END OF stb.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          auskz                 = ' '
          capid                 = 'PP01'
          datuv                 = sy-datum
          emeng                 = '1.000'
          stlan                 = '1'
          stlal                 = mast-stlal
          mtnrv                 = matnr
          mehrs                 = 'X'
          mmory                 = '1'
          stpst                 = '0'
          werks                 = werks
        IMPORTING
          topmat                = selpool
          dstst                 = dstst_flg
        TABLES
          stb                   = stb
          matcat                = matcat
        EXCEPTIONS
          material_not_found    = 4
          no_plant_data         = 8
          no_bom_found          = 12
          no_suitable_bom_found = 16.
      SORT stb BY idnrk.
    The field which will indicate you wether your component is either an Assembly or a Phantom is stb-dumps ( EQ space , for assembly ).
    Hope this helps,
    Erwan

  • How to identify the required version of SAPINST and other SAP software?

    I have a dell poweredge machine with quad processor .
    On this we installed win 2k3 std x86
    when I go to my computer and properties, it shows me intel processor, and win 2k3 x86_64
    Then I download the IA64 verison and X86 versions of PI71 and related Oracle software.
    I tried installing Oracle 10g IA64 and it showed me an error message
    Then i installed I386 Oracle 10g and it installed successfully.
    While installing Pi71 software, it started promptint me that Oracle software is not found.
    So after a couple of hours of struggle and research< i installed AMD64 Oracle 10G and this got recognized by the PI71 software.
    My questionw rt the abvoe is - when my computer says it has x86_64 version of OS on an intel xeon processor, how did the AMD64 got into picture?
    So how to correctly identify which version of SAP software to download?
    Please advise - I am novice regarding OS and related issues...
    Thank,
    Ven

    IA64bit means Intel Itenium Processor.
    AMD64=(X64bit) means Intel Core 2 Duo
    This X64bit technologies invented by AMD so its called AMD64.
    Regards,
    Nikunj Thaker

  • What is the use of commit work and rollback work

    hao friends,
    what is the use of commitwork and rollback work where we can use these open sql statements .
    thanks,
    anji

    hi all
    i have written the following code in my development system to change the records of my database.
    SELECT * FROM zyikostl INTO TABLE itab.
      LOOP AT itab INTO wtab.
        tabix = sy-tabix.
        DO.
          READ TABLE itab INTO ktab WITH KEY kostl_alt = wtab-kostl_neu.
          IF sy-subrc = 0.
            wtab-kostl_neu = ktab-kostl_neu.
            MODIFY itab FROM wtab INDEX tabix.
            CONTINUE.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
      ENDLOOP.
    MODIFY zyikostl FROM TABLE itab.
    In the development system i have only few records its working fine,but when it is been moved to test system there are 2500 records in the database so the report is taking much time(more than 5 hours )
    i sthere any solution for this ....
    thanks,
    vaasu.

  • How to identify the data mismatch between inventory cube and tables?

    Hi experts,
    i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatch

    Hi
    U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
    Thanx & Regards,
    RaviChandra

  • How to identify the device is locked or not?

    how to identify the iphone is locked or not

    Call AppleCare, give them the model and serial number and ask them if it is locked and if yes, which cell carrier it is locked with.

  • How to identify the related job, after sheduling a infopackage?

    Hi,
       Anybody explain that how to identify the related job after scheduling a infopackage in the BW system?

    Hi Aditya,
    Goto SM37->Search Job BI_BTCH*
    Job Prefix.
    http://help.sap.com/saphelp_nw70ehp1core/helpdata/en/da/0318025d64a84b94542641ed77ee74/content.htm
    Hope it helps.
    Thanks and Regards,
    MuraliManohar.
    Edited by: Muralimano on Jun 5, 2011 9:38 AM

  • How to do the Record Level commit in DB Adapter

    Hi,
    I am using Oracle JDeveloper 11.1.1.6.0 and SOA server 11.1.1.6
    Problem Description_
    I am fetching multiple records using File Adapter in BPEL process, After Fetching I am writing those records in Database using Database Adpter.
    If any error records comes the database adpater rollback the complete transaction and none of the records is inserted into the Database.
    **Can anyone please tell me how to do the record level commit in Database Adapter so that All the success records can be inserted into the database except the Failure record*.*
    I dont want to call the Database adpater in loop multiple times to insert each record as it hampers the performance.
    Thanks in Advance
    Sunil

    I believe you are polling a file and inside the BPEL, inserting the records into the database using the database adapter.
    so according to your requirement you can do any one of the following things...
    1. Instead of using the database adapter for inserting the record, you can call a Stored Procedure which it takes the record fields as input and it inserts the record into the table and does a commit at the end. when you follow this approach, make sure your data source is defined as Non-XA, otherwise you will face some errors.
    2. If you are using the database adapter insert operation only, inside the BPEL, for the partnerlink of the database adapter, go to the properties and for the property "idempotent", give a value of false.
    by doing this, what happens means, after calling the database adapter from BPEL through the invoke activity, the transaction is committed and from the next activity i mean after the invoke, a new transaction will be started but it will use the same thread though
    3. If you are using the database adapter insert operation only, inside the BPEL, for the partnerlink of the database adapter, go to the properties and for the property "NonBlockingInvoke", give a value of true.
    by doing this, what happens means, the database adapter insert operation will happen in a separate transaction and it will be committed, inside the BPEL after the invoke activity, a new thread and transaction will be started
    4. Also, if you are using the database adapter insert operation, don't follow the steps as mentioned in either 2 or 3, you can simply put a dehydrate activity after the invoke activity.
    According to your requirement, all the four approaches works. But my personal feeling, don't go for 4, instead 1 is better, 2 or 3 is also good.
    Hope this helps,
    N

  • How to identify the DDL changes ?

    Hi all,
    How to identify the DDL changes done to the database ?
    By triggers only Or we can use Logminer also OR
    SELECT * FROM USER_OBJECTS where object_type = 'TABLE' order by LAST_DDL_TIME desc;
    OR
    is there any other options are available ?
    Thanks in advance,
    Pal

    Something from asktom might help
    tkyte@TKYTE816> create or replace trigger ddl_trigger
    2 after create or alter or drop on SCHEMA
    3 declare
    4 l_sysevent varchar2(25);
    5 l_extra varchar2(4000);
    6 begin
    7 select ora_sysevent into l_sysevent from dual;
    8
    9 if ( l_sysevent in ('DROP','CREATE') )
    10 then
    11 if l_sysevent = 'CREATE'
    12 then
    13 begin
    14 select 'storage ( initial ' || initial_extent ||
    15 ' next ' || next_extent || ' .... )'
    into l_extra
    16 from all_tables
    where table_name = ora_dict_obj_name
    17 and owner = user;
    18 exception
    19 when no_data_found then null;
    20 end;
    21 end if;
    22
    23 insert into log
    24 select ora_sysevent, ora_dict_obj_owner,
    25 ora_dict_obj_name, l_extra
    26 from dual;
    27 elsif ( l_sysevent = 'ALTER' )
    28 then
    29 insert into log
    30 select ora_sysevent, ora_dict_obj_owner,
    31 ora_dict_obj_name, sql_text
    32 from v$open_cursor
    33 where upper(sql_text) like 'ALTER%' ||
    34 ora_dict_obj_name || '%'
    35 and sid = ( select sid
    36 from v$session
    37 where audsid=userenv('sessionid') );
    38 end if;
    39 end;
    40 /

  • How to find the ME29N 'USER EXIT' when our save the release PO after.

    How to find the ME29N 'USER EXIT' when our save the release PO after.
    which user exit will be used?
    thanks.
    alex.

    Hi,
      process :
        go to tranx code :   ME29N ,
           System---->Status , here copy the program name (SAPLMEGUI),
         go to abap editor and specify the program name SAPLMEGUI and find the package "ME".
         tranx code : CMOD ,  Utilites--->Sap Enanchement,
                                         specify the package name : ME
                                          and execute, displays a list of exits ,
                                 and find out our suitable exit based on requirement.
    check these :   EXIT_SAPMM06E_021
    reg
    Siva

Maybe you are looking for

  • Error while posting confirmation for limit PO

    Hi Experts, we are having a standalone scenario(SRM 7) and the issue is as mentioned below The situation is that the PO is a limit order with 2 line items. The first line item is complete and has been closed off with the u201Cno further confirmation/

  • Cleanning Planning Levels

    Hi Experts, We have in ower environment server a lot of  planning levels which were made only for test.  How can we identify easly and quicly, the planning levels-planning function that are involved/included in any sequence and which are not involved

  • Re: Install problems with Nitrox 2.0

    Hi Paul, Are you saying that inspite of having <JDK 1.4.2_03>/bin in your system PATH variable you are not able to install? It would also be helpful if you can send installer log, step to get them. * launch installer and then hold CNTRL key untill yo

  • Where do I find rental movies in ITunes to load onto 80 gig classic

    Hi all, For the love of me I cannot find where to download these rentad movies that everyone is talking about???? IS there a link to all of this???? thanks hope to here from anyone that has done this. cheers Mick from QLD Aust

  • Quicktime Movie HELP!!

    I am running Final Pro 6 and have a DVCPRO HD 1080/60 timeline. When I export to quicktime movie, it plays fine in the quicktime player on the Mac. However, when I transfer the file over to my PC, where I am running After Effects, it does not play in