How to handel material locking in WM

Dear Experts
Our warehouse is managed by warehouse management and we face a problem  when one of the stock keepers  post goods issue with reference to sales order from the warehouse  while another on is performing a goods receipt at  the same time  and the same batch the system issue the following message
Batch xxx of material y is already locked by user
Message no. M3682
Diagnosis
You want to process a batch that is already being processed by another user.
System Response
A batch cannot be processed by more than one user at the same time. To prevent data inconsistencies, the batch record is locked for processing.
And this locking cause a delay to our work
So is there any way to solve this problem  in the warehouse management so that the 2 stock keepers can do their work in the same time without locking
Best Regards

you check Note: 1949813 for Message M3682 "Batch & of material & is already locked by &" in transaction MIGO, VL32N and VL02N.
Solution:
Both BAdIs have to be implemented and must be active
BADI MATERIAL_READ method LOCK_BATCH_MASTER
BADI BATCH_MASTER method LOCK_BATCH_MASTER_IN_MIGO
Step 1:
go to OMJI to Activate late lock for goods movement
step 2 assign Methods
Activate BADI BATCH_MASTER for method LOCK_BATCH_MASTER_IN_MIGO
method IF_EX_BATCH_MASTER~LOCK_BATCH_MASTER_IN_MIGO.
   C_LOCK_MODE = 'S'.
endmethod.
Step 3:
go to SE18 Activate BADI MATERIAL_READ for method LOCK_BATCH_MASTER
after that test 3 user make goods movement for the same batch, same plant and in the same time you can post goods movement Successfully.
Test Goods movement through MIGO, VL32N and VL02N, all user post Successfully.
http://solveissue.com/note?id=1949813
for More information Contact me
Mobile:     00201003222213
Mail: [email protected]
Skype: Eng.abdallah.elgibaly

Similar Messages

  • Hi how to handel the lock and unlock the table

    Hi,
    i am having the one scenario like,for lock and unlock the table i used the function modules ENQUEUE_E_TABLE and  DEQUEUE_E_TABLE but it allowing the edit the first user and suppose to try the editing the second user it is giving the error message it correct but again the second user press any button it is leaving the program it should not happened please help me that.
    regards,
    Hari.

    Hi,
    i assume it's in table JEST
    so select:
      SELECT        * FROM  JEST
               WHERE  OBJNR  =  aufk-OBJNR
                AND   STAT   IN S_STATI
    Andreas

  • How to check for locks on a material - without using Enqueue function

    Hi
        We have a requirement in which - we need to check the lock ( exclusive ) on a material before we call the BAPI to update the material.
    I don't want to actually lock the material before calling the BAPI - the BAPI itself acquires the lock as a part of its processing. All I want to do is to check whether lock on a material exists before calling the BAPI - thus avoiding any lock related issues on the material in the BAPI call.
    How do we just merely check whether material is locked - any standard function module /SAP tables where in material lock is stored that we use/interrogate ?
    Correct answers will be promptly rewarded.

    Hi ,
          There is standard function enqueue_read ,based on material number .
    Pass the material number to FM ENQUEUE_READ if sy-subrc = 0 then material is locked otherwise not .
    Please reward if useful.

  • How to restrict Material Class in Sales Contract Doc

    Hi,
    I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
    If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
    If any one come across such a senario then pklease let me know.
    Regards
    Ajay

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • For STO with billing how to take material in plant stock without cancelling excise duty

    Hi,
    Please suggest for STO with billing how to take material back in plant stock without cancelling excise duty.
    Scenario is
    Material transffered from manufacturing plant to depot,material is in transit now, but due to some reason material calls back to manufacturing plant.
    Since the excise invoice is raised and material move out of factory client can not cancel excise invoice from legal point of view & client has to pay excise duty for the material movement.
    Please suggest how to take back goods to manufacturing plant without cancelling excise invoice.
    We have suggested client as there is no provision to take back goods to manufacturing plant without cancelling excise invoice
    and to take back material to manufacturing plant stock they have to cancel excise invoice and other related documents.
    But client is asking for another options.So requesting you to please suggest any alternative ways for same.
    Thanks,
    Amit

    client can not cancel excise invoice from legal point of view & client has to pay excise duty for the material movement
    I don't think, there is a statutory rule which says, manufacturer should not cancel the excise invoice generated on their Depot plant.  Justification can very well be given to Excise authorities and hence, ask your client to follow the normal process by treating this as Depot returns.
    G. Lakshmipathi

  • How to print material document in header level?

    Hi Guys,
    How to print material document from header level. I can only print them in item level. But i want that in header level. For example, I have 4 movements inside a material document and I want to issue only one output from the header level.
    I can see the option Goto -> Additional Function -> output, but it is disabled. Please let me know hot to acheive this and if you need further info on this. Please throw some light on this.
    Thanks
    Yasin.

    HIi
      Your question is not clear.  What exactly you want to be.
    1.  To print material header in your smart form / Sap Script what is the problem. Itu2019s quite easy you can do it. Let me know what problem you are facing.
    2. The option is disables because of business functionality ask your functional guys to help you on the same.
    Regards
    Swati

  • How can I freeze (lock) my Spread Sheet layout in Numbers?

    How can I freeze (lock) my Spread Sheet layout in Numbers?
    I have problems with Numbers changing my Spread Sheet layout
    by adding extra Rows while I am not looking, or while I engage in dragging its pages with the mouse to see info on adjacent pages.
    The layout I use consists of a Spread Sheet containing 4 "print" pages, ea.  8.5" x 11" wide, with a total of 36 Rows and 28 Columns. 
    The SS is filled with new cell values daily, but the formulas stay mostly the same. The print pages are visible on the computer screen side by side, and each Row extends over these 4 pages.
    It happens sometimes that I have to change a formula while making entries on a cell in "page 4", and then need to "accept"
    the new entry and formula "aaalll" the way on the very left of "page 1".  So here I try to scroll left or drag the present view
    with the mouse.  I also have to use the "Zoom" at 150 % because I cannot see well on my MacBook Air, everything is rather small.
    I suspect that during dragging with the mouse I drag cells or rows without knowing, and that this will add extra Rows derailing some formulas or values because a cell is suddenly in a different Row.
    It is difficult to find which Row was added and what values where thus changed.  One just sees 38 rows instead of the orihinal 36!  The only way is to move all the cell values out of rows 37 and 38, and find where theey used to be on the previous day's saved locked sheet.   Needless to say that when that happens twice in a days work, it means a lot of lost time.
    I have checked the Numbers Manual and searched Help Info for ways to lock an established cell layout and could noy find anything.
    I cannot believe it, maybe I missed something.  I worked for about 35 years with Clarisworks and Appleworks Spread Sheets and never had the same problem, layouts were locked by design, and could only be changed by special procedures.
    Now is there a way to freeze or lock the basic layout of a spread sheet in Numbers? 
    I appreciate your help.   (Numbers 2.3, Mac OS 10.8.5. MacBook Air)

    Hi Numbers22,
    I guess I was just beating around the bush to avoid simply saying, "No, you cannot lock the layout." So there it is.
    I am not sure why you are scrolling  to "accept" a formula. That is unclear. I guess you building a new formula and need to use a cell from an early column. It is also unclear to me as ot how you are actually adding extra rows. I haven't been able to do it on my machine without clicking the little arrow in the row number or using Option-↑ (or -↓). Option-↑  would add a row above the row you are in if they somehow got pressed. Do you have a program running that could be interpreting something your are doing for those keystrokes? If I was standing at your shoulder I might be able to see what is doing it.
    What I am suggesting is that you play around with your trackpad settings so that you are not selecting and tapping in your table while you attempt to scroll. I do have one sheet with two tables side by side with a total of 425 columns and I can scroll past them without modifying them. So perhaps turning off tap to click in system preferences will help. If you have an option to decrease trackpad sensitivity then try that (I don't, but I remember having it somewhere in the past). If you are using a mouse see what you can do to decrease the sensitivity for a click. If your computer is old it could be that the trackpad is wearing out and throwing random clicks. You might try using another input device if you have one.
    quinn

  • How to handel a Batch job in oracle database

    How to handel a Batch job in oracle database?
    Regards
    alok

    Alekh wrote:
    lists of jobs execute concurrently.Thats a definition we all aware of ;), I meant do you want to execute the jobs in a sequence? is there any dependency? is it more like scheduling?
    And What kind of jobs you are talking about? running PL/SQL programs? or stats collection? or DB backup?
    Regards,
    Prazy

  • How to find out  Locks on the database objects

    how to find out Locks on the database objects

    The following notes should be helpful:
    Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
    Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
    You can also search Metalink, there are many notes/scripts published there which would be also helpful.

  • How to validate material status in physical Inv Doc creation using MI01

    Hi Experts,
    I would like to know how to validate material status while creating physical inventory document using MI01 transaction.
    I tried to figure out a suitable BADI and customer exits ,but it didnt work out well.
    Kindly share your thoughts on how this can be achieved.
    Regards,
    Mohammed Aslam Rasheed

    Do you really create your inventory documents with this MI01 transaction manually by entering material for material?
    The real transaction for physical inventory is MI31. How do you want SAP to react if hundreds of materials are selected and inventory documents are created in a batch process?
    SAP takes care about the material status in MI04 and MI07 transactions.
    I am not aware of any exit for MI01 maintenance, you may consider Explicit and Implicit Enhancement Options

  • How to Restrict Material Type in MM01 ?

    *Hi experts,*
    *How to restrict material type ? i wanted to restrict the end-user not to access any other material types than Raw material,Semi-finished goods. it means when end user trying to create material then if he enters other than these two material types then he should get error saying that "your not authorized to select that xyz material type".*
    *I have tried to restrict the object M_MATE_MAR(Material Master : Material type) but am unable to do so. is there any other object which take care of Material types ? did i selected correct object or not??*
    *can anyone help out.*

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • How to change material component for a Purchase Order?

    How to change material component for a Purchase Order?
    I need FM .
    PLEASE help

    Dear ,
    Create PO with item category L....There in Item detail you will get tab for material.
    There click in component Button, it will take you to the component screen there you can assign and deassign components.
    Hope this helps.
    Regards
    Utsav

  • How to get Caps lock indicator in windows 8.1

    How to get Caps lock indicator in windows 8.1   ???
    i am using wireless keyboard KG 1061

    Hi bhargav0,
    I understand you would like a caps lock indicator in Windows 8.1. I admit, I don't know of any fix that simply shows you on the screen, but there is an auditory warning that you can implement if that would be of help to you. Take a look at the following video, Windows® 8.1: Make the Caps Lock key beep when pressed. I hope this will be of use to you. Have a great day.
    Ryan1216
    I work on behalf of HP
    The advice and opinions given here are my own and not those of HP

  • How To Restore A Locked Pages Document ? ( I Forgot The Pass )

    How To Restore A Locked Pages Document ? ( I Forgot The Pass ) I Created A Documents Of My Personal Expense And Locked it So That No One Could See it !! But Apparently Now Even i Don't Remember The Pass So if Someone Could Please help Me On How To Regain Access of That Locked Documents ? ( Thanks in Advance )

    Once you set a Pages document password, you will need it again to unlock the document. There is no other available unlocking technique, as many before you have discovered. Tell your mind to recall your document password, and then stop trying to remember it. Let your subconscious retrieve it.
    In the future, keep a secure, analog list of your passwords as backup.

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

Maybe you are looking for