Batch Lock during PGI

Hi Mates
I have configured Batch on Material level.My issue is when have stock of material ABCD with batch No:XXXX and iam transferring(STO) 50 Nos to other plant with same batch XXXX.Now when sales order and Delivery is done for same material and same batch in both the plants iam unable to do PGI error message shows "Batch XXXX is locked by other user"
And if PGI been done next second iam able to do PGI only thing the Batch is locked for fraction of seconds.
Can anybody suggest me how to overcome the above issue

Dear Mate
You are right.My client have almost 15 sales plants form where sales will happen and very frequently goods will be transferred between the plants.In normal days they are not facing any issue but during month end,sales will be much higher compared to normal days.
So in the month end sales cycle creation will be much more and users will be more at this time batch getting clashed.
If you can throw some light on this issue it will be helpful
Regards..,
Karthik

Similar Messages

  • Batch Lock during parallel goods movement for other Plant

    Salute Masters!!
    I need your valuable suggestion!
    The Scenario is:
    User1 is doing the following transaction-Create stock transport PO for a material (plant 1000 to plant 1100)
    Create outbound delivery VL10B (Goods issue is also done- and he is in the screen MIGO (goods receipt in plant 1100 against outbound delivery for which goods issue is done.
    Automatic batch determination is activated and the batch is determined by FEFO method.
    User2 is creating a sale order for the same material from plant 2000.Subsequently, delivery is created and batch is determined and also the batch determined is the same as that of the previous one.
    Now both are in the same screen. When the user2 is trying to do PGI the system is giving error message the batch of the material is locked by the user but the interesting this if it is vice-versa that is with the user2 in the delivery screen and the user1 is trying to take goods receipt in plant 1100, the system is allowing to take the goods receipt of the material.
    How can we resolved this issue, please suggest.
    I have gone through this SDN Thread also but not got the proper solution
    Batch Lock during parallel goods movement
    Grateful for Solution
    Sanjai Srivastav

    Insufficient information. Unresolved, closed.
    Edited by: Srivastav100 on Mar 11, 2011 11:19 AM
    Edited by: Srivastav100 on Mar 11, 2011 11:19 AM

  • Batch locked if some other user using same batch

    Dear All,
    I am facing the batch lock error which say like this :
    Batch XXXX of material XXXX is already locked by userXXX. Message no. M3682
    Now practically we have the same batch at different distribution centres at different plants. so even if any 1 person is doing anything on that batch than system gives this error message to other person.
    Can you please give me any solution to overcome the same.
    Thanks in advance......

    Firstly please check if you have activated the batch level as 'Batch unique at material level'. If yes, we have to confirm that the system behavior that you are facing is the standard system design.
    Please, consider that when you define the batch at material-level, then,the batch data is not plant-depended. This means that a lock on the batch will have effect on postings in all plants.
    However, you might want to consider a modification to this standard behavior, see the following  notes:
    157423 - Message M3682 for goods movement to the same batch.
    633750 - MIGO: Message M3682 with goods movement to same batch.
    1422983 - MIGO: Message M3682 during goods movement to same batch

  • Manual Price during PGI

    Dear Forum,
    Can it be possible during Post Goods Issue to enter manual price....In standard, it picks the price from Material Master...
    But at my clients site in one scenario they want to put manual price during PGI...
    Can anyone throw some light on the above said issue...
    Eagerly waiting for your helpful replies..
    Regards
    Nainesh
    SAP ECC6.0

    Hi Nainesh,
    If you want to change price of goods sold (VPRS condition type) in the delivery, this is not possible in the standard system; personally I would not mess with standard SAP based on the requirement alone.
    But at my clients site in one scenario they want to put manual price during PGI...
    If your consulting customer wants a special price for the goods, you can suggest them to use split valuation, therefore the PGI value will be based on the value of the individual batch delivered to the customer (if the batch is the criteria you use for split valuation).
    If you want to change the sales price, change it in the sales order.
    Pricing in the delivery is only used for special functions in the standard system.
    Best Regards,
    Franck

  • DB dead lock during update

    Hello,
    In our R/3 Enterprise 4.7 Production system running on Windows NT/MSSQL, I saw update errors in t-code SM13.
    Error details:
    Date : 07/19/2009
    No. of errors : 24
    All errors are for background user BATCH-ID
    Function Module    :    RKE_WRITE_ACT_LINE_ITEM_OP01
    Status     :      DB dead lock during update
    SM12 doesnt have any locks currently, not sure about status when these update errors occured.
    I didnt find any SAPnotes related to this F-module or similar.
    Can you please tell whether it is a serious issue and how to handle such errors?
    Regards,
    Roshan

    Hi,
    can u please let us know how many time u have seen this error in SM13. Also from how many days.
    If its only once u have seen, then no need to worry.
    Function Module : RKE_WRITE_ACT_LINE_ITEM_OP01
    Status : DB dead lock during update
    From above lines its clear that,  Function Module : RKE_WRITE_ACT_LINE_ITEM_OP01 was locked, so the update has failed to access that module. Since it had faield to update, so is the error in sm13 with reason DB dead lock during update.
    Can u please refer to the logs in SM21 and also to the trace files(of related work process) related to the same error(red color errors), Try to analyze from there, If u find any difficulties in doing so. Paste the same here  along with ur system verion/DB/OS/Patch level
    Regards,
    Ravi

  • MPN Manufacturer batch determination during goods issue

    I am from pharma industry and my business runs with batch management, MPN features.
    Scenario:
    I have 3 different finished product P1, P2 and P3. All three finished products use raw material R1.
    But, I have restrcition like, when I am manufacturing P1 product I can only use R1 of batch from manufacturer M1.
    For P2 material we can use R1 batch from manufacturer M2 only.
    For P3 material we can use R1 batch from manufacturer M1 and M2.
    Now, I have maintained the BOM CS02 batch classification for three differ FGs P1, P2 and P3 with relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    In COB2 T-code I am mainmtaining strategy type CO02 - Order type/Plant/Parent material with child relation ship. Here also, I am maintaining relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    Now, when I am creating process order in COR1, I am getting in case of P1 order R1 material batch determination only batches from M1 manufacturer.
    Same as for P2 material process order R1 material only batches for detrmination from M2 manufacturer.
    Same as for P3 material process order R1 material batch determination option from M1 and M2 only.
    Now, if I don't go for batch determination through Process order and in stead of that if I want the batch determination during goods issue MIGO 261 movement against order, the above manufacturer level control we can't put.
    As in MBC2 T-code, we have standard batch determination and search strategy for material, plant and movement type.
    But, here we can't maintain any parent child relationship.
    Now, can you please suggest how I can control manufactuer batch detrmination as per above strategy during Migo goods issue.
    Through any standard settings we can do or, any exits required?
    Gurus please suggest!

    Dear
    You can do this by using FM CO_WB_BATCH_DETERMINATION or VB_BATCH_DETERMINATION function module.
    here you can sort the batches and compare the Batch results with the batch search strategy.
    Regards,
    R.Brahmankar

  • Automatic batch determination during goods issue

    Hi,
    We want automatic batch determination during issuance of components to a process order with out clicking on batch determination tab in COIK as well as I don't want to give '' in MB 1A transaction.  Without clicking anything batch is determining is process order for components. But it is not happening during goods issue either in transaction COIK or in MB1A. If I use COIK again i have to click on batch determination tab and putting '' in MB1A. Then only batch determining. How to avoid this. Batch should determine automatically in inventory posting also like COIK, MB1A etc.
    Thanks & Regards,
    N. Laxman

    Dear Laxman,
    Check these links,
    https://wiki.sdn.sap.com/wiki/display/ERPLO/Batch+Determination
    Automatic batch determination
    Re: how to make the batch determination process automatic
    Regards
    Mangalraj.S

  • Automatic Batch Determination during Goods issue of Production Order

    Hi,
    Iam trying to set up automatic batch determination during Goods Issue against a production order. My requirement is system should automatically run the batch determination similar to the case in production order.
    I have set up all the required configs for batch determination. But to get the batch I need to click on the batch determination button. What I need is without clicking on anything. How can I do this. Whats the config needed
    Thanks and Regards
    Enrico

    Dear Enrico
    It is required lot of set up both in production order parameters and Batch Managemnet .I am providing you a summery of it .
    Configuration Required for your above issue are as follows :
    1.Activated Batch Management in the Material Master-MRP2 view and Work Scheduling view of the FG
    2.check material master MM02, tab MRP2 and set field "Batch Entry" to value 3 here
    4.You maintain a Search Procedure in OPL8 - Order Type Dependent parameters .Before that you should have Batch serach strategy :The sequence of steps are as follows -
    Create Condition Tables
    Create Access Sequences
    Create Strategy Types
    Batch Search procedure definition
    Batch Search procedure allocation and check activation
    Define Selection classes
    Define sort rules
    Maintain Batch Allocation Strategy Number Ranges
    All the above are available in the Path - SPRO --->Logistics-General ---> Batch Management ---> Batch Determination and Batch Check
    5.Maintain the setting in T.code OPKP (production scheduling profile). Select automatic batch creation on order creation.
    6.If u want to execute the batch determination for components in the component overview of production order , then u have to create batch search strategy at COB1
    7.If u want to execute during order confirmation u have to create batch search strategy at MBC1.
    Refer the below link for your farther reference :
    http://help.sap.com/saphelp_47x200/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:28 PM

  • Help needed in Automatic Batch determination during Delivery

    Hello gurus..
    Can anyone point me in the right direction. I am trying to trigger auto batch determination during delivery creation based on available batches. thank you
    If any can give me the config that goes with it, that'll be great

    Steps to configure Batch Management
    1)  Specify Batch Level
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Specify batch level and activate batch status management Transaction  OMCT
    2)  Batch Number - Activate Internal Number Assignment
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Number Assignment --> Activate internal batch number assignment Transaction  OMCZ
    3)  Batch Creation - for Goods Movements 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Creation of new batches --> Define batch creation for goods movements
    4) Characteristic Value Assignment -- Update Standard Characteristics 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Update Standard Characteristics
    5) Activate Batch Classification for Goods Movements in Inventory Management 
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Characteristic Value Assignment --> Valuation for goods movements --> Activate Batch Classification for goods movements in Inventory Management Transaction  OMCV
    6) Batch Determination – Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define production order condition tables Transaction  OPLB
    7)  Batch Determination – Condition Table(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Condition Tables --> Define SD condition Tables Transaction  V/C7
    8) Batch Determination – Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define Production Order Access Sequences Transaction  OPLF
    9) Batch Determination – Access Sequence(Cross Client)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Access Sequences --> Define SD Access Sequences Transaction  V/C2
    10) Batch Determination – Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production Order Strategy Types Transaction  OPLE
    11) Batch Determination – Strategy Types
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Strategy Types Transaction  V/C1
    12) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define IM   Search Procedure Transaction  OMCY
    13) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Production order Search Procedure Transaction  OPLG
    14) Batch Determination – Batch Search Procedure
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define SD Search Procedure Transaction  V/C3
    15) Batch Determination – Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate IM search procedure/activate check Transaction  OMCG
    16) Batch Determination – Batch Search Procedure Allocation
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Assign Search procedure to production order Transaction  OPL8
    17) Batch Determination – Batch Search Procedure Allocation(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Allocate SD Search procedure Transaction  V/C5
    18) Batch Determination – Activate Automatic Batch Determination(SD)
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Activate Automatic Batch Determination in SD -->For delivery item categories Transaction  V/CL
    19) Batch Determination – Batch Selection Class
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Selection Classes Transaction  CL01
    20) Batch Determination – Sort Rule
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Batch Determination & Batch Check --> Define Sort Rules Transaction  CU70
    21) Batch Determination – Make Settings for Batch Where-used list
    Menu Path  Enterprise Structure> Logistics General> Batch Management --> Make Settings for Batch Where-used list Transaction  OMBB
    thanks
    G. Lakshmipathi

  • Transaction Locking during multiple Webservice - persistent webs sessions

    Hi All,<br>
    <br>
    Yesterday evening we had a discussion concerning ESA architecture. We want to create (web)services for accessing the SAP business objects (using XI) and use these (web)services via visual composer, webdynpro or custom java development.<br>
    <br>
    It does not seem a big problem to perform creations and reads of transaction, but when we want to change objects, we saw some problems concerning locking/commiting and rollbacks.<br>
    <br>
    From our GUI we would like to be able to go in edit mode and from that moment on, the transaction should be locked. We then want to change certain parameters and commit only when we push the save button.<br>
    <br>
    We can invoke a webservice wich tries to lock the transaction, but at the moment the XI scenario is completed (=the lock is created), the program at SAP side (=proxy in our case) is also finished and the lock is automaticly removed. How can we do locking, when using webservices via XI?<br>
    <br>
    The problem of the rollback and commit we can partially solve by putting more logic in the GUI, but we don't want to do that. How can we do a change of a business object and remember this change without doing a commit on the SAP system.... . Same problem for the rollback.<br>
    <br>
    Is there a away to keep a session "alive" during multiple webservice calls or to simulate it? Every webservice invokation happens in a different context...isn't it?<br>
    <br>
    <br>
    <b>Just to make it a bit more clear.</b><br>
    <br>
    Suppose we create 6 service related to the business object bupa (business partner).<br>
    - read<br>
    - change<br>
    - commit<br>
    - rollback<br>
    - lock<br>
    - unlock.<br>
    <br>
    We create a GUI which uses these services.<br>
    <br>
    <b>Step1:</b> we want to see bupa in detail, so the read webservice is called and the retrieved details are shown in the GUI<br>
    <b>Step2:</b> we want to go in edit mode, so the lock webservice is called to lock the bupa. The bupa should stay locked, untill the unlock is called. Here occurs the problem. The webservice lock is called, XI will trigger the proxy on the SAP system. This proxy will lock the bupa. As soon as the proxy-program is completed, the bupa lock will automaticly be removed ... . We want to keep this lock!<br>
    <b>Step3:</b> we change the bupa using the change webservice. Only the user who locked the bupa should be able to change it.<br>
    Problem concerning the locking occurs: standard we don't know who locked the bupa (this is done by the generic RFC user, configured in sm59). Should we pass some kind of GUID towards the proxy and build some additional logic to know which end-user in fact locked it... . Using the userid isn't sufficient, because a user could logon multiple time simultanously.<br>
    <br>
    Another problem is that we want to change the bupa, without having to do a commit yet.De commit should be called only when pushing the save button. When the proxy is ended and we did not do a commit, the changes are lost normally ... .<br>
    <br>
    What we in fact want to do is Simulate the bsp behaviour.<br>
    <b>Step4:</b>We want to perform a save of the things we changed or a reset. This means the commit or rollback webservice is called.<br>
    <b>Step5:</b> We want to unlock the bupa by calling the unlock webservice.<br>
    <br>
    <br>
    Please give me your comments.<br>
    <br>
    Kind regards<br>
    Joris<br>
    <br>
    Note: Transaction Locking during multiple Webservice "sessions".
    Message was edited by:
            Joris Verberckmoes

    There are multiple strategies how to resolve this. They require that the last change time is available in the changed object, and also that the client keeps the value of the change time when it read the data.
    1. First one wins
    Immediately before posting the changes, the current change time is read from the server. In case it is different from the client buffer, then the client changes are discarted.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B checks if server change time has changed (result is no)
    5. Client B writes his changes to the server
    6. Client A changes its buffer
    7. Client A checks if server change time has changed (result is yes)
    8. Client A discarts its changes
    2. Last one wins
    Easy. Client just writes his changes to the server, overwriting any changes that might have occured since it read the data.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B writes his changes to the server
    5. Client A changes its buffer
    6. Client A writes its changes to the server -> changes from client B are lost
    3. Everybody wins
    Most complicated. In case of concurrent changes, the client is responsible for merging his changes with the changes from other clients and to resolve any conflicts.
    Example:
    1. Client A reads data
    2. Client B reads data
    3. Client B changes its buffer
    4. Client B checks if server change time has changed (result is no)
    5. Client B writes his changes to the server
    6. Client A changes its buffer
    7. Client A checks if server change time has changed (result is yes)
    8. Client A merges its changes with changes from client B
    9. Client A writes his changes to the server
    "Last one wins" is definitely not water-proof. But even with the other strategies, data can potentially get lost in the short timeframe when the change time is checked and the actual update.
    To make it more secure, server support is required. E.g. the client could pass the change time from its read access to the server. The server can then reliably reject the update if the change data has been updated in beetween by another client.

  • Screen lock during answer

    How do I make my Thunderbolt screen stay locked during an incoming call? It's very difficult to retrieve the phone without touching the screen and accidentally rejecting the call. Same problem with calendar and clock alerts. Is there any way to change this?

    cowanfk wrote:
    How do I make my Thunderbolt screen stay locked during an incoming call? It's very difficult to retrieve the phone without touching the screen and accidentally rejecting the call. Same problem with calendar and clock alerts. Is there any way to change this?
    you may want to consider using a lockscreen widget. something like THIS.  i haven't used it, but i believe you can use it to set the lockscreen to a different type a access (as opposed to the very simple swype that answers calls). i too had this issue when pulling the phone out of my pocket. i often answered the call before even getting the phone out. 

  • MV50AFZ1 - Change Accounting Document During PGI

    Using MV50AFZ1 User - Exit ,can i change accounting document during PGI.I want to change the Business Area.
    If not ,please tell me which User Exit can help me in this.
    Thanx,
    Viru

    Hi
        business add-in LE_SHP_GOODSMOVEMENT for ur requirement
    Discuss with the abaper and proceed according to ur requirement and be very specific so that it should not influence the others.
    This badi during processing of PGI u can change the data related to accounting document.According to ur requirement the business area can be changed during PGI.
    Edited by: sameer basha on Mar 25, 2009 7:41 AM

  • Batch lock PDF files

    We mostly have Acrobat 9 or X standard licenses and few Pro 9.  What I'm looking for is the ability to batch lock PDF files before we post them to consultants or partners.                   
    I know you can lock each PDF via Standard.  Pro gives you the ability to batch do it but it makes no sense to upgrade 40 licenses just for that feature.  Last resort option would be to create multipage PDFs and lock that vs. the individual but I'd like the ability to do the individual.
    The files are being locked down to print at 150dpi only.  That way the PDF's can't be imported into Illustrator and saved out to a CAD file.

    Hello
    We look exactly for the same. A Batch Script to have multiple files merged in one PDF. Can you please also send me a PM for further Information?
    Thanks a lot
    regards
    Stefan

  • SQL error during PGI

    Hi, this is Dipti, during PGI in T-code VL02N system throws an error,
    SQL error 3127 occured when accessing programe sap.
    waiting for quick reply
    Thanks & regards,
    Dipti

    This issue was often solved by extending the parameter abap/buffersize. Please consider
    also note 534729.
    Please increase the size of parameter abap/buffersize and update us
    if it helps to resolve the problem.
    Refer another note also 797792

  • Batch Determination during MIGO Movement 543 O

    Dear All SAP Gurus,
    I want to know about batch determination during MIGO transaction for subcontracting cycle , movemnt type 543 O -consumption for parts provided to vendor.
    In Brief: Suppose clients executing subcontracting cycle and send the RM/PM against subcontracting PO to vendor. At the time of MIGO we have to enter the batch number of RM/PM which we had sent to vendor. But when we serach the batches available at the vendor it shows number of batches. My client want batch determination process so that system will take the batch number accordingle po as we sent material with reference to po.
    Please suggest in this matter or if any one has solution please tell.
    Thanks in advance
    Mahesh

    Hi Mahesh,
    Go to SPRO > Logistics - General > Batch Management > Batch Determination and Batch Check > Batch Search Procedure Allocation and Check Activation > Allocate IM Search Procedure/Activate Check > Here assign Batch Search Procedure "ME0001" to Movement Type 543 O
    Then go to MBC1 and maintain condition record for Strategy Type ME02 i.e. Plant and here keep selection method as "O"
    In MIGO, click on "Stock Determination" button for automatic batch determination.
    Hope it helps!
    Preethi.
    Edited by: preethi R on Nov 24, 2008 2:10 PM

Maybe you are looking for

  • How to call a procedure designed in Report Builder?

    Hi everyone, The Problem? I set up a procedure and would like to call this procedure in reports builder 6.0. I need to know how to call a procedure in reports builder. Thanks Tom Gilmore

  • BPEL Clustering with Tech Adapters (FTP/File/JMS/DB) - 10.1.2.0.2

    When we cluster BPEL instances (10.1.2.0.2) without clustering the OracleAS instances, how does the tech adapter (especially the inbound scenarios) work? Do we need to cluster the OracleAS instances, if we are using PartnerLink that is other than HTT

  • Reg: How to Create Enhancement spot in $TMP Package

    Hi All, i had seen so many eLearning concepts which sap provided to demonstrate the ENHANCEMENTS Topic,But in that they are using the Enhancement Spots which already created in $TMP Package,So To learn this concept i am trying to create the Enhanceme

  • IMail on iPhone stopped working - suddenly!

    I started getting a message saying my email and password were incorrect so no email was coming through.  That was not the problem.  I deleted then reactivated my Apple ID based account on the iPhone.  Now the message I am getting is that my Apple ID

  • Split the values

    Can you pls help me on this when the value in col is 765,It has to be splitted into three values 7,6 and 5 this is the below query written and seems it is not working.. begin      select length(345) into vl from dual;      FOR i in 1 .. vl LOOP