Bapi goods movement Create (User Locking Error)

HI all ,
         Please help me in the issue . I am doing Goods movement through BAPI(BAPI_GOODSMOVEMENT_CREATE) and i am scheduling this job in background . I am gettigng an Error of Plant data of Material locked by the user(myself) and for the next iteration its not  proceeded . Please help me how to get rid of the error .
Thanks in advance,

Hi Eric,
Is the value get updated in the table?  After the Goods movement BAPI Just do wait up to 5 seconds and do the bapi commit.
Other wise if it is possible just debug .
With Regards,
Sumodh.P

Similar Messages

  • Bapi goods movement create

    i am using BAPI_GOODSMVT_CREATE for goods issue. the movement type i am using is 261. The goods issue doesn't happen when ever the particular order is set never for the field  Relevance/Generation of Purchase Requisition in the transaction IW32->component-> Reservation. i am using GM code 03

    after somemore analysis, the cause of the problem seems to be checking bulk stock in IW32. but why doesn't it get posted if Bulk is checked.
    Yeah i am commiting. The problem is the BAPI itself fails. That is the return table has a error message For reservation 0000153074 0001, no movements can be posted

  • "no enough space to create shared lock" Error Occured

    Hi, Everyone
    After creating a new Sales Order in the CRM System, there was a Error "no enough space to create shared lock".
    who have met this issue before?Please tell me, thanks a lot.
    Best Regards,
    Bonnie Spear

    Hi Bonnie,
       Shared Lock means Several users (transactions) can access locked data at the same time in display mode.
    Requests from further shared locks are accepted, even if they are from different users.
    But if you are creating a new sale order this should not occur. May be you should check your customizing settings.There may be some problem in that.
    Hope this helps.
    best regards
    Sourabh

  • Info on SRM of Good movement created on R3

    Hi all
    I'm using SRM 5.0 ECS.
    I create good movements  on R3 system.
    There is some FM on SRM that retrive the information about GM on R3 system?
    thanks
    enzo

    Hi,
    To retrive SRM confirmation you can use the followinng function module to get confirmation detail.
    BBP_PO_CONF_GETDETAIL
    If you want to retrive the R/3 confirmation in SRM, then you need to call this BAPI in SRM with R/3 destination.
    BAPI_GOODSMVT_GETDETAIL
    Cheers, Renga
    **Award points if helpfull**

  • Bapi - Goods Movement

    Dear Gurus,
    I am using Bapi to create production order confirmation by time tickets. That is insists of using the transaction CO11N i am using bapi becoz for the confirmation input getting from non sap.
    Here i have used two BAPI'S
    1) BAPI_PRODORDCONF_GET_TT_PROP
    2) BAPI_PRODORDCONF_CREATE_TT
    I am getting the input from external system and passed to first bapi and according to the inputs i get  the proposed value and i passed the output of first bapi to second bapi as input and i create confirmations.
    In that i am using Back flushing concept for the goods movement. so when i am confirming system automatically propose materials to goods movement. Here i have finished goods material (ie) movement type is 101 and for consumption material (ie)261 and i have byproduct material as 531 movement.
    When i am using the above said bapi to confirm the production order - order quantity partially
    E.g:
    Order qty - 1000kg
    1st confirmation - 100 kg using the bapi's
    i have back flush component as
    MAT A 100kg - PLANT - STOR LOC - MOV TYPE(101)
    MAT B 120kg - PLANT - STOR LOC - MOV TYPE(261)
    MAT C 20kg - PLANT - STOR LOC - MOV TYPE(531)
    For this system creating two material document as for 101 movement type separate document and for 261 and 531 movement material separate document.
    But when i am using CO11N transaction to confirm the same with three material system creating one document.
    Why system is creating two material document when i am using the functional module? i need to create one document for this.
    Please suggest your idea.
    Regards,
    Vimal

    Dear Vimal,
    please review SAP's FAQ note 540392, question/answer #10.
    Regards, Andreas

  • NW2004s EP create user fails; error in persistence

    I am trying to create user and add roles, however whenever I attempt to save, I get an error message that states there is an error in persistence, please contact administrator.
    Has anyone seen this error before?
    Thanks,
    JR

    Hi All,
    I had the similar problem while creating users. I was able to create users in ABAP but not in JAVA.When I logged into UME using J2EE_ADMIN, and tried creating a user it gave an error.
    "Error occured in the Persistence, Contact your administrator"
    I found a solution for the error.
    Check the roles for SAPJSF user on the ABAP
    system
    If the role assigned is SAP_BC_JSF_COMMUNICATION_RO change it to SAP_BC_JSF_COMMUNICATION.
    Restart your SAP Server and try whether u get the same error.
    If the situation persists,
    Check dataSourceConfiguration XML file in configtool.
    Refer SAP Note 718383 for the procedure.
    Read the following link for details before making any changes: http://help.sap.com/saphelp_nw04/helpdata/en/81/0e0f61b566dc44bbb4055b3ccd25be/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/81/0e0f61b566dc44bbb4055b3ccd25be/frameset.htm
    Reward points if solution given helps in solving!
    Thanks,
    Jeya Preethika

  • Changes in GOOds movement (C011n ) user wise.

    Hi Frnds,
      When  i go to CO11N -- Goods movement screen there i have a Lay out option where i can Hide the quantity , i want to do it user wise , now in the total system the Quantity coloumn has got hided , i have to do it user wise, is there option for that ?
    Regard
    Rajesh

    Hi,
    In user maintaince SU01
    Parameter tab
    enter parameter ID CORUPROF
    Now enter the profile of co11n infront of it.
    Nowthe user will see the layout which you have maintained in the profile
    Regards,
    Vishal

  • Server Error on Create user page in 9iAS Portal 9.0.2.0

    Hi,
    I have installed Oracle 9iAS Portal 9.0.2.0 on WinNT
    I got the SSO page loging thru admin login and everything is fine .....i can get into build page groups etc.....
    Problem
    creation of users
    When i click Build --> Administer --> Create User
    Page error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Oracle HTTP Server/1.3.22 Server at accentur-jpdq.accenture.com Port 7777
    Kindly let me know how to solve this and get the Create User page --> To Create users ....
    Thanks & Regards,
    Gopinath.G
    Accenture Technology services.
    Bangalore,INDIA

    Can you pls confirm if OC4J_DAS instance is up?
    Refer Oracle9i Application Server Administrator's Guide
    Release 2 (9.0.2) -> Starting and Stopping the Application Server for 'Starting an Infrastructure'
    link: http://download-west.oracle.com/docs/cd/A97329_01/core.902/a92171/start.htm#1011347

  • User exits when posting purchase document and goods movement (GR)

    I want to update some custom tables when posting PO and goods movement (GR) .
    Please suggest user exits for both posting.

    Check the below exists
    FOR PO
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    For Goods Movement
    LMR1M001            User exits in Logistics Invoice Verification
    LMR1M002            Account grouping for GR/IR account maintenance
    LMR1M003            Number assignment in Logistics Invoice Verification
    LMR1M004            Logistics Invoice Verification: item text for follow-on docs
    LMR1M005            Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006            Logistics Invoice Verification: Process XML Invoice
    MRMH0001            Logistics Invoice Verification: ERS procedure
    MRMH0002            Logistics Invoice Verification: EDI inbound
    MRMH0003            Logistics Invoice Verification: Revaluation/RAP
    MRMN0001            Message output and creation: Logistics Invoice Verification

  • During conf-plant field in goods movement screen - to be didplay

    During Confirmation of a process order, in the goods movement screen, user can change the plant for a component...As a default it is copying the order header plant.
    Since it is a changeable field i.e. value can be changed , user is changing the filed value and system is issuing the material from that plant.
    Since the user has authorization in many both plant, hence I cannot restrict by authorization.
    I tried in CO86 to change field status, but I am not in the position to get the plant filed in goods movement screen.
    I am changing the screen with transaction variant, but I need to change all the training documents which  is very big job and train many people.
    Is there any other way out?

    Hi Rajesha
    Not fully sure but i think you can use the BADi ( WORKORDER_CONFIRM) to acheive this.
    BADI Details-
    Definition - WORKORDER_CONFIRM
    Interface - IF_EX_WORKORDER_CONFIRM
    Methods = AT_SAVE, BEFORE_UPDATE, IN_UPDATE, AT_CANCEL_CHECK
    Within this  a system message may be issued only in in these conditions, while saving the confirmation ERROR_WITH_MESSAGE (for AT_SAVE method) or NOT_ALLOWED (for AT_CANCEL_CHECK method) at the same time
    Just try this with your ABAP consultant  ...
    IT'll not make the plant field in display mode..but send an error if doesn't match with the plant in order header
    Best Regards
    Sumit Sharma
    Message was edited by:
            Sumit Sharma

  • New Goods Movement Type for Inventory Manager

    Hi Guys,
    I need to change a goods movement code used on Mobile App Inventory Manager 4.0 to a custom (Z) goods movement code, the fileds are the same so I thought changing the constant will work for this as we do a GoodReceipt with no reference to Purchase nor Production order (gmCode = 501) with a custom, copied from standard, Movement type gmCode = 950 (this is a well known practice on ERP). I have changed only the global constant on my copied IM application, for testing purpose and the local GR was created with gmCode = 950 instead of gmCode = 501, but when I was transmiting in order to create goods movement document on SAP, the application throws an error like: "PostReceiptsSteplet - Goods Movement Impossible with good movement type 950 - Server error". So I would like to know first:
    If is it possible to include or change the standard gmCode for custom gmCode on mobile app Inventory Manager 4.0?
    What would it be the Best Practice to do this? The steps to include a custom movement type, now I know is not only changes on global constants
    I have checked the java doc for this method "PostReceiptsSteplet", and it did not say anything about the constructor .... or how is used... what has inside... what is the condition of execution.... nothing ...
    Please Help... Mark Pe Stephen Streeter Jason Latko Omar Candelaria Manju Venkatesha
    BR,
    Mariana
    Tags edited by: Michael Appleby

    Jason Latko
    If those java source code are so troublesome to request... why should I request them if I won't change the app's base functionality??. Instead of requesting those java source code, the documentation of the java doc should improve, well the documentation in general for this app should improve ... Is only a suggestion ... I'm trying very hard not to ask for those source code, because what Mark Pe  answer me on another post: If I ask for them, a disclamer must be signed because I could change a base functionality... and that's perfectly fine. But if I need to extend a class and add a few field: why do I need to ask for the code instead of checking the documentation and apply the customization needed?
    Now I have some trouble extending a SAPOBJECT, because I don't quite understand the design of how you manage MaterialDocument / MaterialDocumentItem on the app. But I will post this question on another thread
    BR & Always Thankful
    Mariana

  • Goods movement in CO11

    Hi,
    In CO11 T.code ,the system allow to save the goods movement without saying any error message and waring messge  and the GOGI T.code is not displaying the problematic materials wihch have not issued during the confirmation.(9This problem is coming in PRD but QA server it is working fine.)
    Regards,
    Renuga.A

    Hi,
    The problem is coming due to SAP1-Process control key - OPKC T.code  -the value of backflush has has assigned to  background job because of this the user confirmed the PP order  without  any goodsmovement error .Now how to find that the materials which are not consumed during the confirmation because COGI report is not displaying the goodsmovement error.kindly give the solution for this.
    Regards,
    Renuga.A

  • Number range error in goods movement BAPI

    Dear friends
    we are using the BAPI BAPI_GOODSMVT_CREATE to create a material reservation with movemnet type 201. although all the fields are maintained properly i get an error number 136 - number range different. i checked the number range and found it to be ok. can anyone please help me out
    thanks in advance
    Gurvindre

    Hi,
    Please check and format your table data before sending it to bapi. I mean to say u might be missing conversions or validations for some fields.
    I guess the data you are passing in first two lines meets thee bapi requirement without any conversions, whereas same is not the case with other lines od data.
    I hope this will help you in resolving this issue and close it.
    Appreciate if found helpful!!!
    Regards,
    Vinit

  • 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

  • Confirmation of process order create : goods movement

    Dear Sir/Madam ,
             I am using the Transaction Code - CORK for confirmation of process order , but promblem is that when i am saving the goods for confirmation then material pi101 has some error i.e the material pi101 is locked by another user or something , then that is not confirmed but rest of the material which are having 531 movement are confirmed ,
    so i want that if the first material i.e pi101 which has 101 movement that should be confirmed first then after that rest of the goods having 531 movent confirm,
    i have already  searched the userexit for transaction cork i.e CONFPI05 when saving the data and another one is CONFPI06 for   Actual data transfer plz tell me what will be the logic and which structure to call in this userexit because in this userexit the structure which is present is not of use .
    thanks and regards ,
    arun

    Hi,
    I believe you would need to append the below line for your code for goods movement.
    wa_timetickets-order_itno = p_itno.  " Order item nos.
    Check & revert if it resolves the issue.
    Regards,
    Vivek

Maybe you are looking for