Material codes getting locked

Hi
We have a major problem with materials getting locked when the same material used in Sales Order and OBD or packing and OBD. If the same material is getting packed, we can not do OBD.
As suggested by SAP we have selected delayed blocking in OMJI.
Is there any work around for this issue?
Regards
Shaji

Hi
There is no other work around for this aprt from OMJI. Please contact SAP only for any help if required, they may be helpful in providing late locks to the Material master tables.
Thanks & Regards
Kishore

Similar Messages

  • Material is getting lock with BAPI_GOODSMVT_CREATE

    Hi,
      I have made a RFC by using BAPI_GOODSMVT_CREATE,  but some some times in case the document is not posted due to some error  the material is getting lock  entry in SM12,  and system is not allowing to perform any other work for that material  the code part is below
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
       EXPORTING
         goodsmvt_header               = goodsmvt_header
         goodsmvt_code                 = goodsmvt_code
       TESTRUN                       =  TESTRUN
       GOODSMVT_REF_EWM              =
      IMPORTING
        goodsmvt_headret              = goodsmvt_headret
        materialdocument              = materialdocument
        matdocumentyear               = matdocumentyear
       TABLES
         goodsmvt_item                 = goodsmvt_item
        goodsmvt_serialnumber          = goodsmvt_serialnumber
         return                        = return
       GOODSMVT_SERV_PART_DATA       =
       EXTENSIONIN                   =
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    what can be done for this  also try by adding the
      IF NOT materialdocument IS INITIAL.,                      " befoe commit FM
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    endif.
    regards,
    zafar

    Hi,
      Thanks for your reply, as per your suggestion i modify the code
    as below
    if not materialdocument is initial.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      else.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
       IMPORTING
         RETURN        = RETURN1.
      endif.
    after this the problem solve , just want to confirm whether this concept is ok. as we are executing this from non sap system.
    regards,
    zafar

  • ALE-IDOC ISSUE(material getting locked for enhancement)

    Dear all,
    I have extended the idoc and enhanced inbound material master function module to suite the requirement .
    The challenge is that the material is getting locked when the material sent from bd10 and prodction version view for which function module extended is not getting created.The error log says that "material is locked".But when the idoc is processed again from we19 the material is not getting locked and PV(production version is successfully created).
    Can anybody guide me how this locking issue can be resolved?(have done unlock -lock before and after BDC for Production version).
    Thanks.

    Hi,
    If some one using the same material in another session, definitely the idoc will fail as the material is locked... In order to overcome this first lock the material u want to send, if doing this u get foreign lock then u will know that already someone locked it , so once gain process the same record until the foreign lock is gone, once it is gone process ur record and then unlock the material.
    Regards,
    Nagaraj

  • Material gets Locked - Urgent

    Hello,
    Material is getting locked when two users are trying to TRANSFER POSTING & Post Goods Issue.
    System gives me a error "The Group Data of the Material is locekd by User...
    Is there any OSS note to  correct this error??
    Thanx & Regards,
    Kumar

    hi
    When sombody is making the changes then the system temporaly lock that  datat and you will reieve this message .oce he will finishe his activity and come out of that transaction you can go and make the changes as required .
    There is no oss not required..................
    Regards
    sunny

  • Material Codes - not get transaction from last 5 years

    Hi
    Can we have a list of Material codes which are not in use/transacted from last 5 years?  I mean, want to find out all dormant Material codes.
    How can we find one time used Material codes?
    Thanks
    Ajit

    it depends:
    1. if your company's data was not archived within 5 years.
    2. there are already archived data of MM.
    normally i will use MB51 and get the the list of all material movements within 5 years.
    then you can know what materials have movements within 5 years. (sorting and subtotal in excel)
    then compare with full material list to get the result, with vlookup in excel.
    by the way, MC46,MC50 can also work from certain degrees.
    Edited by: JiQing Zhao on Apr 14, 2011 2:08 PM

  • Mass locking in material code

    Dear all,
    I want to know the transaction code of mass locking the material code.. i can do it individual thru mm02 but i want to do in mass and 2nd is mass locking of material for QC only....pl. suggetst...
    thanks
    sachin

    You can do it through MM17 trxn
    Check
    MASS DELETION OF MATERIAL

  • ALE/IDOC:The group data for the material CS94163AOOO is locked by ECPUSER

    Dear All,
    I have extended the idoc for MATMAS and getting -The group data for the material CS94163AOOO is locked by ECPUSER
    error on receving ( production ) server.I have written BDC in Z-function module to upload the data for extended segments after calling IDOC_INPUT_MATMAS01  function module.
    When the same scenario executed in development server the material is not getting locked and idoc is posted successfully.
    Please guide to resolve the error.
    Thanks,
    Sanjay Deshpande.
    Edited by: sanjay_123 on Nov 1, 2009 4:41 PM

    Hello,
    Can you pls try to use ENQUEUE_E_TABLE or FM specific to lock/unlock MARA table during Idoc creation.
    and put some WAIT statement before creation.
    CALL FUNCTION 'ENQUEUE_EMMARAS'
    EXPORTING
    MODE_MARA = 'S'
    MANDT = SY-MANDT
    MATNR = 'CS94163AOOO'
    X_MATNR = ' '
    _SCOPE = '2'
    *_WAIT = ' '
    _COLLECT = ' '
    EXCEPTIONS
    FOREIGN_LOCK = 1
    SYSTEM_FAILURE = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Then write code for creation of MARA
    Unlcok now like this
    CALL FUNCTION 'DEQUEUE_EMMARAS'
    EXPORTING
    MODE_MARA = 'S'
    MANDT = SY-MANDT
    MATNR = 'CS94163AOOO'
    X_MATNR = ' '
    _SCOPE = '3'
    _SYNCHRON = ' '
    _COLLECT = ' '
    ~Pramod
    Edited by: PKUPADHYAY on Nov 1, 2009 5:40 PM

  • Data not displayed in Z-table when material code (MATNR) entered in selection screen.

    Hi Experts,
    I have a Z-table for a gatepass report which was already created by another developer. This table has many fields including plant, year, material code field. (MATNR) etc
    Now the problem is in SE11, I run the table to display the entries, when I enter plant and year and execute many entries are displayed.properly including material codes(e.g.50008536). 
    But when I execute the same entering plant, year and material code(e.g.50008536) then this message is displayed. " No table entries found for specified key"
    The same thing happens if I am writing a select query in my report to get the data of any particular material code. My internal table is not filled with the data including that particular material code.
    Some more info :
    1. The material code field in the Z-table is assigned the standard material code Data element. i.e. MATNR
    2. Even if I enter '000000000050008536' as input it is still not working. it is automatically changed to '50008536' after executing.
    So please help me where the problem is? I have spent alot of time on this but not able to find the problem..
    Thanks,
    Vishal .

    Hi Vishal,
    Hope I understand  that table content does not starts with zero for material, reply me if i am wrong.
    Use this code before where condition.
    loop at so_matnr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
       EXPORTING
         INPUT         = so_matnr-low
      IMPORTING
        OUTPUT        = so_matnr-low.
    if so_matnr-high is NOT INITIAL.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
       EXPORTING
         INPUT         = so_matnr-high
      IMPORTING
        OUTPUT        = so_matnr-high.
    endif.
    MODIFY  so_matnr.
    endloop.
    if table content is filled with zero use  FM conversion_exit_alpha_input
    Regards,
    Venkat.

  • Old material overwritten by new material code in Product cost collector

    Hi SAP Gurus,
    How can I work around if a product cost collector with material XXX has been overwritten by a new material YYY when creating the KKF6N.
    Both material code having the same plant, same orde type,same production version but just different material code.
    When saving the preliminary costing for the product cost collector for material YYY, the system prompted me the order number 700022 which is already existing and created for material XXX.
    By right, this shd not be happened but indeed it did.
    Now when displaying the report S_ALR_87013127 - Order Selection, the report showed the new material YYY was created with order number 700022 but the content of the data was for old material XXX.
    Now my problem is how can I get back the product cost collector for material XXX as the original order number 700022 was meant for material XXX and not mat YYY.
    And also when executing backflush (MFBF) for old material XXX, the error msg prompted as 'content of order 700022: Mat YYY transferred to interface (IMSEG):Mat XXX due to this I can't backflush material XXX.
    Really appreciate your expertise on this urgently.
    many thanks!

    problem due to system bug, have to log to OSS for help.

  • No link between PR material and PO Material code.

    Dear Gurus
    My industry is textile industry , here issue is that when MRP run it is giving auto PR based on BOM , but when purchase department is received PR , they start analyzing material the material requirement , they check in stock any raw fabric is there or not , if available they send that raw fabric for subcontracting (for dying) then after dying sent for other different operations, and then required material as per PR is ready......
      Now my problem is how to link this auto material PR to different subcontracting PO... because management need report based on what was the material required and why purchase department is not able to provide it on time. please guide me....
    Thanks & Regards,
    Akshay

    Dear Sir ,
    I can not maintain special procurement key as 30 in MRP 2 view as it is not at all conform how material will be procure directly or by subcontracting...
    if i do like that in PO manually change ilem catagory L , but the is possibility that to get right material as per PR purchase has to do more that 2 times subcontracting at different vendor ....if this is the case the material code in PR and PO defiantly different.... will SAP support this that PR and PO item is different?
    Thanks & Regards,
    Akshay

  • Report on material code, description and all unit of measure conversions

    report on  material code, description and all unit of measure conversions ?
    any ideas?

    Material Number MATNR
    with this key and SPRAS (the desired Language key)
    from MAKT you can get the descriptions..
    and with MATNR from MARM you can get alternative UOM and the conversion rates.
    If you need help on MARM how to get the conversions please notify.
    Hope it helped
    Please reward if found useful
    Best Regards

  • Excise invoice for price difference required with material code

    Hi
    In my scenario, we have charged less amount to customer at the time of sales.
    For ex: Sales order was prepared for Rs.10000 and relevant excise duty was (@ 10% was charged). We did delivery and billing. We issued excise invoice as per Rs.10000 and relevant excise duty on it.
    But actual basic price is 10100. We will charge Rs.100 and we have to charge relevant excise duty on it. However there will be no material movement.
    1st i posted Debit note to customer with FB70 with following entry:
    Customer A/c.. Dr 110 (100 + 10% excise)
    To Sales A/c 100
    To Excise Paid A/c 10
    Then i went to J1IH and gave FB70 document reference. Following entry was posted
    Excise Paid A/c... Dr 10 (This amount i gave manually which is OK)
    To Excise Duty Receivable 10
    Now my doubts:
    1. How to credit Excise Duty Payable in J1IH. Which transaction type i need to check for it (DIEX or OTH, etc)
    2. How should i take print of excise invoice (for above J1IH). My material number should also get printed on invoice. But i am not specifying any material in J1IH
    3. 2. Can i create separate transaction type and then use it to J1IH. If yes then how to create and assign

    Hi Tanveer
    I did following steps based on you input
    VA01 - Created Debit Memo no. 3
    VF01 - Billing Number: 130012001 and accounting document number: 100000248.
    J1IS - Clicked on create icon. Entered billing number 130012001, transaction type as OTHR  and other CIN related details.
    It went to next screen. In that screen manually gave material code, units assesable value, chapter id, Basic Ex duty, Ecess and SHEC.
    After giving it gave prompt: Excise Duty will be recalculated. I clicked on YES.
    Entire line item got deleted and nothing happened.
    Please help how to proceed in J1IS with above mentioned data. Which all field needs to be filled in J1IS.
    Please help.
    Edited by: Meenu_ND on Jan 23, 2012 2:54 AM
    Edited by: Meenu_ND on Jan 23, 2012 2:55 AM

  • Search help for material code in VA01

    Dear Experts,
    In VA01 tcode in item level if user press f4 in the material code then we will get all the f4 helps for few fields.Now i need to add one more field  mtart from mara table  in the existing  search help of material code.
    plz suggest me how can i proceed.
    If u have any documets regarding adding one more fied to existing search help plz send me.
    Thanks & Regards,
    farook.
    Edited by: farook shaik on Aug 18, 2009 8:58 AM

    Hi,
       You can do that using search help exits you would find several threads already posted to the forum for this like below:
    Link[Search Help Exits|Search Help Exit;
    Regards,
    Himanshu

  • Sales per material code

    Hi all
    Does anybody knows how to take sales report from SAP per material code.
    Please advice me with Tcode if it's possible.
    Thanks a lot in advance!

    Hi
    Try trans. MCTC it should solve your problem . You can provide the material number and get the required information .
    You can also get the information Sales Area wise and within desired time frame.
    Thanks
    A
    Edited by: A on Mar 6, 2009 11:57 PM

  • Material Code - Report Based on Creation Date

    Hi,
    What is the Standard T.Code to know the Number of Material code created in a day?

    Hi,
    There is no standard report for materials created in a Day,
    You can make use of OIW8 transaction code you will get Material list day wise. click on material field selection list and then give the dates and execute.
    You can make use of MM50 also, take a maintenance status which you have not maintained till now and give the dates and execute you will get the list od materials created in that particular day.
    Thanks & regards,
    Kiran

Maybe you are looking for

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi, I am using Business Catalyst and Dreamweaver to create a trial site. I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site. C

  • Creating a new key in Windows Registry

    Hello all, Have been trying to use JNIRegistry for creation of a new key in Windows' Registry, and it doesn't work. Would appreciate if anyone has an example of how to do it. thank you, Rami A.

  • Setting defaultPanel Ignores panelHeight=false on load

    var Accordion1 = new Spry.Widget.Accordion("Accordion1",{useFixedPanelHeights:false,defaultPanel:1}); So when this page loads the default panel 1 is open correctly but does not have a fixed height. When I go ahead and click on another panel in the ac

  • Ipod Touch , Help with keeping pics after data loss

    Ok well , a couple of weeks ago one of the HDDs in my raid array went down and I lost a fair bit of data , I dont care about the songs/videos etc but some 700+ photos I had on the drive from holidays/birthdays etc I was really upset about. Yes I know

  • How to find all the tables by feild value in oracle

    Hi ... I have a requirement to find the tables in a particular schema(suppose DEMO) by Field value.. Ex: suppose in a  schema called DEMO  i have the tables.......T1,T2,T3,T4,T5.. all the above tables have the name column.. now i wan to know the tabl