Exit or Badi in the mass processing production order

Hi all,
i'm searching for a user-exit or badi when i save an order. I've found the badi workorder_update~at_save and the user exit EXIT_SAPLCOZV_001 but neither of them works when i use the mass processing function via transaction coid.
Anyone knows if exists a badi or user-exit for the mass processing of orders?
Regards,

COID is a Report , what u are doing in COID.
Regards
Prabhu

Similar Messages

  • Exit/Badi in the transaction of production order create or change (CO02)

    hi all,
    I need an exit/Badi in the transaction of production order create or change (preferably during SAVE).
    I want to change structure AFVGD-usr02,AFVGD-usr03 .
    <b>PPCO0007 Exit when saving production order</b>
    the exit is not applicable EXIT_SAPLCOZV_001 .

    Hi
    we around 200 exit for this tcode i found only three badi for this tcode.
    AFABD_CHANGE          Change Relationship
    CAUFVD_CHANGE        BAdI: Overall Network Scheduling with Selection Option
    SIDAT_UPDATE            Change date of price simulation.
    check with this goto se18 and F4 thn give the Package as CO.enter u get this three.
    reward pointd if use full

  • How to find the list of USER-EXITS or BADI for the transaction ABSO

    Hi all,
    Please help me to find the list of USER-EXITS or BADI for the transaction ABSO & find the exact user-exit which meets the requirement.
    Thanks & Regards,
    gyanaraj

    Hi,
    Copy the problem  in SE38 and  Execute it
    Enter the Tcode  u want
    this  will the  list of Userexits and badis
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.

  • How to stop goods receipt before issueing the goods for production order

    Hi All,
    I try to follow the thread SAP ERP Manufacturing - Production Planning (SAP PP) to do it, however it is not working. I already created the status profile, assigned it to 'StatusProfile Header' in OPJH for the correct order type. However when I change the status to permitted GR, it is still not able to give me to do it in MIGO. Any idea?
    Thanks.

    Hi Justin,
    User status will not sutiable for your requirement, the best way is to use User exit or BADI
    Implement the BADI - WORKORDER_GOODSMVT in this there is method
    MANUAL_GOODS_RECEIPT under that
    write this code
    if_ex_workorder_goodsmvt~manual_goods_receipt.
    data: lt_resb type standard table of resb,
            wa_resb type resb.
    select * from resb into table lt_resb where rsnum eq i_order_header-rsnum and xloek eq space and bdmng gt 0.
    check sy-subrc eq 0.
    loop at lt_resb into wa_resb.
         if wa_resb-enmng < wa_resb-bdmng.
              message E499(sy) with 'Order is not fully consumed. Processing is STOPed'.
         endif.
    endloop.
    endmethod.
    Enhancement: MBCF0002
    Function module: EXIT_SAPMM07M_001
    Code for your copy pasting in the source code of ZXMBCU02.
    Remember to activate the program. In SMOD enter the enhancement, press F8 and then click on activate button.
    *& Include ZXMBCU02
    Regards,
    Sankaran

  • How to restrict the GR for Production Order when Goods Issue is not done

    Hi Gurus
    How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
    Pls suggest best solution.
    Abhijit.

    Hi,
    You can club together the GI nad GR at the time of confirmation..
    I.e Backflush for the components and auto GR for the Product.
    So that you can stream line the Process.
    The best Option would be to use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below link for further details..
    How to stop the goods receipt before issueing the goods for production orde
    Regards,
    Siva

  • How can mass creating production orders???

    In SAP ,we can use CO01,CO09,CO07 to create production order. But by these TOCDES,we only can create one production order for one finished product once a time.
    But we now need to create more then one ,may be more then 50 production orders once a time?
    It is possible in SAP?
    I know we could conver the production orders from plan orders after MRP run.But sometimes
    for some reasons we must create produciton orders manually.And I also know in SAP some TCODE can process many production orders once a time ,like COHV,CORM, can release ,TECO many production orders once a time.
    But how can mass creating production orders once a time,not by mrp run?
    How can batch create produciton orders in SAP?
    Thanks for any reply!

    Hi,
    Use the BAPI - BAPI_PRODORD_CREATE or for internal orders BAPI_INTERNALORDER_CREATE
    Take the help of your abaper, he / she can use the above BAPI to write a custom program to mass create production order.
    Hope the above helps.
    Regards,
    Vivek
    Added
    You can also use the below BAPI's in your custom program:
    BAPI_PRODORD_RELEASE to release the orders
    BAPI_PRODORD_CHECK_MAT_AVAIL for carrying out material availability
    Edited by: Vivek on Mar 22, 2009 8:27 PM

  • User Exit or BADI in APO to change sales order relevant data while CIF

    Hi Everyone,
    I require User exit or BADI at APO side to change customer field kunnr of sales order after it enters APO through CIF.
    My requirement is to replace KUNNR field with KDGRP field of sales order.
    The data will pass through CIF in APO.
    Is there any user exit or BADI for the same?
    Sample code will be of great help.
    Regards,
    Kashyap.

    Hi ,
    Resolved myself.
    customer exit APOCF010
    Regards,
    Kashyap

  • The relationship between production order and purchase requistion After running MPS

    Dear Experts:
         I met a issue . My users want to know the relationship between production order and purchase requistion . In my company we create production order and  purchase req. by  running MRP. our operations are:
    1. T-CODE: MD41  create planned order .
    2. T-CODE: CO41 convert planned order to production order .
    3. T-CODE: MD15 convert planned order to purchase Requisition.
      but I can't  find the  relation of them. would you like to give me some advices? thank you very much.

    Hello
    On the standard MTS process there is no link between the requirement (STO) and the replenishment element (production order).
    See the below extraction from note 12955:
    There is no index that the system could use to determine which issue element (sales order, planning, reservation, dependent requirement, ...) is covered by a certain receipt element (purchase order, production order, purchase requisition, planned order, stock level ...).
    A production order, for example, can be created to cover several different requirements, even when you are using lot sizing procedure EX.
    You can use transaction MD09 or MD04to determine the pegged requirements, but they are calculated dynamically and there is not fixed link between requirement and receipt.
    BR
    Caetano

  • User exit or badi to restrict PROO in Sales Order for certain sales organisation

    Hi SAP SD experts,
    I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
    thanks,
    SG 

    Kindly  explained  how  you have  solved  others  may benefit..
    regards
    Arunkumar

  • What is target qty in process /production orders?

    Hi Experts,
    I am doing a report that needs to display the quantity and costs (target / planned / actual) of each component in the process /production orders. Through tcode COR3 --> given a process order# --> Goto -- > Costs, I can see total target qty / total planned qty / total actual qty for each component. But I can only find planned qty and actual qty from tables COSS, COSP, RESB.  Where to get target qty ?
    Can anybody explain to me what is exactly the target qty? Any tables to get target qty? Or any FM to get target qty?
    Thanks a lot.
    Yu

    Dear,
    Definition: target costs                                                                               
    Product Cost Controlling (CO-PC)                                                                               
    The costs expected to be incurred when a specific quantity is produced.                                                                               
    In Cost Object Controlling, the target costs are calculated on the basis 
        of the planned values of a service unit (such as the planned cost of a   
        production order) and the control quantities (such as the yield          
        delivered to stock).                                                                               
    Target costs can be used for purposes such as:                                                                               
    o   To determine variances                                                                               
    o   To valuate work in process                                                                               
    Total Target Costs                                                                               
    Total value of the target costs.                                                                               
    Calculated with the following formula:                                                                               
    Total target costs = Target cost debit + Target cost credit.                                                                               
    Use                                                                               
    Target costs are the planned costs adjusted to the actual operating    
        rate.                                                                               
    The target debit on a manufacturing order is the sum of the            
        activity-independent planned debit of the order and the                
        activity-dependent planned debit of the order multiplied by the actual 
        quantity of the order.                                                                               
    The target credit of a manufacturing order results from the goods      
        receipt postings to stock. The delivered actual quantity is valuated   
        with the planned price according to the price control.                                                                               
    The total value of the target costs is the sum of the target debit and  
        the target credit.                                                                               
    The target costs are calculated during variance calculation and updated 
        to the database.                                                                               
    The target costs cannot be shown until you have performed variance      
        calculation for this target cost version. The target credit for the     
        calculation of the total variances and production variances cannot be   
        calculated until an actual quantity for an order exists after a goods   
        receipt posting.                                                                               
    For the calculation of variances, the target costs are compared with the
        control costs.                                                                               
    Dependencies                                                                               
    The calculation of target costs depends on the selected target cost     
        version.

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • Changing the Assignment of production order in sales order in MTO scenario.

    Hello all!
    I have following problem:
    After the MRP a production order was created for a sales order. Because of the production in another plant
    the production order which was created automatically had to be technically completed and a new one
    created.
    If you want to check now the availability, the sales order finds nothing, because it's linked to the one,
    which was technically completed. Now is the question how can I change the production order for this
    sales order. (In the production order the correct sales order is connected!)
    As I found out it's connected to the field AUFNR in the table VBEP. But how can I change this
    field within a transaction and not in the database?!?

    No replies

  • How to compare the variances of production order type and get report

    Hello All,
    I want to compare the variances of production order type wise.
    for ex. i want variances of order type PP 01 and PP 02 in a single report.

    Hi Sachin,
    You have to maintain summarization hierarchies to achieve this.
    1. Maintain summarization hierachies with hierarchy level - order type in the t.code.KKR0    
    2. Generate the hierarchy in KKRC
    3. Run the report KKBC_HOE
    Regards,
    Mukthar  

  • Change in Sales order deleted all process production order

    Dear All,
    We have Make to order scenario for our export sales. When we have receive order we make production with reference of sales order with help of t-code MD50 then convert plan order into production order.
    IF sales department do changes in sales order it'll delete all processing production orders So, we have to do revoke all production orders manually.
    2 query is that, Is there any way to run MRP (Make-to-order) on all line items of sales order ?
    Please provide solution.
    Thanks,
    Farrukh khan

    Dear Farrukh,
    There is not tcode to run sales order for all line items, but if you run MD02 it will plan all sales order & line items also. You can run MD02.
    Regards
    Abhijit Gautam

  • Function or  tables to know the positions of production order

    Hi Gurus,
    Someone knows a function, bapi or what are the tables in order to know what are the components of
    production order, in the transaction CO02, i can see the components of a production order but i need
    to replicate this for a z report.
       Any suggestions ??
      Kind Regards
         Noemí

    Hi,
    Check this link...
    Re: Find the table relations of production order and sales order
    Regards
    Debarshi

Maybe you are looking for