Validation before Goods Movement

Dear Gurus,
We want to put validation for GR (movement 101) to production order. System should not allow user to do GR to production order if system status is not CNF (confirm). Please suggest the options with required details.
Regards,
SAP CONS

Hi,
One way is to create a user status in BS02 and forbid the Goods Movement to production order when the status in Not confirmed. Attach the status profile to the Order type.
Once the order is released, the production user can select this status, after confirmed the production user can select another status.
If the status is not confirmed, warehouse person cannot enter Goods receipt to the order.
Optionally you can also look into the following BADI
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Implement the BADI -BADI - WORKORDER_GOODSMVT
in that MANUAL_GOODS_RECEIPT,
Seek the help of your ABAP consultant and try to code to check the system status before creating the goods receipt document
Thanks,
JK

Similar Messages

  • Completion Confirmation of PM orders before goods movement

    Hi,
    Is there any settings available to stop completion confirmation of PM orders before goods movement (release purchase requisitions, create purchase order, goods issuance and good receipt), if stock, non stock material and external service are assigned on order?
    Regards,

    Hi ,
    Not sure but look at BADI WORKORDER_CONFIRM : Business Add-In PM/PP/PS/PI Orders  Operation: Confirm
    regrds
    pushpa

  • Restriction of manual goods movements before confirmation.

    hi dudes,
    can any one suggest me the way to restict MB31 and MB1A before order confirmation.
    thanks in advance
    madhu

    Hi Madhu,
    How can somebody perform an operation and confirm, if goods are not Issued? Anyhow you can use "User Status" to control.  Ex. If CNF is not active Goods Movement (GMPS) not allowed.
    "BS02" and assign this to "order type dependent parameters"(OPJH).
    Hope this helps...Reward your points if so,
    Regards,
    Prasobh

  • Goods movement document based on stock determination

    All,
    I am trying to create goods movement document using BAPI_GOODSMVT_CREATE based on production order for movement type '261'. Before to that we have to use the function module BF_STOCK_DETERMINATION to pick the stock from appropriate storage location( for example: if order quantity is 3; then quantity 2 will be picked from
    Un-restricted stock and 1 qty will be picked from consignment stock). What happens is when it gets into MB_CREATE_GOODS_ISSUE_ITEM inside the BAPI, at the routine "MM07MMFF0_FUSSZEILE_WA_PRUEFEN" there is a routine called "FORM WERK_PRUEFEN(sapfm07m) when it gets into this routine the values in the internal table"T158"
    losses its visiblity. so i get an error "document type" missing, when the function module"FI_DOCUMENT_TYPE_CHECK"
    is called as part of the routine.
    But if i call the BAPI_GOODSMVT_CREATE without calling BF_STOCK_DETERMINATION material document is get created.
    If any one worked on this please help me i tried for more than week but i couldn't solve it. I really highly appreciate you help.
    With regards,
    Shiva.

    Called in two different program and it worked. In the first program i call "BF_STOCK_DETERMINATION" and export the values to memory and then i call the second porgram using "submit...and return"; import the values and called
    "BAPI_GOODSMVT_CREATE".  Material document is created.
    Regards,
    Shiva.

  • Value of the goods movement is negative in GR

    Dear all,
    While preparing GR for an imports sch agmnt we are receiving an error message "Value of the goods movement is negative".
    System is giving the diagnosis of the error message are "Sub-contracting by-product value is higher than GR value" & "Delivery cost is negative".
    But our case is an imports GR and we have prepared GR for same sch agmnt on last month also.
    Pl send us your valuable suggestions to resolve this issue. (What are all the other factors to cause this type of error)
    Regards,
    M.Sarathi

    Hi
    Check the following
    1) In Scheduling agreement additional data for that line in ME32l, check for field Pr.date.cat. It should not be 5. If it is 5 and the price validity falls below GR date then you get this errror.
    2)If you get that Pr.date.cat field in display mode, remove time dependent condition tick from document type config. then it will allow you to change.
    Hope your problem will be solved. If not please revert back
    Regards
    Antony

  • Enhancement in MIGO for Goods Movement

    Hi Gurus,
    I got a requirement to Create a 262 goods movement materials document with reference to a Sub-Contract GR for an account assigned Sub-Contract PO thru TCODE MIGO. The details are describe as follow:
    Once the 101/543 GR movement is carried out, a 262 movement type needs to be executed to reverse the consumption of the material against the service order and bring it back to the inventory (open stock). This movement needs to be triggered once MIGO ‘subcontractor goods receipt -101/543’ is committed (saved).
    When the 101/543 GR movement transaction MIGO is saved-
    1.     User exit needs to be invoked
    2.     Check if the GR is
    o     for an account assigned (EKPO- KNTTP Acct Assignment Cat =F) Sub-Contract PO (EKPO- PSTYP  Item Category L)
    o     AND the service order number (AUFNR) exists in ZXXXXXX (ZSUBCON_VALIDATION) table
    3.     Identify the line item material in the goods receipt document (First item /against movement type 101),
    4.     Identify the service order number (AUFNR) from ZSUBCON_VALIDATION table.
    5.     Call the goods issue (262) transaction via the BAPI using the material derived via step 3 and against the service order number derived via step 4. BAPI_GOODSMVT_CREATE  post goods movements

    Hi Matt,
    There are lots of Exits and BADI available in this transaction. See which suits you.
    Enhancement                                                                               
    MB_CF001                                Customer Function Exit in the Case of Updating a Mat. Doc.   
    MBCF0011                                Read from RESB and RKPF for print list in  MB26              
    MBCF0010                                Customer exit: Create reservation BAPI_RESERVATION_CREATE1   
    MBCF0009                                Filling the storage location field                           
    MBCF0007                                Customer function exit: Updating a reservation               
    MBCF0006                                Customer function for WBS element                            
    MBCF0005                                Material document item for goods receipt/issue slip          
    MBCF0002                                Customer function exit: Segment text in material doc. item                                                                               
    Business Add-in                                                                               
    MB_DOCUMENT_UPDATE                      BADI when updating material document: MSEG and MKPF          
    MB_DOC_BADI_INTERNAL                    BAdIs During Creation of a Material Document (SAP Internal)  
    MB_ME_CSGMT_BADI_SAP                    BAdI: Consignment Processing - Stock Transfer                
    MB_MIGO_BADI                            BAdI in MIGO for External Detail Subscreens                  
    MB_MIGO_ITEM_BADI                       BAdI in MIGO for Changing Item Data                          
    MB_PHYSINV_INTERNAL                     Connection: Core Inventory and Retail AddOn                  
    MB_QUAN_CHECK_BADI                      BAdI: Item Data at Time of Quantity Check                    
    MB_RESERVATION_BADI                     MB21/MB22: Check and Complete Dialog Data                    
    MB_RESERVATION_SCR                      Screen BAdI for Retrofit DFPS                                
    MB_RESERVATION_UPCHD                    BAdI for Creation and Changing of Manual Reservations        
    MB_RES_BAPI_CHANGE                      BAdI: Execution of Changes to Reservation Fields             
    MB_RES_BAPI_CREATE1                     BAdI: Adoption of Customer's Own Fields as Reserv. Fields    
    MB_RES_BAPI_DETAIL1                     BAdI: Display of Customer's Own Fields in Reservations       
    MB_STOR_LOC_BADI_GTS                    BADI to Check and Change Storage Location (GTS Fct. Only)    
    MB_DOCUMENT_BADI_SAP                    BADI for Creation and Changing of a Material Document        
    ARC_MM_EBAN_CHECK                       BAdI: Enhancement of Archivability Check (MM_EBAN)           
    ARC_MM_EBAN_PRECHECK                    BAdI: Enhancement of Archivability Check (MM_EBAN)           
    ARC_MM_EBAN_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EBAN)            
    ARC_MM_EINA_CHECK                       BAdI: Enhancement of Archivability Check (MM_EINA)           
    ARC_MM_EINA_WRITE                       BAdI: Enhancement of Scope of Archiving (MM_EINA)            
    ARC_MM_INVBEL_CHECK                     BAdI: Enhancement of Archivability Check (MM_INVBEL)         
    ARC_MM_INVBEL_WRITE                     BAdI: Enhancement of Scope of Archiving (MM_INVBEL)          
    ARC_MM_MATBEL_CHECK                     Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL          
    ARC_MM_MATBEL_WRITE                     Check Add-On-Specific Data for MM_MATBEL                     
    MB_CHECK_LINE_BADI                      BAdI: Check Line Before Copying to the Blocking Tables       
    MB_CIN_LMBMBU04                         posting of gr                                                
    MB_CIN_MM07MFB7                         BAdI for India Version exit in include MM07MFB7              
    MB_CIN_MM07MFB7_QTY                     Proposal of quantity from Excise invoice in GR               
    MB_DOCUMENT_BADI                        BAdIs During Creation of a Material Document                 
    Regards,
    Atish

  • Error message (M3024) during parallel goods movement

    For publication distribution, collected unreferenced deliveries and goods issues are done in SAP system for a customer group by a program which is triggered by a web service every day. Standart SAP functionalities are used in this program. At goods issue part of program, an error message is occuring "Valuation data for material &  is locked by the user &" with error code :M3024. The user who processes the program is locking himself. Also we have checked the other goods movement types in standart transactions (MB1B-MB11..)and same problem was occured. We have checked the notes that we applied before for to avoid material lock in paralel goods movement. There is nothing changed both in customizing and deveploment after upgrade. So we couldnt find the way to fix this problem. FIRST ANSWER FROM SAP***************************************** Can you kindly review the attached note 70865 with regards to this issue. WE APPLIED.-- We reviewed 70865 and this solution not applicable for our current system. According to note; We set material late lock exclusive time 15 seconds in OMJI. This solution solved material lock error at all plant level. After this solution, We get same batch error during goods movement(m3862), Then We applied note 157423, this note solved material batch lock error during goods movement, At last we have now m3024(Material valuation error lock) error during all goods movement. THEN********************************* As explained in the note 70865 , to ensure data integrity, it is necessary to block the material against updates by other users during good movements. This is achieved by blocking the material plant (lock object MARC) and the material valuation area (lock object MBEW) exclusively against othertransactions which update the material master. What you can do, as advised in the note, is to activate the late block via transaction OMJI. As a result of this change, several users will be able to carry out good movements to the same material and plant simultaneously. The problem is that you will experience a disadvantage of performance loss after this change. Please, notice that with this change in OMJI, several users will be ableto carry out GOODS MOVEMENTS to the same material and plant simultaneously. This change will not allow the simultaneous input of a goods movement and an invoice for the same material (in this case, the material will be locked as soon as the purchase order item is adopted in the invoice and the error message M3024 will occur). When the error message M3024 occurs, you could check with transaction SM12, there you could find some tables like MBEW are locked by user. The table is locked to prevent valuation, quantity etc. to be updated. System does not check if it is standard price or MAP, as soon as you work with one material it will be locked (its valuation data has to be locked, because otherwise there is no guarantee of the consistency of the stock values. Without this lock mechanism the possibility of serious data inconsistencies could arise). your customizing under: SPRO > IMG > Material Management > Set up Material block for goods movements Here you could choose setting 2(at positing) to have only a short locking period at posting. Please review information in attached notes. 521945 FAQ: Material block 322989 Late block: Number of blocking attempts AT LAST ** PROBLEM STILL GOING ON WHAT SHOULD WE DO TO SOLVE THIS ERROR.

    HI Fatih,
    Refer to SAP Note 1744780 - Error message M3024 during Invoice Verification process .
    In the standard system it is not possible the simultaneous entry of a GOODS MOVEMENTS and an INVOICE for the same material and the same plant.
    When you enter the invoice for the purchase order item, the valuation data for the material is updated, therefore this valuation data (table MBEW) needs to be blocked so that it is not changed at the same time by any other transaction (which might cause inconsistencies).
    Resolution
    This system behavior can not be avoided by any customizing setting or any user exit.
    This is correct system behavior to protect the other transactions update the material master.
    As advised in the note 70865 :
    It is possible to activate the late block via transaction OMJI. As a result of this change, several users will be able to carry out good movements to the same material and plant simultaneously, however there is a risk to cause the data inconsistency and performance problems.

  • Error in Goods Movement during order confirmation

    Hi,
    I am trying to confirm a production order through CO11n,but i am getting an error in Goods Movement .
    The following message is displayed in the log -  "* Posting only possible in /11 anperiods 2008d 2008/10 in company code A100*".  Can any one guide me what should i do to confirm the order without any error in Goods Movement,
    Thanks in advance.

    Hi,
    It is advisable to correct the Goods Movement Errors in COGI in the same period (before closing the period by MM in MMPV). You cannot correct the same if the period is closed.
    Only option is you need to open the closed period in consulatation with FI and MM team members
    OR
    Delete the Error movement records in COGI and post the Goods Issue for the production order in Tcode : MB1A with movt type 261 and go inside and mention the materials which you want to issue to the order.
    Hope this will help you.
    regards
    radhak mk

  • VL01N - indicator: Item not relevant for goods movements

    Hello Everyone
    When creating a new delivery, into the administration tab of the Item detail, there is an indicator:
    "No goods movement" into the control data box.
    Based on SAP help:
    When this indicator is set, goods movement is not posted for this item - regardless of the movement type assigned  to it.
    My problem is: that field is not selectable(It is in grey). So we cannot change it. How can we set that field?
    Regards
    stjacqd

    Dear Dstj,
    Check the movement type before that No Goods Movement check box it should be 601 for outbound delivery.Due to wrong movement type check box get activated.
    If you are allow to chenge that movement type then change and try.
    If movement type is incorrect then take help of MM consultant to set the movement types properly.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Nov 15, 2008 6:52 AM

  • Error in posting goods movement with production order

    Hi all,
        I have a custom program that post goods movement using function  'Bapi_Goodsmvt_Create'.
    The material passed into is a FERT material along with movement type 101,  goods-movement code = 02', movement indicator = 'F'.    This function gives an error :
    'E M7 022 Order quantity exceeded by 21.390 cse : item xxxxxx, plant xx prod order xxxxx'.
    The material is a take weight material.   In production order, it came up to 910lb for total weight.
    In goods receiving this material, i have changed the material from 910lb to 1016.950.
    This is where the error came in.  Note: 21.39 cases = 106.95 lb.
    We had such take weight material worked before.
    Can anyone pls suggestion what can be done about this ?
    Thanks
    Joyce

    Hi Dario,
        Because the finised material is a take weight product, it should be ok unless there is a tolerance in the takeweight.   Also the production order is generated from 2 sales orders.
       To migo a production order, would it be A01 Goods Receipt and  R08 for prod order ?
    Thank you.
    Joyce

  • Restrict all goods movements for materials untill the latest costing run ex

    Hi dudes,
    1 here i have a requirement that i need to restrict all goods movements in the month for all materials(SFG,FG) untill the latest costing run(standard cost estimate) on 1st of each month.
    2. Can we restrict the status of process order in such a way that Conformation can be done only after the goods issues against production order. The goods receipt can be done only after the conformation of the process order.
    Thanks in advance.
    Robert.

    Robert,
    Procedurally you can block, by not opening the current period, before the costing run is completed, just when you wanted to release the cost estimate, at that time you can lock all users and then open the next period and then release your cost estimate and then unlock all the users. You need to work with your Basis/MM/FICO guys to have this procedure implemented.
    On the GI Check before confirmation and Confirmation check before GR, you can use Confirmation and GR releated User exits to check. There are many posts on this topic, a simple search on this forum would take you to the thread.
    Regards,
    Prasobh

  • Batch Classification Screen for Goods Movements

    SAP Gurus,
    Very recently (24. April), we experience the following issue: (PP-PI Process Order)
    At the moment of process order confirmation, for any new batch assigned in the good movement overview, there's no pop-up of batch classification screen which allow our user to entry the classification data. And this functionality works fine in the past.
    Do you have an idea that how it happens? We checked the configuration OMCV and master data as well, the settings are all fine to me.
    Best regards,
    Vincent

    Dear Vincent,
    I think you talk about the 101 movement, don't you? In this case this is not possible at all, check SAP note  85310
    Because goods movements can be decoupled from confirmations and          
    processed in background, it was decided that this functionality would    
    not be implemented; therefore this is Standard R/3.                      
    Solution                                                                 
    As a work around for this you have the following options:                                                                               
    1.  Classify your batch manually through Batch Master Maintenance.                                                                               
    2.  Turn off automatic goods receipt and classify your batch through the 
        pop-up that is presented during MM goods receipt.                                                                               
    3.  Do not create your batch during Order Processing. Instead have the   
        system create it during confirmation and at this time you will be    
        able to classify your new batch from the Goods Movement screen       
        COMPONENT>BATCH MANAGEMENT>CREATE BATCH.                                                                               
    Note :                                                                   
    If you want that your batch is classified in the background you can set  
    in the transaction OMCV (classify batches within goods movement          
    overview) that the classification is to happen in the background. You    
    can then utilise the user exit EXIT_SAPMM07M_004 to valuate the          
    characteristics if it is valid for                                       
    your release.                                                            
    Regards,
    Sabine

  • Avoid the delivery creation in MIGO/MB1B at the time of goods movement

    Hi All
    Can anyone please help me to know, How to skip the delivery creation step in MIGO/MB1B at the time of goods movement (311) indebug mode.
    In which part of the code the delivery creation logic would be written...?
    Thanks and regrds
    Karuna

    Hi:
             It looks like to me if there is validation working in background . Please check in GGB4  there will validation active for this asset class . Low value asset check restricts you from posting an amount as specified in OAYK. Please check.
    Br

  • How to block all goods movements incurs to a warehouse?

    Hi all,
    I am wondering if you can provide me a way, a transaction code on how to perform the following?
    How to block all goods movements incurs to a warehouse.
    I am trying to execute LX23 (Stock comparison IM/WM) and try to remove the differences using batch input file.
    SAP document indicates the prerequisite to use this feature is that all inventory movements to the warehouse be blocked before clearing the differences (i.e. adapt the IM figure to that of WM figure).
    Appreciates.
    Daniel

    I think the requirement here is to block inventory movement (GR, GI, PCN etc.) to storage locations which are connected to your warehouse. Blocking movement on storage types in your warehouse does not serve this purpose.
    Is it really necessary to block inventory movement when running LX2? LX23 eventually will need to correct the stock via IM posting at the end.
    Anyway, if storage location level authorisation check is not currently in use in your system (OLMB -> Authorisation Management -> Authorisation check on storage location), you may try to activate authorisation check on storage locations connected to your warehouse so that those who has no M_MSEG_LGO assigned won't be able to post inventory movement to the warehouse.

  • BAPI_PROCORDCONF_CREATE_TT Goods Movement Posting Problem

    When performing a process order confirmation via the BAPI_PROCORDCONF_CREATE_TT, I'm experiencing some difficulties with the goods movements.  Specifically, when attempting to post a goods receipt to the order via a 101 movement along with a goods issue to the order via a 261 movement, the movements are posting as two separate material documents instead of a single material document.  Secondly, the movements post under the transaction code COGI (from the MKPF-TCODE2 field) which seems a little odd to me as I was expecting something specific to the BAPI or at least COR6N.
    For others utilizing this BAPI with goods movements specified, what transaction code do the materials post under and is there some config or setting directly in the BAPI which I'm missing to ensure goods movement postings occur under a single material document?
    Thanks in advance for any/all assistance,
    Randy Lintz
    Foster Farms
    Livingston, California

    Hi Randy,
    Please check with T-Code CORK & also check hte confirmation configuration in OPK4.
    Check the "All Components" under Generally Valid settings Tab.
    Thanks

Maybe you are looking for

  • USB dongles no longer working with hub

    Hello, I am running Logic Pro and a couple of 3rd party plugins which require usb dongles. All of a sudden the usb dongles are no longer found when connected to my 4 port usb 2.0 hub. This was never an issue in the past. Any ideas what might have cau

  • What's it called - Q about drop-down menus

    Hi - I'm trying to find out the name/technique for the situation in which, for example, you use a drop-down menu to make a selection, and the selection "configures" the selections in the next drop-down menu. For example, if you have two drop-down men

  • SAPSCRIPT to save as external file

    is it possible that i can save my output in SAPSCRIPT in an external file like MS Word? thanks

  • Re: What is the point of pre-ordering ... ?

    I also had the same problem with Shadow Of Mordor at my Best Buy in Columbia / Elkridge, Maryland. I made sure to pre-order Sunday so I would get the $10.00 in certificates. I planned to pick it up today, 3 days after release date. The Pre-order card

  • Polkit permissions not allowing logout or shutdown

    I'm new to Arch Linux from Gentoo.  Since the switch I haven't been able to log out or shutdown.  My groups are: [z@arch ~]$ groups lp wheel video audio optical floppy storage power users zachary My .xinitrc runs LANG="ja_JP.UTF-8" LC_CTYPE="en_US.UT