WORKORDER_GOODSMVT~BACKLUSH

Hi,
I use above-named BADI to assign batches to the backflushing goods movements.
The triggering confirmations are created step by step due to batch inputs of CO19.
My problem:
The stock isn't updated between the BADI calls. So the first call determines the same batch as the second one. Certainly the second one ends in COGI because of insufficient quantity.
Any suggestions?
Regards, martin

In the PAI of screen their are so many customer exits available. You can implement any based on your need.  In inlcude LCORU_SI10 MODULE customer_exit_after_check INPUT. It is calling FM
CO_RU_PROCESS_CUSTFUNC_CHECK2. Inside this FM so many exits are their use according to your need .
Nabheet

Similar Messages

  • How to use the BADI  WORKORDER_GOODSMVT to meet my requirement?

    Hello Abapers,
    My requirement is I need to display Batch Number in confirmation of production order(co15) which is entered in creation of production order(co01).While debugging the CO15,i got badi as WORKORDER_GOODSMVT.
    I am new to BAdi,HOW to use this badi to meet my requirement.
    Please help for me to solve my problem.
    If any one implemented batch mangement in PP.Please tell the procedure how u achieved?
    waiitng for your favourable replies
    Regards
    Maruthi.

    Hai,
    IN my reuqiremnt,i used GOODS_RECEIPT method to meet my requirement.
    Regards
    Maruthi.K

  • BADI - WORKORDER_GOODSMVT - check for BATCH management

    Hi there,
    I have implemented WORKORDER_GOODSMVT BADI (Backflush method) to fill the batch number with a default value for a given plant.
    This is working fine.
    However, I only want to fill this if the Material in the Production Order is "batch managed" (at the moment it's happening for all materials in the Prod. Order ). This indicator field does not appear to be available in the structures of the BADI.
    If I look in CO02 for the order, I can see a column called BATCH which is filled with an 'X' in certain cases.
    An F1 on the screen field says that it is 'RESBD-SPLKZ'
    However, if I check RESB table (or read RESBD using a function module) , this SPLKZ field is always blank for the given order.
    Does anyone have an idea why this is, or where I can find a proper "Batch Indicator" field?
    All suggestions appreciated.
    I have searched forums and can't find relevant solution.
    Thanks,
    David.

    Hi Bruce,
    I solved the problem by going to MARC table with material and plant, and checking field MARC-XCHPF ('Batch management requirement indicator').
    if this field was set to 'X', I made my change to the CHARG field.
    Hopefully this helps you.
    this is from a long time ago, I should have updated the post sooner - will mark as solved now.
    thanks,
    David

  • WORKORDER_GOODSMVT: Backflush being bypassed

    Hi Gurus,
    I'm using workorder_goodsmvt~backflush to remove the scrap from the quantities. however in CO15, after pressing goods movement, the method is being skipped, i.e. nothing changes with the quantities (i also put a breakpoint). I'm sure the BAdI is active and implemented. What are the other things to check? Are there certain types of orders which does not go through backflushing? Maybe something to do in config? Please help. Thanks.

    Hi Bruce,
    I solved the problem by going to MARC table with material and plant, and checking field MARC-XCHPF ('Batch management requirement indicator').
    if this field was set to 'X', I made my change to the CHARG field.
    Hopefully this helps you.
    this is from a long time ago, I should have updated the post sooner - will mark as solved now.
    thanks,
    David

  • BADI via IDOC ? - WORKORDER_GOODSMVT

    Hi to all,
    I've got BADI WORKORDER_GOODSMVT implemented,
    Using method backfush I'm evaluating reservation numb.
    in structure CT_COMPONENTS, and all it's working pretty good by starting transactions CO11N,
    Real issue is I need this process working via IDOC,
    - IDOC is PPCC2PRETEVENT for PO confermation -
    I wished BADI should've act anyway, but via IDOC it doesn't seem been senstive, or getting involved,
    Has anybody any clue if  this BADI should be used via IDOC
    or how to make it work?
    Many thanks in advance,
    Sergio,
    Edited by: sergio atzori on Aug 29, 2008 1:58 PM

    In the PAI of screen their are so many customer exits available. You can implement any based on your need.  In inlcude LCORU_SI10 MODULE customer_exit_after_check INPUT. It is calling FM
    CO_RU_PROCESS_CUSTFUNC_CHECK2. Inside this FM so many exits are their use according to your need .
    Nabheet

  • Workorder_goodsmvt badi for COR6n Tcode

    Hi guys,
           I need to restrict the quantity field to be changed during production in COR6N.For this i found the badi workorder_goodsmvt.In that i wrote code in GM_SCREEN_LINE_CHECK method.but this method is not triggering...Can anyone please tell me what method should be used for this??

    In the PAI of screen their are so many customer exits available. You can implement any based on your need.  In inlcude LCORU_SI10 MODULE customer_exit_after_check INPUT. It is calling FM
    CO_RU_PROCESS_CUSTFUNC_CHECK2. Inside this FM so many exits are their use according to your need .
    Nabheet

  • Stepwise details to implement/correct the BADI - WORKORDER_GOODSMVT

    Hi gurus,
    Please tell me the step by step procedure to implement the above badi for goods issue(back flush of proportionate (Batch split with partial componentavailability) quantity of components for partial order confirmation during CO11N).Also please indicate how to correct the existing badi
    Jan

    Hi Jan,
    refer to the following link for implementation of BADI:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5e/ebb541c5b63031e10000000a155106/frameset.htm
    Hope this will help you......

  • Order split functionality with PP-PI

    Hello Forum,
    I am not sure whether we can use the order split functionality with process orders .  I had implemented it earlier for a client with discrete MFG production type but not aware whether we can do so in process industry (couldn't find the provision to do so in process order operation overview screen function menu path).
    Cheers
    Kaushik

    Hi Kaushik,
    Yes your right.
    Order split functionality is only applicable for Discrete manfg not for PI industry this is major difference between PI & DM.But you can achieve this at the time of process order confirmation.
    Example :-In the Goods Movement Overview of Process Order confirmation FG material is done Auto GR. This FG material Quantity needs to be splitted. Push button "Split" is provided in the bottom of the Goods Movement Overview screen of Process Order Confirmaton.
    Say FG quantity = 25 KG  which is to be confirmed. Client wants to split the FG quantity into 1 KG wise, for this he needs to split into 25 times.
    You can implement this by using below work order
    Please use the WORKORDER_GOODSMVT for splitting the GR in Confirmation
    This u can implement in PI.Also check Mr.Paulo reply that could be one possibility.
    check & revert.
    TnX

  • Goods Receipt in future Date

    Hi,
    Please tell me if i can restrict the production order for doing GR for a future date???
    If today is 22/10/2009, and i am trying to give the posting date in MIGO as 25/10/2009 then system should restrict it.
    Thanks

    HI
    Check this Badi   WORKORDER_GOODSMVT
    In REM  i have achieved the same with the help of BAdi RM_BFLUSH_GOODSMVT.
    Check the first one with the help of ABAPer
    Regards
    Anupam Sharma

  • Unit of Measurement - MB31 Goods receipt for order

    Hi,
    we maintained production unit (MARC-FRTME) for some materials. Now the goods receipt for order with MB31 suggests this production unit (MSEG-ERFME). The customer's requirement is that MB31 suggests the quantity in base unit of measure (MARA-MEINS). The quantity should be the entered value in the confirmation of the last operation.
    I implemented BADI WORKORDER_GOODSMVT (IF_EX_WORKORDER_GOODSMVT~MANUAL_GOODS_RECEIPT) to convert the quantity from production unit to base unit of measure. The stock is increased correctly but the Purchase Order Unit of Measure (MSEG-BSTME) is in base unit and not in production unit. If the material document is displayed with MIGO the quantity ordered (Tab Quantity) is wrong. The quantity is the production quantity and the unit is the base unit.
    For example:
    MARA-MEINS:   PC
    MARC-FRTME:  XY
    1 XY <=> 12 PC
    Production order: 13 XY (=156 PC)
    MB31 with 100 PC
    MIGO: Quantity orderd: 13 PC (instead of XY)
    Does anyone have an idea how this problem can be solved?
    Thanks!
    Best regards
    Martin

    You can attend this issue by activating batch classification. Extend the classifcation view and maintain batch classification for the Unit of measurement of the material.
    Chris

  • How i know Authorization object in system?

    Hi all,
    i create new BAdi with Enhancement Spot: ZWORKORDER_GOODSMVT (copy WORKORDER_GOODSMVT in standard SAP)
    now i have Badi definition: ZWORKORDER_GOODSMVT
    with Interface: ZIF_EX_WORKORDER_GOODSMVT
    all ok.
    now how i can see authorization object in Badi definition: WORKORDER_GOODSMVT (standard)? i already creat Authorization object but now i don't know what field and choose in maintain the authorization (from Badi definition: WORKORDER_GOODSMVT )
    ex: 1. in package BSFC have interface IF_EX_BSFC_POLICY and method GET_POLICY
         2. Authorzation object: B_BSFC (have field name: BSFC_APPL and ACTVT in maintain the authorzation)
    because i get this and solve in my job.
    when i activate the BAdI function called WORKORDER_GOODSMVT and assign to the a.m. authorization object???
    Processing Logic: 
    •     The backflush errors are created after the execution of backflushing transaction in Repetitive Manufacturing (REM) – t-code MF42N or MFBF
    •     If during the backflush execution the components are not available in the respective production storage location then system by default will create backflush errors
    •     Backflush errors will need to be cleared everyday and must be cleared before end month stock take
    •     Backflush errors can be processed using the following t-code:
    o     MF45 – Individual
    o     MF46 – Collective
    o     MF47 – Post processing List
    o     COGI – Post processing Individual Components
    Authorization will be applied only for COGI, while others will not be used in PSECI
    •     Create new authorization object called Z_PP_COGI to be assigned later to the user id
    •     Activate the BAdI function called WORKORDER_GOODSMVT and assign to the a.m. authorization object
    •     For unauthorized users, an errors message will appear if they try to delete the backflush errors in COGI transaction as follows:
    o     You are not authorized to change/ delete the backflush errors! Please contact your superior!
    Thanks so much all, ......

    Hi Nguyen,
    Check the following links:
    http://help.sap.com/saphelp_erp2004/helpdata/en/b8/bdb83b5b831f3be10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/52/6714a9439b11d1896f0000e8322d00/content.htm
    Regards,
    Rajesh K Soman
    <b>Please reward points if found helpful.</b>

  • Goods movements overview in co11n

    Dear friends,
    In production order cofirmation (CO11n) if we click on goods movements’ button it will take you to new screen with goods movements’ overview table control. My requirement is that I want to make some quantity fields in table control as display only.
    For that I tried
    CONFPP01
    CONFPP02
    CONFPP03
    CONFPP04
    CONFPP05
    CONFPP06
    CONFPP07
    And BADI WORKORDER_GOODSMVT
    But of no use. Can anybody suggest me a BADI, or any other possible solution?
    Thanks in advance.
    Regards,
    Mubashir

    Hi,
    I understood that going into GoodsMovemnt overview is being compelled by the Difference between the Actual quantity issued and Planned quantity in BOM for a particular component.
    After backfush, still by MB1A, we can post the goods movement against that order. (Movements 261,262)
    I hope this alternative is considerable.
    Otherwise Please remove the Goods issue storage location in the order or Material master. Then system prompts for this. There u can enter the quantity as u want.

  • Change field value in mb31

    Hai all,
    I need to set a value for mseg-erfme in mb31 using BADI.
    The value is 'ST' in mseg while debugging. But i need to change the value 'ST'  to  'PC'(base unit) using BADI.
    Can anyone helpme?

    HI,
    In this WORKORDER_GOODSMVT method 'GOOD_RECEPIT' u can change the value of meins.
    other wise look at this.
    WB2_GOODS_REC_INPUT
    Thanks,

  • Production order Unit of Messure-decimal rounding issue

    Finished product is a Metal conveyor belt.
    Material Base UoM is Links u2018LKu2019
    Alternative UoM are:
    10 link = 1 Feet
    1 meter = 3.2808 Feet
    Plant X800, (MTO) Sales orders created in meters. So production orders in Meters (MM02->work scheduling view->Production unit & Unit of Issue maintained in Meters)
    Now Issue is:
    If production order is 10 meters, this is converted to 328.084 LK. Physically shopfloor receives only 328 LKs after production.
    Links cannot be in decimals. Inventory and Costing is done u2018per Linku2019.
    This needs a decimal rounding to u20180u2019 value. Expectation will be 328 LK.
    If the value is 1.49 then the rounding value will be u20181u2019 (< 0.5)
    If the value is 1.5 then the rounding value will be u20182u2019 (>0.5)
    Please help me. Is there a config Setting or a work around (user exit)?

    Your requirement cannot be fulfilled by customization. Nor it can be perfectly implemented though BAdI's or Userexits.
    The settings in CUNI only hide the decimal zeros but it won't prevent either users or programs to enter decimals. in R/3 quantity field uses the domain MENG13 so in your case, in the production order it will always display in decimals (eg 328.084 LK) .You can refer to note for more understanding about CUNI settings and IM postings 931971
    Also the following threads:
    UOM EA is taking data in decimals
    The solution (this is more of workaround) I would suggest is you need to implement a BAdI WORKORDER_GOODSMVT in which it will round off according the logic you mentioned in your posts above. Also you need to implement a user exit for CO11N/CO11/15 to confirm the same yield according to the same rounding logic. Since yours is MTO you need to evaluate the impact of this in other areas mainly controlling and finance.

  • BADI for co11n

    hi experts,
    I am using WORKORDER_GOODSMVT BADI to put check on quantity field of CO11n tcode. I found the method GOODS_RECEIPT having the changing parameter CT_GOODS_RECEIPT which is containing the field ERFMG (quantity).
    I created an implementation ZBADI_co11n for the BADI.
    I am trying to write code like this :
    IF ct_goods_receipt-erfmg = 0.
    MESSAGE e001(0) WITH ' Please Enter Exact Quantity ' .
    ENDIF.
    it is throwing error CT_GOODS_RECEIPT is a table without header line therefore has no component called ERFMG.
    can anyone tell what to write in the mehtod GOODS_RECEIPT for my check on field.
    help pls

    Hai,
    METHOD if_ex_workorder_goodsmvt~goods_receipt.
      DATA : wa_mesg TYPE imseg.
      LOOP AT  ct_goods_receipt INTO wa_mesg.
        IF wa_mesg-erfmg = 0.
          MESSAGE e001(0) WITH ' Please Enter Exact Quantity ' .
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Here ct_goods_receipt is internal tbale so decl. one work area wa_mesg like above code.
    Thanks,
    Durai.V

Maybe you are looking for