User Lock issue when processing IDOCS

Hi Folks,
We are pushing the data into SAP using IDOCS.During this process some IDOCS are getting failed due to User Lock on shipment header.Anyone here can share their experience in dealing with User Lock issues.
Thanks,
Kiran.

Kiran,
Only one can edit the document, it's standard fucntion. I think No note can resolve this. I can suggest you to run a back ground job very frequently ,which picks these status 51 IDOCs and reprocess. Report is :RBDMANi2
We can use Message class & error message number on selection screen, so that we can make sure that only those idocs which were failed due to Lock problem are taken by the job.
Reddy

Similar Messages

  • BAPI_BUS2001_CREATE , User Locking issue

    Hi,
    I have an issue when using this BAPI_BUS2001_CREATE.
    When i try to upload multiple projects using this BAPI, then sometimes it uploads and sometimes it returns with an error message  u201CProject xxxx is currently locked to user yyyu201D.
    It is not always the case, it uploads most of the time, but it throws this locked error sometimes.
    As per my understanding, the editing mode of the previous Project ceation using this BAPI will not get reflected immediately in runtime tables and throws an error that it is locked by user.
    Can anybody suggest me on how to resolve this issue.
    i'm using correct sequence of BAPI for creating the projects ( followed documentation).
    1. BAPI_PS_INITIALIZATION
    2. BAPI_BUS2001_CREATE
    3. BAPI_PS_PRECOMMIT
    4. BAPI_TRANSACTION_COMMIT ( wait = 'X' )
    5. and  BAPI_TRANSACTION_ROLLBACK , if create bapi or pre-commit bapi retuerns error messages.

    I used this code to wait for the update to happen.
    CLEAR T_ENQ.
    CALL FUNCTION 'ENQUE_READ'
    EXPORTING
       GCLIENT       = SY-MANDT
       GNAME         = 'PROJ_ENQ'
       GUNAME        = SY-UNAME
      TABLES
        ENQ           = T_ENQ.
    IF T_ENQ IS NOT INITIAL.
      WAIT UP TO 5 SECONDS.
    ENDIF.
    CALL FUNCTION 'ENQUE_READ'
    EXPORTING
       GCLIENT       = SY-MANDT
       GNAME         = 'EDIDC'
       GUNAME        = SY-UNAME
      TABLES
        ENQ           = T_ENQ.
    IF T_ENQ IS NOT INITIAL.
      WAIT UP TO 5 SECONDS.
    ENDIF.

  • Inconsistent Errors when processing  IDocs using custom Function Module

    I am encountering a most perplexing error. Here is the situation.
    We have a custom function module to update data in the EH&S system. We are having a bizarre error occurring. This is the basic processing of the function module:
    1. IDoc data is read and loaded into an internal table.
    2. Data is run through a series of checks to determine if the data is valid for entry into the system.
    3. After validation we use function module  C1F2_SUBSTANCES_READ_WITH_REF to read  characteristic data for the  substance. This data is used to validate whether current data exists to allow for loading of the IDoc data. (This is the step where the IDoc is receiving an error even if the data is valid. This only occurs if we are processing a large amount of Idocs and one IDoc contains valid data and another invalid data for the same substance. It occurs even if the Idocs are not processed in sequence.  If individually processed or reprocessed after initial failure they pass. This is what is so confusing!) If it exists, a flag is set and  the data is loaded using function module BAPI_BUS1077_CHANGE to modify the data.
    4. If the flag is set to allow further processing, the function module C1F2_SUBSTANCES_READ_WITH_REF is used again to select different characteristic data for the substance. A similar validation process occurs and if it passes, data is loaded using BAPI_BUS1077_CHANGE to update and BAPI_BUS1077_CREATE to create new data.
    Here is the situation:
    When processing one valid record for one substance, the record loads successfully.  When processing multiple valid records (all are valid) for one substance, they all load successfully.  The problem occurs when attempting to load valid and invalid records for the same substance.  Some times the program successfully loads the valid data (as expected).  Other times, it will not load any records.  It is not consistent!
    The order of IDoc processing does not have an impact on the success of the load.  Whether the valid or invalid record processes first does not have an impact on the success of the valid substance load.
    Does anyone have ANY Idea of what is going on? I am clearing all fields in the function module before processing occurs. I cannot find what is causing the error to occur.
    HELP!
    Jim Hardy

    I have some further information. It seems that if data for a substance is sent in two separate Idocs, one with valid and one with invalid data, As long as the two IDocs are processed consecutively, they process correctly. If they are separated by IDocs containing other substance information, they fail.
    thanks
    Jim

  • Timeout when processing IDocs

    Hi,
    I have a problem when I process IDocs in CRM 5.0 system. The IDocs of BP are sent via middleware into my system. When I use BD87 to select some IDocs, it often to be timeout. And if I use report RBDAPP01 to process IDocs as a background job, it often took long time and not finished.
    I have looked at process via SM51, and found the progress seems to stay at program "SAPLBUBA_4" or "SAPLBUD_MEM".
    Do anyone know the cause of this problem? And how to solve it?
    Thank you very much for your help!
    Best regards,
    Long

    Hi,
    Instaed of sending bulk of idocs ,break them and schedule the program RBDAPP01..say there are 2000 idocs to be processed..
    For exmaple create a variant of say 1 to 1000 and then schedule the program RBDAPP01 and once again crerate another variant with 1001 TO 2000 and then once again schedule RBDAPP01..Now in this case 2 jobs will shedule with 1000 idocs...
    Regards,
    Nagaraj

  • Did you meet error AM840 when processing IDocs of BP?

    Hi,
    When I process IDocs of BP, there is a popup which said "Database error deleting from table ADRCOMC MessageNo:AM840". I have searched Notes, but no useful information founded.
    Do you know the cause of that error? How to solve it?
    Thanks!
    Best regards,
    Long

    hi,
    do you delete any address data for your business partner ?
    try to check address adata from you IDOC
    to see if it's correct
    you can send an IDOC from your BP and check
    if you populate the address data in the same way
    Regards,
    michal

  • Did you meet error AM840 when processing IDocs?

    Hi,
    When I process IDocs of BP, there is a popup which said "Database error deleting from table ADRCOMC MessageNo:AM840". I have searched Notes, but no useful information founded.
    Do you know the cause of that error? How to solve it?
    Thanks!
    Best regards,
    Long

    Hi Sudheer,
    Sorry, I made a mistake. You are right. The problem is because that some records of communication type are missing in table ADRCOMC.
    Then I firstly check if it has missing data, then do processing.
    Another question, currently when I usd Tcode: BD87 and select some IDocs when are not processed. If I click "Process" button, the program "RBDAPP01" should be executed and select the IDocs to be processed firstly. But at this step it often run exceed timeout. I looked at process via SM51 and found that when executing "Select * from BUT0TP...." statement, it needs very long time and then execeed timeout.  Do you know why?
    Thank you very much for your help!
    Best regards,
    Long

  • Release Locks when Processing  IDOC

    Processing of IDOC fails when any user is accessing the purchase order. How to lock are release the lock diuring IDOC processing.

    If some user is in change mode, the system doesnt allow any other process (be it IDoc or Function Module) to change the document.  This is to prevent data inconsistency, the only way to release the lock is exiting the document in change mode.  You can reprocess the IDoc in BD87.
    hith
    Sunil Achyut

  • Is anyone having issues with 27inch iMac late 2012 locking up when processing photos?

    Purchased new IMac 27 in July 2013 and 15  Macbook Air in November.  I upgraded all my software at the time of the Air purchase.  This is my 3rd  Mac book and second IMac.  Have all the same software on each.  The IMac keeps locking up especially when I am processing in Aperture.  It is worse when trying to move between Aperture and Elements or Big Aperture.  I have not had an issue with Air even when useing same file on same soruce.
    I took the IMac to shop for color bleed in moniter and then kept it a week, tested it, replaced the monitor, but said system is fine. 
    Any one else having an issue.  is it my PC or an issue with the software/Maverick.

    Got a late 2013 iMac 27". No problem at all. Try going to Disk Utility (in applications>utilities) and repair permissions. And then borrow a copy of Disk Warrior and clean optimize your hard drive.
    Within Aperture yourself, do you know how to restore/repair your library? Hold down the apple & option keys and simultaneously start Aperture. You will be prompted on screen. That usually fixes hangups. I do it monthly.

  • User Exit RV60AFZZ not Triggered When Processing IDOC

    Hi,
    I'm writing to seek some advice on why is the user exit RV60AFZZ not getting triggered when I do a vf01 bdc inside my inbouund IDOC function module. But when I try SHDB the user exit is getting triggered normally.
    Thanks,
    Mawi

    Hi,
    Yes I'm creating invoice using delivery orders, inside the idoc function module I'm using bdc call transaction vf01 but somehow it does not trigger the user exit.
    But when I do manual vf01 in sap, the user exit is getting triggered.
    I cant figure out why this is the behavior of sap.
    Regards,
    Mawi

  • Row lock issue when doubleclicking field

    hi all,
    i hav this confusing scenario on my oracle forms 6i.
    i have this field that can be enabled trough onmouse double click (with set item propert, update_allowed) that allows user 1 to update current data.
    when user 2 opens the same page where that field is located, and tries to edit that certain field, i encounter an error stating that user 2 could not access the field.
    my database returns a row lock contention.
    is there anyway that 2 users could be able to edit transactions simultaneously?
    thanks in advance

    oradba11 wrote:
    Hi,
    I am wokring on oracle 10.2.0.4 rac 2 node nistances on AIX.
    We have one table having multiple rows defilning jobs will be done by users ...the functionatily is that ..when even one user will pick on row (job) , one update
    statement will issue and it will update status column to 1 which menas job is allocatated , this means now this should not allocate to any other user ..
    but we are facing issue that once any user will pick that job , in applicatoin log files we can see that row gets lock and updates the status to 1 . but then also
    users connecting to other or some time same instance will get that job...means multiple users can pick same job .. even after already picked by other user ..
    Is this can be issue with rac configuration ... like when ever one user updates a row ..it will be in cache of one instance and when other user trys to again update
    2nd instance does not have that information and allows user connected to that instace to pick that job..like delay in block tranfer or cache fusion..
    is this can be issue with rac or it is purely application issue...
    any idea...In principle this is not possible - it's either an application error or a fundamental and catastrophic Oracle bug that people would have made a huge fuss about years ago (and I don't recall hearing such a fuss).
    Regards
    Jonathan Lewis

  • ESS user lock issue

    Hi all,
    When I am trying to access any service in ESS ,the user is getting locked in ECC.Has any one faced these issue earlier. Portal is on SPS12 and ECC 6 EA HR 18. I checked with the autorization in the Backend looks fine.Kindly let me know.
    Thanks & Regards
    Santosh

    Hi santosh,
                      Is the, User is locked in ECC while you are working in Portal. There are some conditions while u r working on Who's who iview in portal, at the same time if the user open the same in ECC then automaticaly the will be locked. 
                       if u r working on one ivew you should not open it in ECC.
    Regards,
    kishore

  • Issue when processing the variable screen Bex 7.0

    Hi,
    We have a issue where in a query the variables that the user selects are being ignored and the query runs wide open.
    Esentially what happens is when you open a query, execute it and then close and again open a different query, the varaibles from previous query selection are carried and even if you change the variable values the user selects are neglected and query rund wide open.
    Please let me know if you have encountered such an issue.
    Thanks,

    There is no such known issue like this.
    However, you can check with SAP GUI patch level, Things are working fine with patch level 8 for SAP GUI 710.
    There are lot of compatability issues here and there with GUI710 with MS Excel 2003..
    Regards,Vj
    Edited by: Vijay kumar Nandipati on Jan 28, 2009 8:04 PM
    Edited by: Vijay kumar Nandipati on Jan 28, 2009 8:05 PM

  • Error message when processing IDoc

    Hi there,
    Greetings from Buenos Aires, Argentina.
    I'm trying to use the Migration Workbench in order to transfer to SAP the material master data.
    I have created an LSMW Objet and selected, under Mantain Object Attributes >> Object Type and Import Method, the IDoc option. The message type will be MATMAS and the Basic Type will be MATMAS05.
    I have maitained the IDoc Inbound processing, created the LSMW Port and the Partner Profile. In the latter, under Inbound Parameteres, I have created and inbound parameter with the MATMAS Message Type and MATM Process Code.
    I have created structure relationships for the following target structures: EDI_DC40, E1MARAM, E1MAKTM, E1MARCM and E1BEWM.
    After being one or two couple of hours going and coming over the application log after running over and over again the step 14. IDoc Processing, and having filled with '/' the obligatory fields, I still am not able to generate it successfully.
    The problem I'm having is, it keeps asking the DISMM (I think the name is MRP Type) field, and since I have not created a conversion rule or source field for it, I recieve the error message 72 from the M3 message class
    I understand that though the MM01 transaction, if the MRP View isn't activated, this field stops being mandatory. So I need to know, if any, the way to make the IDoc processing not to ask this field, since the MM consultant has said it's not necessary to introduce it.
    Thanks in advance.

    in the step 5 Maintain Field Mapping and Conversion Rules
    in the strcture E1BPMATHEAD   put the below condtion
    E1BPMATHEAD                    Header Segment with Control Information
    for the MRP veiw  WERKS and DISMM is mandatory fileds if you are not getting the any one of the value from the file ,skip the MRP view using below condtion.
    MRP_VIEW                     Material Requirements Planning (MRP) View
                        Code:    * Target Field: E1BPMATHEAD-MRP_VIEW Material Requirements Plann
                                 IF NOT matmas-werks IS INITIAL AND "
                                    NOT matmas-dismm IS INITIAL.
                                   e1bpmathead-mrp_view ='X'.
                                 ENDIF.

  • User authentication issues when auth by external radius server

    We tend to use FF in a corporate environment to manage our networking devices (firewalls/switches/routers etc). Came across a bizarre problem under the following conditions:
    ZyXEL Network Switch (GS2200-24) uses external authentication (RADIUS) to allow management and accounting of who makes changes.
    When logging into the switch with FF, we get repeated prompts for user authentication. Eventually the user is logged in (and no it's not a typo!). Looking through the dev console in the beta, it seems to get a 401 unauthorised back from the switch once it tries to load another html file.
    The browser *should* be presenting the same credentials to each called page within the site, it doesn't seem to :-(
    No site added as it's an internal IP address....

    We tend to use FF in a corporate environment to manage our networking devices (firewalls/switches/routers etc). Came across a bizarre problem under the following conditions:
    ZyXEL Network Switch (GS2200-24) uses external authentication (RADIUS) to allow management and accounting of who makes changes.
    When logging into the switch with FF, we get repeated prompts for user authentication. Eventually the user is logged in (and no it's not a typo!). Looking through the dev console in the beta, it seems to get a 401 unauthorised back from the switch once it tries to load another html file.
    The browser *should* be presenting the same credentials to each called page within the site, it doesn't seem to :-(
    No site added as it's an internal IP address....

  • ACR 8.1 "Out of Memory" issue when processing over 70 - 24mb files

    Good Morning Folks,
    I've recently upgraded my computer to Win 7 and then to PS CS6 Extended.  Now when I process RAW files in ACR 8.1, I get an "Out of Memory" error if I do more than 70 ~ 80 - 24 mb files.  Also, it's running really slow.  It's taking nearly 50 seconds to process 1 - 24 mb file where PS CS3 and ACR 4.X it took only 17 for the same size file.
    Computer Specs; 3.40Ghz, 4GB RAM (max for the mother board), 120 GB HD "C", 40 GB Scratch Drive, Win 7
    What I have done is made sure that the scratch drive is listed first for cache in both PS and ACR, then in ACR, set the cache to nearly 500,000. (I think these numbers are correct, I'm not at the offending computer now)
    So the questions are; do I need to make any changes to specific setting?  Does PS CS6 and ACR 8.1 require more RAM?
    Any suggestions would be helpful.
    Thanks,
    Captain 1854

    When getting a new computer get a big enough C drive to hold all the programs and still have at least 50% free for future expansion (should always have 15% free). 
    Best if you have a separate internal HD for scratch, so computer can read program and write to scratch at same time.
    Get a mid range video card with 1 gig VRAM.
    Win7 better than Win8.

Maybe you are looking for

  • IPhoto won't install update and won't allow me to access my photos since I installed the Maverick update

    Since I installed the new Maverick update, iPhoto crashes on my Macbook Pro at the final stages of install and I am not able to acces my photos because a widow pop up telling me that iPhoto is being updated but it is not updating.  What do I do now?

  • "Herky-Jerky" video image when connected to "Buddy"

    I have an iBook G4 and just bought a macally icecam. When I am connected to a buddy his image is smooth like a TV but mine is "herky jerky." I tried all I could but can't seem to smooth out the image. I greatly appreciate suggestions. Thank you - old

  • When should be package invalidated?

    Hello guys, I would need again some help... My question is: When exactly should be package invalidated? Consider following situation: We have two packages, one contains constants (in its specification), the other is reading these constants. Package i

  • Activate Profitability analysis

    Dear Gurus, Whnever My SD member is creating the Excise Invoice in J1IIN, thn the message is coming as "<i><b> Activate Profitability Analysis in Controlling Area</b></i>". After activating the same the message is coming as " <i><b>System failure dur

  • Yoga 1 or 2 android tab

    When i was out they drew me back in....... I have the b8000F 10 yoga 1. Lived through the dark days waiting for a satisfactory software update, which in the main arrived Jan 2015. So happy with that. Looking for an additional tablet and the yoga is s