Avoid Deletion of Production order Components.

Dear All,
Is there any arrangement to nbot to authorize the person to delete the component present in the Production Order.
If not than can we get the consolidated report for the details whodeleted the Material.
Regards,
Mandar.

Dear ,
You may not be required that report if you have authorisation control through Screen Varint at user level and apply the following User Exit of SAP Standard Enhancement available for SAP PP Production Order .Find belwo those Enhancement and discuss with your ABAPer for the same .In transaction CMOD, create a project and include the project of the user exit, which you can look up in transaction SMOD.Then you implement the code in the include, and activate the project.
1.C_STUE_BER CS BOM Authorizations or you can make use of the exception NOT_ALLOWED_WITH_ERROR in this exit
2.PPCO0008 Enhancement in the adding and changing of components
3.PPCO0015 Additional check for document links from BOMs
Check father the below link which are useful I think :
Problem in User Exit
Request: BADI for CO02
Re: CO02 enhancement
Help needed: user exit for CO02
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=189893877
Hope this will be useful to you
Regards
JH

Similar Messages

  • Problem with final issue of production order components

    Hi Gurus,
    Currently we have a problem with the production order components.
    The problem is that, we needed some components (components which are categorized as dangerous goods) deleted from the production orders.
    So we tried to manually tick the final issue indicator and save the production order. However, the reservations reappeared after the MRP Run.
    Hence, we then tried to delete the component line items, but then again the reservations reappeared.
    Also, since the components are externally procured materials, new purchase requisitions are generated by MRP for these materials.
    Kindly request your help on the same.
    Thanks and Regards,
    Sanju

    Hi Kiran,
    Please find the screenshots of MD04 for the header and component in the attachment:
    MD04 for Header:
    MD04 for Component:
    For the header material no entry is available for 07.01.2015 as the status is delivered for the production order of the header material.
    Kindly help me with the same.
    Thanks,
    Sanju

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Deletion of production order in ECC / APO

    Hi,
    It is not possible to set DLFL (Deletion flag) when the order is in
    CRTD status also when the order is DLV or TECO with no actual cost or open order value .
    It is happening in both the scenarios when
    1. Plan order is created in APO and then converted to prod order
    2. Plan order and prod order both are created in ECC , but both are transferred to APO
    What shall be the process for deleting the prod order in ECC.
    With regards,
    Mrinal

    Hi Mrinal,
    1) You can delete the production order in created status in APO using transaction /n/sapapo/rlcdel, select the required categories for deletion.
    Once the order gets deleted in APO, it will get deleted automatically from ECC also.  If not the transaction /sapapo/ccr to be used which will remove it upon iteration.
    2) Alternatively, if you carry out techo in ECC for a production order which is released, once after delting in ECC, queues needs to be cleared and then subsequently /sapapo/ccr to be run for production orders, so that it will get cleared from APO also upon iteration.
    Please try these and let me know whether your query is resolved.
    Regards
    R. Senthil Mareeswaran.

  • How to delete  Open Production Orders

    Hi,
    I would like to Delete Open Production Orders.plz tell me How to delete  Open Production Orders

    Hi
    for deleting POs you have to delete the line items. First select the line items and then choose the icon 'delete' in the item overview screen of PO.
    For open PO s also you have to do the same Or else change the PO quantity to the desired qty for what GRN has been made.
    Regards
    Siva

  • Deletion Of Production Order Collectively.

    Hi Guys,
    I want to delete my Production Orders Collectively,i know it can be done in CO78,Can any one plese tell me what are the steps to be carried out in CO78.
    I have 1 FERT material (Productoin Order)
    and 11 HALB material (Production Order)...all the production order to be delete collectively.
    Awaiting a positive reply from this thread.
    Regards,
    Kumar.S

    Dear,
    Please follow these steps
    1. Use program PPARCHP1 to activate deletion flag and deletion indicator.
    2. Use program PPARCHA1 to archive the production order.(Basis settings should be completed for storage of data before running this program).
    3. Use program PPARCHD1 to delete the order from the database.
    You can run this program from SE38 or using background scheduling using SM36.
    Note :- Archive the production order thru tcode CO78.
    Variant for PPARCHD1 remove the Test Mode. System will automatically select the Archive File based on the File Path. Also see SAP notes 540834
    Regards,
    R.Brahmankar

  • Deletion of production orders

    Hi All,
               How to delete the production orders in a day from the system

    We use CO78 in a monthly program to set the Status to DLFL.
    The next step is to set the Deletion indcator and then Archive, which will remove the order from the system.
    What exactly do you want to accomplish when you "delete the production orders in a day from the system?"
    Regards

  • Deletion of Production order

    Hi GURUS,
    I need to know is there any transaction code to delete the production orders.
    Also before I delete production order I need to carry out the below steps,
    Correct the goods movement for the below orders
    Clear all financial postings for below orders
    Ans then to Delete production orders
    Please provide me the step by step explanation for deleting the production orders.
    Awaiting for your reply.
    Cheers,
    Kumar.S

    Hi,
    As mentioned earlier, to set deletion flag on the order, the balance should be zero.
    The balance will be zero, when you reverse out all GI & confirmations if any, or when you settle the order.
    So in this case, go thru' each order & check what has been the GI & what is confirmed, now reverse out the same if it is in the current period, if it is in previous period, then discuss with your FI person.
    To clear recrods from COGI, the user needs authorization for COGI & also for the business transactions which are triggered from COGI, so once you get a error message saying not authorized, ask your basis person to address these issues.
    I doubt there is a simple process for setting deletion flags, simply because you need to understand what has been done & only then suitable actions can be taken. So if you look at it from only system standpoint it would only be a few transactions, but the analysis has to be done from business side, which i guess you've done.
    If you're not sure on the above, first do it in QA, get a sign from business on the same & then do it in PRD system.
    Regards,
    Vivek

  • Can not delete a Production Order is the Sales order item is rejected?

    Hello everyone,
    I can not delete the production order as the Sales order line item is rejected.
    Does anybody know if any configuration change is required or any work around?
    Thank you,
    BG

    Hi,
    Could you pl. explain how the production order is created?
    Also did you try by choosing Function in the menu (CO02 transaction) & try to set deletion flag or Technically complete?
    If so did you get any error message ?
    Regards,
    Senthilkumar

  • 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

  • We need to avoid rescheduling of Production order in APO

    Currently the production orders are created in ECC with reference to the plan orders transferred from APO. These orders are transferred back to APO as part of standard CIF. Since ECC is the owner of Production orders, we don’t want APO influencing any changes in production order. But there are situations when the APO is rescheduling the production order by automatically triggering heuristics after getting the changes in capacity from ECC via CIF. That is impacting with the schedule of orders already planned by business in ECC. One such known issue is when the capacity of resource has change during the time when order is scheduled. How should we avoid this?

    Hi Anubrata,
    Please check note 161028. This is the standard behaviour. If the SKU is X0 have to be planned by APO!
    This note describes a modification proposal for the following purpose;
    When a planned order is imported into R/3 via the interface, it is never scheduled in R/3 (detailed scheduling: esp. generation of capacity requirements).
    This is the current design of APO <-> R/3 interface.
    However, for such special requirements that the planned order should 'always' be scheduled, you can apply the following source code change.
    This modification enables you to always automatically schedule the planned order that comes over the interface from APO for 'change' and 'create'. If capacity planning is activated, then also capacity requirements are determined in R/3.
    This functionality only works for PP/DS planned orders and not for SNP planned orders. For SNP orders the SNP PPM will always be reexploded after a changed planned order is send back from R/3 to APO and then the order will be rescheduled in APO again.
    Hope that can help you.
    Thanks.
    Regards, Marius

  • How can we delete the production order against sales order

    Dear All
    i

    Dear Gopi,
       In CO02, go to functions tab and select deletion flag active and save the PO. Once you activate the deletion flag GI, release and  operation confirmation will be deactivated.
    See below link to get more understanding.
    Delete Production Order from CO02
    Regards / US

  • Problem in changing Production order components.

    The problem is happening while changing components in Production order.
    Take a look at the source code.
    data :      IS_ORDER_KEY  TYPE  COXT_ORD_KEY,
    IS_ORDER_COMPONENT_KEY  TYPE  COXT_S_ORD_COMP_KEY,
    IS_REQUIREMENT_QUANTITY TYPE  COXT_S_QUANTITY,
    IS_REQUIREMENT_QUANTITYX  TYPE  COXT_S_QUANTITYX,
    IS_CONFIRMED_QUANTITY TYPE  COXT_S_QUANTITY,
    IS_CONFIRMED_QUANTITYX  TYPE  COXT_S_QUANTITYX,
    I_MATERIAL  TYPE  COXT_MATERIAL,
    I_MATERIALX TYPE  COXT_MATERIALX,
    IS_ORDER_OPERATION_KEY  TYPE  COXT_S_ORD_OPR_KEY,
    IS_ORDER_OPERATION_KEYX TYPE  COXT_S_ORD_OPR_KEYX,
    IS_REQUIREMENT_DATE TYPE  COXT_S_DATE,
    IS_REQUIREMENT_DATEX  TYPE  COXT_S_DATEX,
    IS_STORAGE_LOCATION TYPE  COXT_S_STORAGE_LOCATION,
    IS_STORAGE_LOCATIONX  TYPE  COXT_S_STORAGE_LOCATIONX,
    I_BATCH TYPE  COXT_BATCH,
    I_BATCHX  TYPE  COXT_BATCHX,
    I_MI_CONFIGURATION_OBJECT TYPE  COXT_CONFIG_OBJECT,
    I_MI_CONFIGURATION_OBJECTX  TYPE  COXT_CONFIG_OBJECTX.
    DATA  :wa_resb type resb,
           ES_BAPIRETURN TYPE  COXT_BAPIRETURN,
    E_ERROR_OCCURRED  TYPE  C.
    IS_ORDER_KEY = '000002098003'.
    select single * from resb into wa_resb where aufnr eq IS_ORDER_KEY
       and bwart eq '531'.
    move-corresponding wa_resb to IS_ORDER_COMPONENT_KEY.
    IS_REQUIREMENT_QUANTITY-quantity = '10.23'.
    IS_REQUIREMENT_QUANTITY-uom = 'KG'.
    IS_REQUIREMENT_QUANTITYX-quantity = 'X'.
    IS_REQUIREMENT_QUANTITYx-uom = 'X'.
    *IS_STORAGE_LOCATION-lgort = '1060'.
    *IS_STORAGE_LOCATIONX-lgort = 'X'.
    I_MATERIAL = wa_resb-matnr.
    IS_STORAGE_LOCATION-werks = wa_resb-werks.
    IS_STORAGE_LOCATIONx-werks = 'X'.
    IS_STORAGE_LOCATION-lgort = '1060'.
    IS_STORAGE_LOCATIONX-lgort = 'X'.
    CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
       EXPORTING
         IS_ORDER_KEY                     = IS_ORDER_KEY
         IS_ORDER_COMPONENT_KEY           = IS_ORDER_COMPONENT_KEY
         IS_REQUIREMENT_QUANTITY          = IS_REQUIREMENT_QUANTITY
         IS_REQUIREMENT_QUANTITYX         = IS_REQUIREMENT_QUANTITYX
         IS_CONFIRMED_QUANTITY            = IS_CONFIRMED_QUANTITY
         IS_CONFIRMED_QUANTITYX           = IS_CONFIRMED_QUANTITYX
         I_MATERIAL                       = I_MATERIAL
         I_MATERIALX                      = I_MATERIALX
    *   IS_ORDER_OPERATION_KEY           = IS_ORDER_OPERATION_KEY
    *   IS_ORDER_OPERATION_KEYX          = IS_ORDER_OPERATION_KEYX
    *   IS_REQUIREMENT_DATE              = IS_REQUIREMENT_DATE
    *   IS_REQUIREMENT_DATEX             = IS_REQUIREMENT_DATEX
         IS_STORAGE_LOCATION              = IS_STORAGE_LOCATION
         IS_STORAGE_LOCATIONX             = IS_STORAGE_LOCATIONX
         I_BATCH                          = I_BATCH
         I_BATCHX                         = I_BATCHX
         I_MI_CONFIGURATION_OBJECT        = I_MI_CONFIGURATION_OBJECT
         I_MI_CONFIGURATION_OBJECTX       = I_MI_CONFIGURATION_OBJECTX
    *   I_BATCH_SEL_CUOBJ                = I_BATCH_SEL_CUOBJ
    *   I_BATCH_SEL_CUOBJX               = I_BATCH_SEL_CUOBJX
    *   I_XFEHL                          = I_XFEHL
    *   I_XFEHLX                         = I_XFEHLX
    *   I_SOBKZ                          = I_SOBKZ
    *   I_SOBKZX                         = I_SOBKZX
    *   I_KDAUF                          = I_KDAUF
    *   I_KDAUFX                         = I_KDAUFX
    *   I_KDPOS                          = I_KDPOS
    *   I_KDPOSX                         = I_KDPOSX
    *   I_PSPEL                          = I_PSPEL
    *   I_PSPELX                         = I_PSPELX
    *   I_KZAUS                          = I_KZAUS
    *   I_KZAUSX                         = I_KZAUSX
    *   I_NAFKZ                          = I_NAFKZ
    *   I_NAFKZX                         = I_NAFKZX
    *   I_NOMAT                          = I_NOMAT
    *   I_NOMATX                         = I_NOMATX
    *   I_NFUML                          = I_NFUML
    *   I_NFUMLX                         = I_NFUMLX
    *   I_NFPKZ                          = I_NFPKZ
    *   I_NFPKZX                         = I_NFPKZX
    *   I_NOMNG                          = I_NOMNG
    *   I_NOMNGX                         = I_NOMNGX
      IMPORTING
        ES_BAPIRETURN                    = ES_BAPIRETURN "initial
        E_ERROR_OCCURRED                 = E_ERROR_OCCURRED"blank not showing 'X'.
    CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
      IMPORTING
        E_ORDER_KEY            = IS_ORDER_KEY
        ES_BAPIRETURN          = ES_BAPIRETURN
        E_ERROR_OCCURRED       = E_ERROR_OCCURRED
    * TABLES
    *   ET_ORD_KEY_MAP         = ET_ORD_KEY_MAP
    *   ET_BAPIRETURN          = ET_BAPIRETURN
    write : 'dfdfdf'
    Notable point is that after executing CO_XT_COMPONENT_CHANGE' parameters ES_BAPIRETURN and E_ERROR_OCCURRED are initial.
    This explains that the FM has been executed successfully.
    But still the changes are not done in production order.
    Please let me know where i am mistaken.

    nabheet,
    this is called expilicitly for commit.
    Not in any exit or something.
    Have a look at the source code which i have posted while starting this discussion.
    This below FM is called just after CALL FUNCTION 'CO_XT_COMPONENT_CHANGE'
    Look at the source code in starting of discussion. U will understand when it is executed.
    CALL FUNCTION 'CO_XT_ORDER_PREPARE_COMMIT'
      IMPORTING
        E_ORDER_KEY            = IS_ORDER_KEY
        ES_BAPIRETURN          = ES_BAPIRETURN
        E_ERROR_OCCURRED       = E_ERROR_OCCURRED
    * TABLES
    *   ET_ORD_KEY_MAP         = ET_ORD_KEY_MAP
    *   ET_BAPIRETURN          = ET_BAPIRETURN

  • Production order - Components

    Hello
    I have the following components in the production order :
    0000     A005.A06182     CC 0,6X669X2074 S280GD+Z275MC POL RR109F     71      M2
    0001     B002.S00004     Colour Coated Sheet                                               68,531-     M2
    0002     S001.A00027     CC COIL SCRAP (BUOM = KG)                         10,458-     KG
    Do I understand correctly that components are the raw materials required to produce final material?
    What do some components have negative quantity consumed (lines 0001 and 0002)?

    Thank you so much but I dont understood anything .... but I am totally confused
    The production order is for material A :
    Order          Q147006
    Material       F001.A00001 (A)
    I think its a final product.
    The companents are materials B, C and D
    B  100
    C -200
    D -300
    Can you please explain what kind of products are produced. What are bi materials?

  • Rescheduling Sales Order vs Production Order (Components)

    Hi gurus,
    Transaction V_RA rescheduling sales order with different filters.
    We need a transaction similar to V_RA that rescheduling sales order and production order (for availability check of components). Does it exist??
    I will reward points to all answers!
    Thank you!

    Daniel,
    It all depends on the business policy of each client. In our case, it was decided that in case Production orders and Sales orders compete for the same material, we will give priority to sales orders. Hence, we changed the timings of the nightly jobs. The backorder job was run first, so that stock was committed there first. Balance if any could go to Prod orders.
    But again, that depends on the strategy of your company.
    Ashutosh

Maybe you are looking for

  • I used find my iphone yesterday (my daughters iphone6)

    I used the "Find my Iphone" app (have been using to keep track of my daughter) and I check her frequent locations as well...so far in the frequent locations until last week they had all been pretty accurate but there is one location that puts her not

  • Not signing in

    my skype wont sign in at all, the app wont even open anymore. there is a grey skype box in the top bar but its all greyed out. nothing is loading.

  • Remote login sun box to winOS box

    Hi I am as a root on sun (Solaris OS) box want to run some command on my remote site windows OS based system trying to connect via LAN to WAN and I have lists of users and his passwords for windows system. Could someone help me about how to connect a

  • Unable to set trace level

    Hello, I have a problem with the trace level (by trace level I mean this one: http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/tracing_logging.html) in the Java Console when deploying a Java Applet. With "Next Generation Java Plu

  • Why Blackberry​?

    Why do you even try to make "consumer" devices? If it's important to to be in the consumer space, why are you trying to charge me to talk to a tech support person? And why is your interface design so bad that your most senior interface designer would