How to unlock material in SAP?

Hello everbody:
I want to know how to unlock some material, before of that I have entered to the transaction mm06 for locking my material in some centers and warehouses.
Thanks.

Hi Robert,
SM12 is the Tcode used to handle lock object's which are already opened  by a User, but to unlock a material we can do it using MM06 or MM02 also .
Refer the below link for SM12 lock objects :
SM12 - Unlocking an ABAP (TADIR) Object
Regards,
Lokeswar.

Similar Messages

  • How to unlock material and batch at MIGO

    hi all,
    My requirement is to post another transaction using BAPI_GOODSMVT_CREATE at MIGO in the background.
    let say after posting movement type 101..i have to post another transaction of same material in same plant and in same Batch Using BADI,
    The problem is, material and batch name were currently lock by movement type 101, So BAPI giving Error that Batch BHEL001 of material 1000000000004 is already locked by user01. i.e. from my ID.
    Is it possible to remove this lock object?
    These are the lock objects at SM12.
    E     MCH1     11000000100000000000400000XXXXX     0     1
    E     MCH1     11000000100000000000470206XXXXX     0     1
    I tried
    CALL FUNCTION 'DEQUEUE_EMMCH1E'
    'DEQUEUE_all'
    i don’t want to consider the wait options..
    My problem is to remove  lock objects in order to transact another movement type
    thanks for your responce..
    Pankaj

    Hey,
    I can think of something like this..
    *Read all the lock details in system
    CALL FUNCTION 'ENQUE_READ2'
      EXPORTING
        gclient = sy-mandt
        gname   = ' '
        guname  = '*'
      TABLES
        enq     = lt_enq_read.
    *We will search entry for table level lock for our table
    LOOP AT lt_enq_read INTO lw_enq_read
    WHERE gname EQ 'RSTABLE'
    AND   garg CS 'ZTEST_SHUKS3'.
      MOVE-CORRESPONDING lw_enq_read TO lw_enq_del.
      APPEND lw_enq_del TO lt_enq_del.
    ENDLOOP.
    *Delete table level lock entry for our table
    CALL FUNCTION 'ENQUE_DELETE'
      EXPORTING
        check_upd_requests = 1
      IMPORTING
        subrc              = lv_subrc
      TABLES
        enq                = lt_enq_del.
    You should first search for lock and manually delete them using above FM.
    Hope it helps
    Thanks,
    Nitin

  • How to Unlock the Object in SAP Solution Manager

    Hi all,
    Iam trying to Upload the TS into Solution manager, but the Project Documentation TAB is locked by another User.So i am unable to get ADD button enable
    I dont have access to SM12 or SE03. How to Unlock this
    Regards

    This is not the right forum to ask your doubt. Post this in Solution Manager forum
    SAP Solution Manager
    Regards,
    Prateek

  • How to unlock DDIC & SAP* user in 000 client-Sybase database

    Dear Experts,
       Accidentally DDIC and SAP* user in 000 client has locked. We are using SYBASE ASE database. I know how to unlock user in other database (eg:update <sid>.USR02 set UFLAG = 0 where BNAME = '<user id>'' and mandt = <clinet number>;).
       what is the equal query in Sybase.
    Thanks, Jyothish

    Hi Jyothish,
    Please try below commands
    Login to Sybase ASE database using
    isql -Usa -S<SID>  ( it will prompt for password)
    use <DBSID>
    To check the account status
    select UFLAG from USR02 where BNAME ='SAP*' and MANDT='000'
    go
    To unlock the account
    update USR02 set UFLAG=0 where BNAME='SAP*' and MANDT='000'
    go
    You may add schema owner SAPSR3.USR02 in the query if above query does not work.
    Hope this helps.
    Regards,
    Deepak Kori

  • How to add Material photo in SAP

    Hi folks,
        Does anybody know how to add material photo to material No?
         As now, when our old spare parts are bad, maintanance user have to find a new one to replace, so they need to provide the material No to warehouse user or purchase dept.
        But now as there are a lot of spare parts in SAP, iIt's difficult for them to appoint SAP material No from layout, so we want to add photo to material No.
    Great thanks!
    Li Jing
    Edited by: Li Jing on Apr 2, 2010 12:14 PM

    When viewing material, from main menu select System > Services for Object.
    You may get a choose object type option, if you do, choose a std way to work e.g. always use Object = Material.
    You'll then get a mini free floating toolbar. Select the far left Icon and Create an attachment. Navigate to your picture and upload.
    To view the picture, select the Icon second left (this is greyed out if there are no attachments).
    You can attach any number of pictures or Word documents etc.
    Regards,
    Nick

  • How to unlock users in a SAP system if all of them are locked

    How to unlock users in a SAP system if all of them are locked
    Posted: Mar 21, 2007 10:07 AM         Reply      E-mail this post 
    Hello Experts,
    In any SAP System,if a user having authorizations has mistakingly locked all the users of the SAP system,then how wll we unlock those users bcoz we wont be able to logon into the SAP System. Requested to revert your valuable replies at earliest.This happened with us,how to resolve it.My Email Id is [email protected] .
    Regards,
    Saumya

    Hello Siva And Manas,
    Thanx for ur replies .
    Manas: These SQL statements we hv to run at the Command Prompt level only na.......
    Siva : U r telling to delete the SAP* user ,u dont mean with the System created default user SAP* rite but u mean to delete our self created SAP*/any super user rite? Secondly how to delete tat user at the database level?
    Regards,
    Saumya
    If all the users are locked , they can only be unlocked via sql.
    Actually waht happens is if the uflag field of an user in table usr02 is 0 then the user is unlocked. Different values of the uflag field in table USR02 mean:
    0          User not locked
    32         Locked by CUA central administrator
    64         Locked by administrator
    128       Locked after failed logon
    Incase all the users are locked execute the following sql to unlock them
    update sap<sid>.usr02   (means update sapd01.usr02 or sapq01.usr02 etc)
    set uflag='0' ;
    commit.;
    This unlocks all the users.
    update sap<sid>.usr02
    set uflag='0' where bname='xxx';
    commit.;
    This unlocksonly the user xxx.

  • Packing how do u configure in sap for any material

    Pls let me know
    1.The process of packing for any material in sap
    2.If a project is going live on 1/06/07 and if delivery , billing takes place in the legacy system on 30 and 31/05/07 how do u activiate it in the prod system
    3.what is the exact role of migo and miro process in third party sales

    Process of packing
    Path: IMGLogestics executionshipping--packing
    1)  Define Number ranges for Handling Units
         Here we define the number ranges for packing the units.
    2) Packing control by item categories:
        Here we define if the items categories that we use can be packed or not.
    3) Define requirements for Packing in the delivery
        Here the requirement for packing is set. We are using std requirement. We can create our own requirement for example saying that the packing is not possible if credit block exists.
    4) Define packing materials
    Here we define the packing materials that we use. the material master for  materials must be created and the material type is VERP. In the sales: general/ plant view in packing material data the corresponding packing material has to be enterd in the packing material type field. Ex: you create packing material Z003 and call it wooden box, then you must enter Z003 in the material masters sales: general plant view in the packing material type field.
    5) Define material group for packing material
    This group has to be mentioned in the material master of all the materials that have to be packed. Ex You define a material group grp1, then you must mention this in the material master sales: general plant view in the packing mat grp pack matls field.
    6) Define Allowed Packaging Materials
    Here we define all the materials that are allowed for packing along with the respective mat group. Ex: You have created three packing materials (step 4)
    a) z001: Plastic trays
    b) z002: corrugated box
    c) z003: wooden box
    you have also created a packing material group grp1 (step 5)
    Now you must assign z001, z002, and z003 to the packing group grp1

  • 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 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 updata data from SAP EP into SAP R/3 ?

    Hi,
    How to create the material from SAP CE 7.1 into SAP R/3. Is BAPI  the only way for this or there is some other solution.
    Also, please explain how to use BAPI in this scenario.
    Regards,
    Yogita.

    Please look into the following link
    http://help.sap.com/saphelp_nw70/helpdata/en/19/4554426dd13555e10000000a1550b0/frameset.htm
    Thanks,
    Raju Bonagiri

  • How to unlock all users

    Dear Guru's
                     I am having a situation as .........All users locked accidentally with superuser sap*& ddic . Then How to unlock them .........give me responce..........soon.please
    Regard's
    rajkumar

    hi
    you can do this using sql statements. Chekc the following link
    http://sap.ittoolbox.com/documents/popular-q-and-a/sap-user-locked-4326
    If you are not familiar with sql , better get help from DBA
    THanks
    Prince Jose

  • How SEM BPS works with SAP BW

    Hi,
    How SEM BPS works with SAP BW.
    how to save planned in SAP BW.
    how to work with the data in Basic cubes and Transaction cubes.
    what is the relation between these two cubes.
    Thanks,
    cheta.

    hi,
    chk the link for BPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7c85d590-0201-0010-20b5-f9d0aa10c53f
    Can any body send the material for BPS?
    Authorization for BPS
    Ramesh

  • Report of Capitalization & O&M Material in SAP

    Can anyone tell me how can I check the report of capitalized material & other O&m Material in SAP, I have capitalized the material through Internal orders so want to check its report.

    Hi Jurgan  ,
    scenario is like ,
    earlier for these material , material record was not existing
    but now business  want to create material  master for such consumable material for tracking purpose
    and these codified material is to procured under WBC and profit and loss account G/L not inventory G/L (balance sheet G/l )
    and to pick profit loss G/L  i made material as valuate material only  so that can populate accounting document while transferring value from project to project via  KB61N or KB11N
    now what value is transferring from project to project that will be picked in terms of quantity (unit value conversion to quantity )  in customized report
    hope scenario is clear now ..let me know if any query you have  to give your valuable inputs
    Thanks

  • How to block material issue to work order

    Dear Expert,
    How do block material issue to work order when the item have been flag for deletion in MM module and have also been block for procurement and inventory in mm module.
    Please help

    Hi,
    Thank you for the prompt reply, what you mean by the Standard SAP? can you provide the reference link? I am facing the problem that the item material have been flag for deletion and been block for procurement and inventory in MM module material master data however it still able to material issue to work order. Any ideal how to block the material issue to work order when the material item have been flag for deletion and block for movement in MM material.
    Please help.

  • How the packaging material is treated  in PGI

    Guru ,
    i have done PGI for a material with a packaging material which consistutes a handling unit .
    ie handling unit= materaial + packaging material .
    when i did PGI , maetrial is shown in the storage location as reduced qty . fine .
    where is the packaging material along the material gone . NO trace of it .in mmbe no qty available
    how the packaging material is treated
    please help , my question is genuine .
    manu

    in mmbe , the packaging material qty is zero. but even though i can do pack it and create a HU . and also done PGI.ow the material is reduced its quantity . but no track of packaging material.
    how the HU  related packaging material works . i have limited knowledge on HU .
    please help me to undersytand . in sap library also not much explanation abt it .
    please help

Maybe you are looking for

  • Hard Disk Upgrades on Satellite 2410

    I know that I can just stick any drive that will fit in, but my question is: Can I just use the recovery CD that came with my laptop to re-install windows XP onto the new hard disk, or do I have to get a seperate copy of XP? The model of laptop is a

  • Converting colors to monochrome black (not to grayscale) Pro X

    Hello everyone, I'm trying to convert the colors in a PDF to monochrome black (black, black, and only black, not grayscale wanted!!!), but I only find how to convert in grayscale... I'm using Pro X and I don't have and can't have any other software a

  • ICC Profile Version 4 in Photoshop CS3

    I am using photoshop cs3 and printing with onyx rip software. when i export the icc profile for the printer to use in photoshop for soft proofing, it is not showing up. after talking with an onyx rep. they said that the icc profile for the printers a

  • Max date by month in expression builder

    Hello I'd need to create a new logical column and use the expression builder to make this column return only the last day of each month. I know at answers level I can write something like this in the formulas: Max(Date by month). However I can't do t

  • Error in Federated Search

    Hi, I have writte a federated search to search for external search engine (Verity). When i run the search it is calling the basicSearch method implemented in the remote server but after that it is throwing SAXParserException (Pasted the exception dow