Add component and Delete Operation in Process order Using COR2

Hello,
I need to update any process order (Add components in it and delete some operations of it) on the save of the process order.
Transaction for change PO: COR2.
I have found a badi to change in process order (WORKORDER_UPDATE) Method: BEFORE_UPDATE.
But this badi has all the parameters as Importing. Hence we can not change them.
If we use field symbols in this badi to change the values,will it make any other issues?
I have also identified a user exit EXIT_SAPLCOBT_001 but this exit is called very late in the processing, and you cannot change data into that user exit ...check Note (86553 - Documentation on user exits).
Kindly post your valuable comments and answers.
Thanks in advance.
Edited by: Nitin Nyati on Sep 1, 2010 1:09 PM

Hi ,
Possibility  , in C202 , user may have changes the BOM first and re-assign the phase  but in process order level Read PP master did not call
Another possibility manually change the process order component and assign this in Phase in COR2 .Please check  whether it has been added manually in order level . 
Regards
JH

Similar Messages

  • CREATE and DELETE operations in MI7.1 for PDA

    Hi,
    We are developing a sample scenario for PDA in 7.1. Problem is we are able to implement GETLIST, GETDETAIL and MODIFY operations but not able to implement CREATE and DELETE operations. For GETLIST and GETDETAIL i have created queries. Modify is also simple (i am creating a form to edit and commiting data once i click on save). But to implement CREATE and DELETE we dont have any reference.
    Regards,
    Vinay

    Hi,
    Now i know the answer
    There is a typed method on the service component model class for root node creation. Example for binding a new root instance to a context node:
    wdContext.nodeCurrentEmployee().bind(Collections.singleton(model.createEmployeeSdoEmployee()));
    where model is your webdynpro model.Employee is a context node model bounded to Employee model class.This node has to be manually created in context(and then can be context mapped and bound to elements in view)
    wdContext.nodeCurrentEmployee().setLeadSelection(0);
    Creating a child is done on the root itself, but persisting it is a two step process:
    address = employeeRootNode.createNewAddresss(); <- this only creates the instance in memory
    where employeeRootNode is the model object for which the child has to be created. If the element for which the child has to be created exists in context then it can be got by
    wdContext.nodeEmployee().currentEmployeeElement.model()
    employeeRootNode.addToAddresss(address);  <- this persists the new instance
    wdContext.nodeCurrentAddress().bind(Collections.singleton(address));
    wdContext.nodeCurrentAddress().setLeadSelection(0);
    Delete of a root is also done on the sc model class:
    model.removeEmployeeSdoEmployee(employeeRootNode);
    Delete of a child is done one the root:
    employeeRootNode.removeFromAddresss(address);
    Hope this helps.
    Regards,
    Vinay
    Edited by: Vinay TS on May 5, 2008 8:31 AM

  • Custom exit or badi for changing the user fields in operation of process order

    Hi all
        I want to find a exit or badi to set default value to the user fields in operation of process order when COR1.
        I have tried exit 'PPCO0001', but this exit is call after commit work, so I can not change any thing
        I also tried to use badi 'workorder_update', 'before_update', but all parameters in this BADI are importing, can't be changed, I've tried to change it and then program dump.
        Do you have any solution for this question?
    Thanks

    Do a Implicit Enhancement at the PBO of this subscreen.

  • Scheduling issue for splitted operations in process order

    Hello All,
    I am facing problem after scheduling splitted operation in process order. The scenario is as follows.
    In process order there are 5 operations. 10, 20, 30, 40 and 50. Out of the above operations 30 is splitted and two different resources are assigned to it. Control key assigned to splitted operation (30) is also scheduling relevant. Now the flow of operations will be as below.
    1. Operation 10
    2. Operation 20
    3. Operation 30 - Operations is splitted (Resource used is A), qty to be produced - 10 kg.
    a. Operation 32 - Quantity of operation 32 is changed to 5 kg. Resource used is B.
    b. Operation 34 - Quantity of operation 34 is changed to 5 kg. Resource used is C.
    4. Operation 40
    5. Operation 50
    Relationship exists between opearion 10-20, 20-30, 40-50 and between 30,32, 34 with 40. But there is no relationship exists between splitted operations 32 and 34 with any of the previous operations for eg. 10 & 20.
    Issue is after scheduling all operations relationship remains maintained between operations 32, 34, 40 & 50. As operation 30 is splitted to two different operations equally total time for scheduling gets reduced but after scheduling of all operations all previous operations before operations 30 does not get resceduled? Scheduling type maintained for order is Backward Scheduling.
    Please check this and guide me how all operations before operation 30 can be rescheduled as per changed timing of operations 32 and 34.
    Best Regards.
    Edited by: Avinash Mohite on Mar 19, 2010 12:43 PM
    Edited by: Avinash Mohite on Mar 19, 2010 3:14 PM

    Hi,
    I hope u r doing in this way:
    In the capacity header screen enter individual capacity as 2. then click on Got( on top of same screen) and go to individual capacites. Enter the names of two individual capacities, for example 1 and 2. These are the names of two work centres where u r splitting ur operation.
    Double Click on operation 0030 and go to tab 'splitting' . Tick on ' required splitting' and enter maximum no. of splits as 2.Then go to capacity requirements assignment tab. enter the individual capacity as 1 and 2 and enter the splitted quanitites.Save and reschedule .
    Check and revert.
    Regards.

  • Phases/operation in process order does not exist

    phases/operation in process order does not exist  this error coming when cor6n is using.why?

    HI
    After creating Master recipe in C201, under the operations tab you need to define the operations involved in recipe . along with the operation column  there is phase indicator column is there which is to be selected whether this operation is phase or not...
    Check and revert
    Regards
    Anupam Sharma

  • Set deletion flag on process order.

    Hi Friends,
    My requirement is i want to set deletion flag on process order.
    For this system gives error as
    1. System status CRCR is active (ORD 93000112)
    2. System status ORRQ is active (ORD 93000112)
    Here i have solve the problem number one through transaction code BS22 (i.e. under System status I0241 -CRCR , previously LKZS - Set deletion indicator & LVMS -Mark for deletion was maintain as Forbidd now i have made it under No influence )
    after saving this customization system give only error two ( System status ORRQ is active (ORD 93000112)
    Same way when i try to find ORRQ but here i havenu2019t found  ORRQ.
    Could you plz help me.
    Best Regards,
    Parag Save.

    Dear,
    The system sets this status when you release the order, provided that the Order record required indicator is set in the order type-dependent parameters (see Customizing for Process Order)....
    This setting is there in SPRO....
    Production Planning for Process Industries - Process Order-Master Data-Order-Define Order type Dependent parameters...
    In this you set the option Order record Required....
    Requirements are that the process orders are settled, associated PI sheets, inspection lots and any linked purchase orders are complete.
    Following are prerequisites for closing a process order
    1 The order must have the status Released (REL) or Technically completed (TECO)
    2 The order balance must be 0
    3 There can be no open purchase requisitions, purchase orders.
    4 There can be no future change records from confirmation processes.
    .Now Calculate Overheads using Tcode : KGI2 - Individual Processing
    CO43 - Collective Processing
    Step to be follow,
    1.Calculate WIP using Tcode : KKAX - Individual Processing
    KKAO - Collective Processing
    2.Calculate Variance by using Tcode : KKS2 - Individual Processing
    KKS1 - Collective Processing
    3.Finally do the settlement of Order in Tcode : KO88 - Individual Processing
    CO88 - Collective Processing
    Please refer this thread also,
    https://forums.sdn.sap.com/click.jspa?searchID=17422319&messageID=5934846
    The transaction COA5 (Archive Administration Preprocessing).
    This will allow you to set the deletion flag
    Hope this helps.
    Regards,
    R.Brahmankar

  • How to stop "Add Row" and "Delete" from committing.

    Hello, I am new to Application Express, and maybe someone can help me make this save like an Oracle Form.
    If you hit the "Add Row" button, enter data, then hit the "Add Row" button again, it commits the first row. If you check a value and hit the "Delete" button, it commits the delete. I would like the insertions and deletes to be handled like an update, that is with an explicit commit by hitting the "Apply Changes" button.
    Can I control this in Application Express, and how?
    Thank you,

    Kevin,
    1. instead of having a form on a table, you would create a form on a collection,
    2. collection is also a table but it is only of a temporary nature - it is valid with the corresponding session. Once the session is closed, you can't access the collection.
    3. to see how to create a collection and a tabular form use this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:176
    4. add row and delete will add / delete a copy of your table data. You can then create a process to save the data in your target table only if the button apply changes is clicked.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Routing number of operations and reference operation  in the order

    Hi experts,
    If anyone knows about Routing number of operations and reference operation  in Maintenance order , please explain.
    is it used for maintenance order? if yes, please mention the path from which I can see or note the number generated by the system as Routing number of operations or operation task list no. or reference operation
    Regards,

    Hello,
    Routing number of operations in the order"(field-->AUFPL) of the order at table AFKO, using order number. Find the Operation counter number of the operation at table AFVC using "Routing number of operations in the order".
    From above we can fetch the Operation Level data of Order by using the Routing number of operations in the order"(field>AUFPL)  .Routing number of operations in the order>which solely identity of the Operation for your order after creation of order it is created this number.
    Regards,
    Rakesh
    Edited by: RAKESH ASHOK MANE on Sep 23, 2010 2:47 PM

  • Finding Deleted operations in a Order

    Hi all,
    I need a way to find the deleted operations in an order for a smartform. if a operation is deleted in a particular order it should not be printed in the form. What i need is where to find the indicator that the operation in the particular order is deleted. It would be great if anyone can help me with this.
    Thank You.

    HI all,
    I have the same problem in PP smartforms, someone has solved? thanks

  • Creating Process Orders using batch processing

    Hi :
    I am creating process orders automatically by using batch processing.I have a custom T.code and custom table.The batch program should be build based on custom table.From where will i get the data for batch processing? from custom table? if so how can i prepare a file for that.
    I have to submit this batch program to the custom T.Code so that it creates Process Orders automatically.
    Can u guide how to procede in this.
    Thx.
    Raghu

    Hi Raghu,
      What i think is u have a custom program which creates Process Orders using some user data. this user data is posted to a custom tabel.
    Now if i am right then u want to create a batch program around this custom program so as to achieve benifits of batch processing.
    yopu can check these links to better understand how to create a BDCprogram.
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sappoint.com/abap/bdcconcept.pdf
    http://www.sappoint.com/abap/bdcconcept.pdf
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/097022543b11d1898e0000e8322d00/frameset.htm
    http://www.planetsap.com/bdc_main_page.htm
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_gci1068429_tax293481,00.html
    Hope this helps.
    Award rewar points if its useful.

  • Component materials incorrectly assigned to superior operation in process order

    One of my manufacturing facilities is having a problem with components not printing on process order output.
    In all cases, the master recipes themselves look fine when reviewed in C203.  The components are properly allocated to phases (not superior operations).  But when the process orders are generated, certain components are being assigned in the process orders themselves to the first superior operation, instead of to the phase that is indicated in the master recipe.  Here is an example.
    Here is the master recipe operation information as seen in C203:
    And here is the material assignment list as seen in C203.  Note that component material MM6030 is assigned to Phase 0035:
    But when the process order is created, that same component material MM6030 is now assigned to superior operation 0001:
    Here is some additional information that I was able to eke out of the folks at the manufacturing facility:
    The operations in the master recipe did NOT originally contain operation 0001.  It was added to the recipe in C202 after the recipe was initially saved.
    Component Material MM6030 was not originally part of the BOM.  It was added via C202 after the recipe was initially saved.  A different material was originally in its place, and was assigned to a different phase.  After the MM6030 was added to the BOM, the assignment field was blank, and the user assigned it to phase 0035.
    Has anyone ever encountered a similar issue?  If so, how was it resolved?

    Hi ,
    Possibility  , in C202 , user may have changes the BOM first and re-assign the phase  but in process order level Read PP master did not call
    Another possibility manually change the process order component and assign this in Phase in COR2 .Please check  whether it has been added manually in order level . 
    Regards
    JH

  • Missing operations and dummy activity in process order

    Hi,
    we currently maintain several alternate modes in PP/DS PPMs in APO.
    When we create a planned order in APO, CIF to R/3, then do conversion to process order in R/3 everything is fine.
    When we create a planned order in APO, CIF to R/3, then do conversion to process order in APO, all of the operations are missing and there is a dummy activity present.
    We also noted this only occurs when the mode selected in APO by default uses a different resource than the one assigned to the PPM's recipe back in R/3. That is, if the recipe in R/3 uses resource LINE_01 and APO selects resource LINE_02 by default, the issue occurs.If the recipe uses LINE_02 and the APO selects LINE_02 by default, then everything is fine.
    Has anyone seen this behavior before ?
    Thanks,
    Roger

    Hi Visu,
    For right now, the planned order is created in the product view.
    In R/3, the recipe has an operation which uses LINE_01 resource (let's say, production version is L1)
    In APO, there are several alternate modes :
    LINE_01
    LINE_02
    LINE_03
    By default, when the planned order is created in the product view, the mode with the shortest duration is chosen.  In this case, if I create a planned order using the PPM for production version L1, and LINE_03 happens to have the shortest duration, then the order is created for LINE_03.  Since LINE_03 is not the resource used in the recipe for production version L1, we run into the issue I mentioned previously.
    Coincidently, I also noticed that the R/3 process order type is set to schedule automatically.
    When I go into edit mode on the process order operation, make no changes, but then save the order the correct resource and operations reappear in APO.
    Regards,
    Roger

  • Authorization Object to Add/Delete Materials in Process Order

    Hi,
    How to locate the specific object for Addition/Deletion buttons in the materials tab in Process Order creation/change(t code COR1/COR2).??
    We want to restrict the authorisation for the same.
    Regards,
    Arpit

    Hi,
    Try with the following object and fields:
    Object: B_USERST_T
    ACTVT
    BERSL
    OBTYP
    STSMA
    Please confirm.
    Regards
    Suri

  • Impact deletion flag set process order

    If i have "Set deletion flag for old process order" after the same any impact in Finance or production side.
    Chintan

    Hi,
    You should set the deletion flag only for orders:
    which are delivered or technically completed
    for which variances have been calculated
    for which you do not anticipate any further follow-up costs
    If follow-up costs must be charged to the object, you can remove the deletion flag (DLFL).  Deletion indicators (DLT), however, cannot be withdrawn.
    As long as the accounting period is not yet closed, data (such as from results analysis) can still be transferred to Financial Accounting (FI). The FI period should be closed before you can set the deletion indicator (DLT), since no more costs can be settled to FI after that point.
    When the orders are deleted, the quantity information on the routing operations is also deleted.
    Regards,
    Antje

  • Deletion flag on process orders - HELP!!

    In order to speed up the CO Closing (WIP, variances, settlement) we want to activate the deletion flag on all the old process orders with the COAC transaction but it says that the ORRQ status is active.
    In order to remove this status we mark in the COR4 the "No process data documentation required"  for every plant and order type.
    We run the transaction COPA to archive the corresponding logs for the corresponding orders but when we mark all the orders that we want to archive the system says " Total Process orders archived: 0"
    How can we mark the deletion flag on all these orders???
    PLease we need to reduce the time of some process urgently.
    Message was edited by: Corrections
            Eugenia Zuniga Perezbolde

    Hi,
    We are facing the same problems here. We tried to complete the inspection lot, but this has no effect on status ORRQ.
    The transaction COPA is not working on it...
    Regards,
    Pérsio

Maybe you are looking for