Cancel process order

how to cancel process order confirmed in z program
i mean details for cqancellation of process order phase wise and operation wise like tables, bapi

Get the confirmation number (RUECK) and confirmation counter (RMZHL) by plugging in order number in AUNFR in the table AFRU. Use the following BAPI to cancel confirmation.
CALL FUNCTION 'BAPI_PRODORDCONF_CANCEL' "Cancel production order confirmation
EXPORTING
  confirmation =              " bapi_pp_conf_key-conf_no  Confirmation
  confirmationcounter =       " bapi_pp_conf_key-conf_cnt  Confirmation Counter
  postg_date =                " bapi_pp_confirm-postg_date  Posting Date
  conf_text =                 " bapi_pp_confirm-conf_text  Confirmation Text
IMPORTING
  return =                    " bapiret1      Return Parameter
  locked =                    " bapi_coru_param-locked  Indicator: Order is locked
  created_conf_no =           " bapi_pp_conf_key-conf_no  Confirmation of Cancellation Record
  created_conf_count =        " bapi_pp_conf_key-conf_cnt  Confirmation Counter for Cancellation Record
BAPI format courtesy:
http://www.se80.co.uk/sapfms/b/bapi/bapi_prodordconf_cancel.htm
Edited by: Jeevan Sagar on Feb 9, 2012 12:03 PM

Similar Messages

  • Inspection lot of cancelled process orders

    Hi Gurus,
    I would like to ask if there is an easier way of knowing if the order of an inspection lot was cancelled. Right now the business is on early lot creation, meaning once the order is created an inspection lot is also created. The problem is when the order is cancelled there is no way of knowing it through QA32 unless you go to the order itself.
    Is there an easier way of knowing what orders are cancelled (TECO without confirmation)?
    Thank you for your help!
    Eva

    Hi,
    But they don't really cancel process orders. They use TECO.
    Thank you.

  • Ristrict Cancelling Process Order Confirmation (CORS) after FI MM period cl

    Showing current date as posting date after Cancelling Process Order Confirm:
    Issue with FICO and PP :-, after settlement (ko88) and all period end closing, system still allowed doing Cancelling Process Order Confirmation (CORS) and Showing current data as posting data
    For example:
    My order created on 30th September 2010 and order confirmed on the same day ie my posted date (30th September 2010)
    I have done order reversal on 3rd October 2010 and posting date should be 3rd October 2010 but system showing current data as posting data. Can you please guide me why this unusual behavior happening

    Hi Arun
    Is this  congif change will help me
              1)In BS22 first search for TECO.
               2)Double Click on TECO.
               3)New entry.
               4)Now search FI posting.
               5)Select status as Prohibited
    My Requirement : Ristrict Cancelling Process Order Confirmation (CORS) after FI, MM period closed, and Materail Ledger done
    I want to ristrict the (CORS) reversal of Process Order Confirmation after FI MM ML closed
    right now as per standard its giving warning masage as " Posting with carent date YES or NO, if you say YES then system doing CORS on system carent date, i want to restrict it
    Is above steps you refered will help me
    please confirm
    Regards
    MKbinnal

  • Report for conformation cancelled process orders.

    Hi frnds,
    I need a report for orders which have got cancelled of confirmation.
    plz suggest...
    Robert.

    Dear,
    There is no standard report in SAP which shows Report for conformation cancelled.
    But you can check in order it self in COR2 good movement details.
    Or  check document in MB03
    Use CORS to reverse the phases.
    After canceling if you want to view it again then use CORT (here there is one check box named 'Reversed' means that phase is reversed).
    Or Please use user exit
    EXIT_SAPLCORF_404 Process order conf.: Customer specific input checks 2
    Regards,
    R.Brahmankar

  • TCODE TO VIEW THE CANCELLED PROCESS ORDER

    Write me the TCode to view the Process Orders whose confirmations have been cancelled by using TCode CORS

    Hi
    You can use COIO and give the standard profile 000001
    and sys status canc and execute.
    You can also use the report COID .
    Choose order headers and followthe above procedure.
    COID will be helpful for other reports and you can explore
    Regards
    Ranga

  • BAPI for Process order change

    Hi,
    Can any buddy tell me the Bapi used for Process order change
    with following scenarios:
    Quantity change
    Resource change
    Rescheduling
    Control key change
    RM Change
    Recipe change
    TECO
    REVOKE
    Material shortage check
    Best Regards,
    Sheetal.

    Hi,
    BAPI_PROCORD_CREATE for process order create
    BAPI_PROCORD_CHANGE - Change Process Order
    BAPI_PROCORD_CLOSE - Close Process Order
    BAPI_PROCORDCONF_CANCEL for Cancel Process Order
    Confirmation.
    BAPI_PROCORD_COMPLETE_TECH - Complete Technically
    BAPI_PROCORD_RELEASE - Release Process order
    BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
    BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
    BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
    pls refer below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
    Regards,
    Sankaran

  • Process order wrong qty confirmation

    Dear all,
    In process order confirmation(I.e final confirmation) i  need to confirm total qty 156,but by mistake i have confirmed only 125.
    How to resolve it.
    Regards
    Rajasekaran

    Cancel Proces Order conirmation in tcode "CORS" and redo as per your requirement.
    You can find similar posts in SCN by keyword "Cancel Process Order"
    Ref:
    process order confirmation reversal | SCN
    CANCEL CONFIRMATION OF PROCESS ORDER | SCN    
    reg,
    Bhg

  • Quantity Reversal and Process Order Cancellation

    Dear SAPians,
                              I have a problem in Cancellation of Process order after doing the reversal of Quantity after UD thru following steps :-
    1.Assign Inspection Type u201808u2019 in the Material master thru T-Code u2018MM02u2019 & Save.
    2.Go to   MB1B & Make Transfer Posting Thru Movt. Type u2018322u2019 and SAVE.
    3. Now we tried to cancel the process order but system is displaying an error 'Quantity is Partially posted in UD' and we are unable to cancel the process order
    Please Help
    Thanks in Advance.

    Hi
    Reversal of Ud is not possible in normal way as per std  SAP.
    either you have to implement User exit for the same ( avaialable after 4.6 C version)
    Or do as follows:
    Go to MIGO
    selct GR for order & input your ordernumber in the field .
    select Mov.type 102 & slect unrestristed stock in where tab.
    Then check & save the transaction.
    Then Qty will be revrsed.
    Then you can do Process order cancellation.what ever you want.
    Pl. try.
    Regards
    YMREDDY

  • PO cancellation for back dated process order

    Hi,
    I want to know how to cancel the confirmation of the process order which has been confirmed in the previous month,because when i go to cors option i get an error saying that the period has been closed.Kindly help
    Regards,
    Karthik Rai

    Hi
    If you need to calcel or reverse the confirmation for that posting date  with respect to the particular material documetn for the process order
    the period should be open.
    otherwise
    you can cancel that confirmation with the material document with the current date . so it not required the previous period should be opened when u material docuement got posted.

  • Reg process order confirmation cancellation

    Dear all,
    what is the table entry generated in AFRU table when we cancel a confirmation of a process order
    i want to know in which field we geta entry and how can we identify that a particular confirmation number is cancelled
    Thanks in advance
    Regards
    venkat

    Hi,
    In AFRU table, there is the STZHL field (Confirmation counter of cancelled confirmation)
    It's the confirmation counter of the original confirmation which was cancelled by the current confirmation.
    For example:
    Confirmation    Counter     STZHL
    1000                 1                blank
    1000                 2                1 --> this means that this is the cancellation entry for the line above.
    1000                 3                 blank
    I hope it helps.
    Regards,
    Marcelo

  • Error in cancelling sales order line using process order API

    Hi,
    I have created a sales order which is in booked status. I want to cancel the order line . when I am running the concurrent request I am getting the following error message.I am using the process order API to perform this operation.
    API Error Message You are not allowed to update Inventory Item because:
    line has been booked
    API Error Message You are not allowed to update Line Type because:
    Line is Booked
    Can anyone help.
    thanks
    Ashwini

    Hi,
    What is the application release?
    What concurrent program you are running? Is it a custom or seeded one? And, what is the API name?
    Please see if these docs are applicable.
    Unable To Manual Mass Update Items For Multiple Booked Sales Order Lines [ID 887905.1]
    Cannot Update Ordered Item To Related Item On Booked Sales Order Line [ID 298796.1]
    Thanks,
    Hussein

  • Cancellation while processing order

    After seeing the receiving date, i changed my mind and want to buy an ipod from future shop instead. so i cancelled my order while it was in processing order state.. do i get a full refund on my credit card? and how long does it take for the refund? cuz i need the refund to have enough money to buy the ipod..
    sorry if it's in the wrong section, please help..

    Hi,
    Your best bet is to call the Apple store and ask them directly.

  • Process order cancellation error

    Dear all,
    I was not able to delete the process order due to the status of ORRQ,
    Kindly please let me know how to process.
    Regards
    Rajasekaran

    Hi Rajasekaran,
    Option 1
    Go to BS22
    Select the id I0278 - LVMS
    Make the selection option to allowed from disallowed
    Now you can set the deletion flag.
    Option 2
    You can make the status ORAC from ORRQ, by running the transaction COAA or COPA. Order record will be archived during this process. But you can not re-print once you done this. Again re-printing can be controlled using BS22 by making the change in the relevant business transaction.
    Regards
    Tao

  • Process order cancellation or reversal after sales order delivery has b

    hi,
    here we got one issue as user made mistake in assigning profit center in the material master of a material. when the process order execution is over, delivery has been done for a sales order. then user came to know that documents generated in the profit center assigned in the material master. but actually another profit center is supposed to be assigned.
    now can we do something to change in PP to effect the profit center documents in this stage.
    can any one of you suggest good solution, i will be thankful to you
    regards

    Hi
    yes you can revoke closing of process order
    Go to Cor3 go to process order header
    process order >>> functions >> restrict processing >>> Revoke closing
    again go to Process order >> functions >> restrict processing >> revoke Tech. completion
    after tht you can change your profit center
    Please reward points
    Sunil

  • Issues during Component Batch Determination for Process Orders

    Hi,
    I am encountering a strange issue during component batch determination of process order.
    1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
    "Log cannot be saved: Object/subobject not specified"
    Message no. BL201
    *Diagnosis
    Log save cancelled because at least one log contains no object or subobject.
    Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
    If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
    Procedure for System Administration
    Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
    The possible values for object and sub object must be configured in transaction SLG0.*
    If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
    Again when the order is in REL status and do the determination, It gives the same error.
    This happens only for a specific plant, In other plants batch determination works in all scenarios.
    I checked for all plant related Config for batch determination and coudn't find any discrepancies.
    Please advise how to resolve this issue. Thanks in advance for your help
    Regards,
    Aheesh

    There Is no direct solution for your requirement just try this work around.
    While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code )  make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
    Regards,
    Ajay Nikte

Maybe you are looking for

  • How can i create a new Adminstrator user account ?

    How can i create a new Adminstrator user account ?

  • IE QuickTime 7.0.4 Error

    When I view web pages (myspace for example) and other users have videos or songs using QuickTime, all I see is a big blue Q with a question mark in the middle. I have gone into the Internet Explorer options and done everything I have already read abo

  • How do I lock an app

    How do I block an app on my Ipod?

  • Thtmlb:cellerator Cell Click Event

    Hi All I have created a Dynamic Table view and the columns are determined at run time based on few conditions and used Iterator class. I have a column where I want the cells to trigger an event when clicked on. For example if i click on value 2 under

  • Context not overriden by the EPMDimensionOverride formula (Excel).

    Hello experts. I'm building an input form and  I'm overriding 2 of my dimensions with the EPMDimensionOverride formula --> but it don't seems to work. In the context ribbon my dimension selection is a high level hierarchy member (no input possible) b