Deletion of components in the production order

Dear all,
Our client would like to delete few components issued to production orders by mistake.(these are bulk materials, transferred from legacy system).
These materials are issued to orders already.
The production orders are already confirmed .
Is there any way to delete these items from the production order?.
regards,
Kumar.

You can directly delete the component bulk material in  Co02 itself in the componet tab.
Do the where used list in CS15, ANd check whether that BOM material have production order in COOIS, and go to change mode of  the order and delete the component manually.
It is very difficult to delete the component through LSMW, reason is the line item component, for one order it may in line item 10, for  other order it may be in  line item 40.

Similar Messages

  • Batch determination in the production order header

    Hi,
    I'm trying to determine the batch for the production order header (AFPO-CHARG). I've set up the search strategy, added the procedure to the relevant plant/order type combination in OPL8 and created the batch search strategy to default the batch, however, when I create the order the batch does not default. Am I missing anything obvious?
    Thanks in advance!

    Hi
    Batch Search strtaegy is used to get the batch numbers of the components in the production order or get the batches in the delivery of the sales order.
    These batches can be selected based on the selection criteria and the sort rules.
    I do not completely understand what you mean by batch at heaser level.
    If you mean to say the batch number for the header material then you can not search that batch since it has to be created first.
    Hope this helps.
    Cheers

  • Deleting the reservations for components of a production order without TECO

    Dear Gurus,
    I forgot to activate the backflush indicator in the beginning. I activated the backflush indicator in between. But for the confirmations already made I had to issue the material as unplanned consumption for the order. This is not clearing the reservations for the material.
    How to delete the reservations for components of a production order without TECOing the production order? My order is not completed.
    Thanks and Regards,
    Raghu

    Hi Kumar,
    I have a production order for 1000 header (A) qty. My control key is PP03 (auto goods receipt from confirmation in CO11N).
    For this order the component B qty is 1000 (BOM consumption is 1:1)
    Without doing GI, the confirmation is done for 300 A qty. I realized that auto GI is not done for the 300 qty of component B as there was no backflush indicator.
    Now the backflush indicator is activated in the production order for component B.
    In the next confirmation for another 300 A qty, automatic GI is posted for 300 B qty because of backflush now.
    Now my confirmed and GR qty for A in two rounds is 300 + 300 = 600.
    GI of component B done is only 300 (through backflush).
    Qty yet to confirm = 400.
    So I did GI of 300 B qty through MB1A (which is an unplanned issue). This does not update the withdrawn qty in the production order. Also the reservations for component B for this 300 qty are not reduced in the system.
    Now the reservations against the order for component B = 1000 - 300 = 700 (which is 300 more than the qty yet to confirm).
    Now when I run MRP for another 2000 qty of A, the procurement proposals for B will be 2000 + 300(undeleted reservations) = 2300. Though the system is behaving properly, this 300 is additional and unwanted.
    For this reason I need to delete these reservations before the MRP run. As order is still open, I cannot TECO the order. Nor can I clear all open reservations from CO11N.
    Thanks and Regards,

  • How to delete the production order in mass?

    Dear Experts
                 Please tell me how to delete the  old production orders?

    Raja,
    CO78 is a one stop transaction for production order setting deletion flag, deletion indicator, archiving and finally deleting.
    Generally we schedule the following programs in background in the sequence below,
    1. PPARCHP1 for Setting Deletion Flag
    2. PPARCHP1 for Setting Deletion Indicator (Once set cannot be revoked- so care should be taken in selection of orders)
    3. PPARCHA1 for archiving the production order with Deletion Indicator active. Basis should set the database/storage space for archiving/storing the records.
    4. PPARCHD1 for Deleting the records from SAP database.
    Regards,
    Prasobh

  • Tables or bapi where i can find the production order' components

    Hi Gurus,
      Someone knows what are the tables or bapi that i need to know
    what are the components of a producton order.
    i can see the production order's comonents in CO02, but i need to know the components of a production
    in order to generate a report.
      Any suggestions ???
    Kind Regards
    Edited by: noemi huerta on Nov 4, 2008 1:15 AM

    Hi.
    This FM has been very helpful to me: BAPI_PRODORD_GET_DETAIL.
    You use this one to make the detailed data of an order available. Using the parameter ORDER_OBJECTS you can define which order objects are selected and returned.
    CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
    EXPORTING
    NUMBER
    COLLECTIVE_ORDER
    ORDER_OBJECTS
    IMPORTING
    RETURN
    TABLES
    HEADER
    POSITION
    SEQUENCE
    OPERATION
    TRIGGER_POINT
    COMPONENT
    PROD_REL_TOOL
    Kind regards,
    F.S.A.

  • How to get components inforation of production order in report?

    Hi,
       I am writing a report which needs get ordered components information of production orders. But, the difficult is when any one delete one component after release, the deletion indicator in reservation will be marked. And if user make the order TECO, all components will be marked as deleted. So, how can I tell which was deleted by user indeed (not caused by TECO). Thanks.

    Can you please advise exactly where or what you found
    Thanks
    Kristen

  • Clear reservation at the production order confirmation

    Hi All,
              In the confirmation of the production order, does clear reversation - clear all the reservations of the BOM Components ?
    What could be possible reason for non clearance of the reversation of the BOM components, when the header material is confirmed ?
    is there any pre-requiste ?
    Regards,
    PSS

    Hi!,
    When you tick "clear open reservation" check box at the time of confirmation, system deletes the reservation and that reservation does not interfere in the planning process but still it allows you to issue the material against that reservation number on MB1A. As per SAP this is how the system is designed. Even you can issue more then the reserved quantity by changing the quantity manually (System will only flash a warning in such a case). If you want the system to prohibit the issue more then the originally reserved quantity, you can convert that warning message to error.
    I hope this will help in solving the issue.
    Regards,
    Uday

  • Project stock components in a production order

    Hi Gurus,
    can anyone help. We have the following situation. Raise Purchase orders for components with reference to a WBS. We then raise Production orders which contain this component without reference to the WBS element. So MRP tries to order twice as much stock as it does not consider the project stock for plant stock.
    This all makes sense to me so I need to solve this problem either by updating the PO component reservation to reference the WBS element or allow MRP to consider the project stock in its calculation.
    Does anyone know how I can do either of the above?
    Ben

    Hi everyone - thank you for answering so quickly. I have already set the MRP4 coll indicator to 2 but it still does not meet my businesses requirements. The best way to explain my issue is if I show how MD04 currently shows the situation
    Stock                                                             10
    Ordres                                                           20 -
    Purreq                                                           10
    Projst                                                              0
    POitem                                                           10       (exception message 20 - so system does not think we need the PO)
    If I delete the Purreq then MRP just creates it again. The production order does not reference the WBS element (however if anyone knows how to link individual order components then that would probably solve my issue as well)
    My requirement would be for the 10 pieces coming on the PO to be available for the production order.
    I can not do this as a transfer posting as it is too late in the process. A TP would only be once the stock is booked in.
    Is there some setting I need to be looking at in the MRP group I need to be looking at?
    Also what also confuses me is that if I raise a 222 movement reservation with reference to the WBS element it still does not consume the PO even if it is the same WBS element.
    THis is a real head scratcher!!

  • Open the reservation for the Production order

    Hi,
    I have post the GI for Production order MB1A with movement type 261 from 100 peaces components. I would like to cancel a partial quantity of components from this posting (about 30 peaces). After cancel it the reservation for the production order has to be open for 30 peaces of components.
    I've canceled it through MB1A and mtype 262 but the reservations weren't open and in the PO (component overview there is always the sign"the Final Issue for This Reservation").
    Which T.code and mtype could I use.
    Thanks
    Dede

    Hi,
    Have you cancelled the movement (of 30 pieces) by selecting the "with reference" option from the menu?
    If not, then reverse the current cancellation document. Then again cancel the 261 movemtn by selecting the with refernce button from the menu. It will sove the problem.
    Check & revert.
    Regards,
    Rohit.

  • How to check the Production order exits

    Hi Experts
    Modification to processing of Command Orders & Tickets
    We require a modification to the processing being performed on sales data originating from the Command Concrete system and potentially from other systems yet to come online (e.g. Pinkenba Cement plant).
    The Sap process involved is ZINT_INBOUND_POLLING and within that, ZINT_CSTPORD_ROUTINES.
    The problem
    Currently there is an assumption that every sales order (and its deliveries) will include a product which is made to order, i.e. for which a production order will be required.
    In ZINT_CSTPORD_ROUTINES, a check is made to identify the production order linked to the sales order. If there is no such production order (usually because of the customeru2019s credit status) then processing of the ticket is terminated.
    This assumption would fall down if an order was to be raised (in Command) on which there is no concrete material. For example, if we sold a bag of pigment or a screed to a customer. In this case the item would be sold from stock and there would be no need for a production order.
    The solution
    In the routine which checks for the existence of a production order, modify the code as follows:
    Inspect each item on the sales order
    If (and only if) there is at least one item with a category of u201CZTACu201D then check for a production order, otherwise process the order in the usual manner.
    ----  ZINT_CSTPORD_ROUTINES -
    *&      Form  process_inbound_data
          Create prod. orders from ticket data extracted from the COMMAND
          system. Note that large portions of the code in this routine
          have been copied from the retired ZPPU_COMMAND_PRODUCTION
          interface program. This was done (1) because the old code works
          and (2) to save development time.
         -->T_ZINT_IDATA  Internal table of interface data
         -->T_ZINT_PARAM  Internal table of interface parameters
         -->T_ZINT_MSLOG  Internal table of messages
         -->P_ZINT_ID     Interface ID
         -->P_ZINT_TY     Inteface type
         -->P_ZINT_IS     IDOC group for interface
         -->P_ZINT_DL     Flag: delete IDOC group when complete
         -->P_ZINT_AL     Flag: run in standalone mode
         -->P_ZINT_NW     Flag: do not log warning messages
         -->P_ZINT_SQ     Interface sequence number
         <--P_ZINT_RC     Return code (<>0=>error)
    form process_inbound_data  tables   t_zint_idata structure zint_idata
                                        t_zint_param structure zint_param
                                        t_zint_mslog structure zint_mslog
                               using    p_zint_id    type      zint_id
                                        p_zint_ty    type      zint_ty
                                        p_zint_is    type      zint_is
                                        p_zint_dl    type      zint_dl
                                        p_zint_al    type      zint_al
                                        p_zint_nw    type      zint_nw
                                        p_zint_sq    type      zint_sq
                               changing p_zint_rc    type      zint_rc.
    program is continuing .............
    I WANT TO WRITE A CODING HERE **********************
    CHECK IF PRODUCTION ORDER REQUIRED
              IF NOT THEN GO TO PERFORM UPDATE DATA
      if production order required then check
                    for each item on sales order item list
                          with item category = 'ZTAC' then
                                     return true
                                next
                                  end function
        if there is no production code
               these has to be check from VBAP TABLE field VBELN and PSTYV (ZTAC,ZTAN Etc)
      select * from Vbap WHERE VBELN = '00000269951' and VBAP.PSTYV = 'ZTAC','ZTAN' Etc
    No production order?
        elseif lva_prodord is initial.
          clear v_messg.
          call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
            exporting
              input  = lva_filemat
            importing
              output = lva_filemat.
        No production order found - log a warning message.
          concatenate 'Production Order not be found for'
                      'Command order' lva_cmdord
                      'Material'      lva_filemat
                      'Customer'      lwa_02-customer
            into v_messg separated by space.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'FIND_SAP_PRODORD'
                         v_messg
                         p_zint_nw
                         lwa_01-ticketnumber.                " RJS
          continue.
        endif.
    Production Order WAS found... Continue creating IDOCS
        lwa_hdrlevel-postg_date = lwa_01-ticketdate.
    Obtain the storage location parameter value.
        read table t_zint_param with key zint_fn = 'LGORT'.
        if sy-subrc ne c_noerr.
          perform write_log_entry
            tables t_zint_mslog
            using  'E' 'ZINT_CSTPORD_ROUTINES'
                       'PROCESS_INBOUND_DATA'
                       'Parameter LGORT is missing from ZINT_PARAM'
                       p_zint_nw
                       lwa_01-ticketnumber.                " RJS
          exit.
        endif.
        loop at l_it_05 into lwa_05
          where ticketnumber = lwa_01-ticketnumber.
          clear lwa_gm_item_create.
          lva_filemat = lwa_05-material.
          if lva_filemat eq lva_prodmat.
            concatenate 'Command ticket-' lwa_05-ticketnumber
              into lwa_hdrlevel-conf_text.
            lwa_hdrlevel-conf_quan_unit = lwa_05-unitofmeasure.
            lwa_hdrlevel-yield          = lwa_05-quantity.
    check whether the confirmed value + current delivery value is equal *
    the production order qty. If the production order value is less
    than the total delivered value, set final conf indicator  and clear
    reservations
            lva_wemng = lva_wemng + lwa_05-quantity.
            if lva_wemng < lva_psmng.
              lwa_hdrlevel-clear_res      = c_false.
              lwa_hdrlevel-fin_conf       = ' '.
            else.
              lwa_hdrlevel-clear_res      = c_true.
              lwa_hdrlevel-fin_conf       = 'X'.
            endif.
            move: 'Z1BP_PP_HDRLEVEL' to t_idoc_data-segnam,
                  lwa_hdrlevel       to t_idoc_data-sdata.
            append t_idoc_data.
            clear lva_formmat.
            lva_formmat                   = lwa_05-material.
            lwa_gm_item_create-material   = lva_formmat.
            lwa_gm_item_create-plant      = lwa_03-plant.
            lwa_gm_item_create-ref_date   = lwa_01-ticketdate.
            lwa_gm_item_create-prod_date  = lwa_01-ticketdate.
            lwa_gm_item_create-move_type  = '101'.
            lwa_gm_item_create-spec_stock = 'E'.
            lwa_gm_item_create-sales_ord  = lva_saleord.
            lwa_gm_item_create-entry_qnt  = lwa_05-quantity.
            lwa_gm_item_create-entry_uom  = lwa_05-unitofmeasure.
            lwa_gm_item_create-orderid    = lva_prodord.
            lwa_gm_item_create-move_mat   = lva_formmat.
            lwa_gm_item_create-move_plant = lwa_03-plant.
            lwa_gm_item_create-mvt_ind    = 'F'.
            clear t_idoc_data.
            move: 'E1BP2017_GM_ITEM_CREATE' to t_idoc_data-segnam,
                  lwa_gm_item_create        to t_idoc_data-sdata.
            append t_idoc_data.
          else.
            clear: lva_loggr,
                   lva_formmat.
            lva_formmat = lwa_05-material.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
              clear v_messg.
              No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              clear lva_loggr.
            endif.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 30.
            else.
              lwa_e1edl21-lprio = 20.
            endif.
          else.
            if lwa_03-satsur eq 'T'.
              lwa_e1edl21-lprio = 10.
            else.
              lwa_e1edl21-lprio = '  '.
            endif.
          endif.
          lwa_e1edl21-berot = lwa_04-driver.
          move: 'E1EDL21'   to t_idoc_data-segnam,
                lwa_e1edl21 to t_idoc_data-sdata.
          append t_idoc_data.
          lwa_e1edl55-qualf = '001'.
          lwa_e1edl55-refnr = lva_saleord.
          move: 'E1EDL55'   to t_idoc_data-segnam,
                lwa_e1edl55 to t_idoc_data-sdata.
          append t_idoc_data.
    Loop at materials - create delivery entry for each
          loop at l_it_05 into lwa_05
            where ticketnumber = lwa_01-ticketnumber.
            clear t_idoc_data.
            lwa_e1edl24-matnr = lwa_05-material.
            lwa_e1edl24-werks = lwa_03-plant.
            lwa_e1edl24-vfdat = lwa_01-ticketdate.
            lwa_e1edl24-lfimg = lwa_05-quantity.
            lwa_e1edl24-vrkme = lwa_05-unitofmeasure.
            lwa_e1edl24-lgort = t_zint_param-zint_fv.
            clear lva_loggr.
            lva_formmat = lwa_05-material.
            clear lva_loggr.
            select single loggr into lva_loggr from marc
              where matnr = lva_formmat
              and   werks = lwa_03-plant.
            if sy-subrc ne 0.
            No logistics handling group - log a warning message.
              concatenate 'No logistics handling group for material'
                           lva_formmat
                          'in plant'
                           lwa_03-plant
                into v_messg separated by space.
              perform write_log_entry
                tables t_ldata
                using 'W' 'ZINT_CSTPORD_ROUTINES'
                          'PROCESS_INBOUND_DATA'
                          v_messg
                          p_zint_nw
                          lwa_01-ticketnumber.                " RJS
              lva_loggr = 'BBIN'.
            endif.
            if lva_loggr is initial.
              move: 'E1EDL24'   to t_idoc_data-segnam,
                    lwa_e1edl24 to t_idoc_data-sdata.
              append t_idoc_data.
            endif.
          endloop.
          clear: lva_xabln,
                 lva_vbeln,
                 l_vbfa.
    Matching ticket against a Delivery?
          select single xabln vbeln into (lva_xabln,lva_vbeln) from likp
              where xabln = lwa_01-ticketnumber.
          if sy-subrc = 0.
    If found, does this delivery match the sales order?
            select * from vbfa into l_vbfa
              where vbelv = lva_saleord
              and   vbeln = lva_vbeln.
              exit.
            endselect.
          endif.
    No matching delivery found, or Matching delivery, but for other Sls Ord
          if lva_xabln is initial
          or ( lva_vbeln <> space and l_vbfa is initial ).
            if not lva_saleord is initial.
              perform create_delivery_idocs tables t_zint_mslog
                                            using  s_idcgp
                                                   lwa_01-ticketnumber
                                                   p_zint_nw.
            else.
              concatenate 'Error finding a Sales Order for ticket "'
                          lwa_01-ticketnumber
                          '" reprocess the file AFTER'
                          ' the sales order issues have been fixed'
              into        lva_outtext.
              perform write_log_entry tables t_zint_mslog
                                      using  'E'
                                             'ZINT_CSTPORD_ROUTINES'
                                             'PROCESS_INBOUND_DATA'
                                             lva_outtext
                                             p_zint_nw
                                             lwa_01-ticketnumber. " RJS
            endif.
          else.
            concatenate 'Command Ticket "'
                        lwa_01-ticketnumber
                        '" has already been processed into delivery "'
                        lva_vbeln
            into        lva_outtext.
            perform write_log_entry tables t_zint_mslog
                                    using  'I'
                                           'ZINT_CSTPORD_ROUTINES'
                                           'PROCESS_INBOUND_DATA'
                                           lva_outtext
                                           p_zint_nw
                                           lwa_01-ticketnumber. " RJS
            refresh t_idoc_data.
          endif.
        endif.
        refresh t_idoc_data.
    Write out all messages collected so far
        perform update_data tables t_zint_mslog
                            using p_zint_id p_zint_ty.
      endloop.
    Write out all messages collected so far
      perform update_data tables t_zint_mslog
                          using p_zint_id p_zint_ty.
    endform.                    " process_inbound_data
    Thnaks
    Regards

    Thanks
    Thread closed

  • How to change the components of the planned order? (FM or BAPI)

    I need to change the storage(LGORT) in the components.
    I found only MD_PLDORD_CHANGE_COMP_ITEMS, but could not get the correct result.
    Has anyone used this FM to change the components of the planned order?
    Can you please tell how to use it. Or advise an alternative solution.

    Hi Anton,
    There's a BAPI to change planned orders - BAPI_PLANNEDORDER_CHANGE, but it allows to change only header data.
    Therefore you'll have to go a bit longer, and use a couple of other BAPIs:
    First read the order that you want to change - BAPI_PLANNEDORDER_GET_DETAIL
    Second, create a new planned order with the changed data, based on the read planned order - BAPI_PLANNEDORDER_CREATE.
    Third, delete the old planned order - BAPI_PLANNEDORDER_DELETE.
    Regards,
    Mario

  • List of Components used in Production Order

    Hi ,
    I want to report in which I want to pull out all the componets in the production order.I dont want explode the BOM for the day as many components might have been manually added in the productio order and it may not be present in BOM. is there any table or Function module which I can use for the same.
    Thanks ,
    Tausif.

    You will get the data in COOIS sap std report
    in which you choose
    List = component list
    Or list = object list and in the object list tab page choose component check box.
    execute the report with order numner..
    you will get all the components.

  • Problem while releasing the production order.

    Hai gurus,
    When i release the production order , SAP doesn't block when i have a deficit of stock for some materails.I checked all the customizing and found every thing is fine.
    As the materials that has defict stock has back flush indicator, is that the reason why the system is assuming the stock when releasing.

    Hi,
    You need to consider the following customization settings
    (1) OPJK - For the Plant/Order type/Availability check-2 for the material availability - Release material - set the indicator '3' No release if parts are missing
    (2) OPJJ - For availability check & checking rule - check what all elements are considered as part of ATP check.
    With these settings - in the production order if the order header has status MSPT - Missing parts (i.e. components are missing) only then system will stop the release of the order.
    I hope this addresses your query
    Warm regards,
    Umesh

  • Determine a component in the production order

    Hi,
    To determine if a component in the production order is relevant for the paint dispatch list:
    For a Production Order, after retrieving all the components (children) of the header material utilize function module CLSE_SELECT_AUSP.  Pass the following information under the import parameters:
    Function Group: CLSE
    Function Module: CLSE_SELECT_AUSP
    Import Parameters:
    KLART   = 001   (Hard-coded) (ZERO, ZERO, ONE)
         OBJEK  =    (Component number from production order Item) &#8211; RESB-MATNR
    MAFID = O  (Hard-coded) (The letter O)
              KEY_DATE  =  (BOM Explosion Date) &#8211; CAUFV AFKO-AUFLD
    Returns:
              Table = T_AUSP
              Field  = ATWRT  
              T_AUSP-ATWRT
    Then the following logic should apply:
         IF T_AUSP-ATWRT = OPTPNTD THEN this component (RESB-MATNR) is relevant for the dispatch list.
    can any body explain the meaning of this
    all replies will be rewarded

    Hi,
    i got the solution i came to know the meaning of it
    thanks

  • GR for create the production order without material(co07)

    Hi all,
               I am creating the  production order without  material (T-Code :co07), After creating this order i want to get the Material from W/H and after dismantling how to do GR for this Prod.order, What is the Movement type to be used?Please advice me

    Dear Kumar,
    CO07 specially meant for Rework order (Production order
    without material) or for dismantalling the Customer returns or
    Inhouse rejected,for the components which re good to reuse
    again,their quantity will be entered in -ve and so 531 movement
    takes place.
    On the other hand,if you want to use for rework purpose and
    want to consume some components,using MB1A T code ,the
    materials required are issued.
    Already our Forum member(Krishnamohan) has given clearly in his first reply.
    Regards
    Mangalraj.S

Maybe you are looking for

  • Form on a view

    Hello, I created a view on a remote database. This view contains a calculated column. I created a tabular form based on the view. When I try to cheange and update a record I receive the following message: Error      Unable to process update. Error in

  • Error compiling with extends attribute

    I've got an abstract class I would like to extend in a JSP. I can get it to work with other classes but not in my JSP. <%@page extends="com.websource.database.Connections"%> If I remove this the JSP will compile. But when included I get an error like

  • Unicode in string literals

    Hi, Some unicode characters are refusing to be 'escaped' when placed into a string literal. For example, "\u1fff" results in the 5 char long string "u1fff" - the backslash is stripped and that's it. There appear to be many other characters that also

  • HT1933 How do i return a purchased app that doesn't work?

    I downloaded an app from the App Store that does not work on my MacBook.  How can I return it?  It has never been used.

  • SOAOrderBooking

    When i creat the partnerlink "CreditValidatingService" when i load the WSDL file i have an error that says: Error loading WSDL file, please click here to see the details!" and when i click it "ERROR:Error reading import of file C:/....... failed to r