How to cancel a service order

Hello Expert,
   I want to cancel a service order (created via iw31) in status CRTD. Can you please suggest me a BAPI or something like that which help me on this.
I try BAPI_ALM_ORDER_MAINTAIN but it' can't be use to cancel service order.
Do we need to confirm a service order than only we can cancel it. I am not very sure but if a SO created by mistake or no more useful. we need to cancel it then why the confirmation required.
Please suggest.
Regards
Swati..

There is no requirement for confirmation as far as i know and BAPI suggested is used for cancelling the confirmation of an order ...In your case   we want a order to be cancelled but what is that you mean by cancellation is it deletion or logical deletion why can't you change the status to what you want using the BAPI suggested by you  and using the appropriate methode available in this BAPI for status change ....provide the status change is permiteed manually ..however CHANGE Change objects and DELETE Delete objects methodes should help you delete the service order which has been created by mistake ....BAPI_TRANSACTION_COMMIT is a must ...
Thanks,
Anjaneya .

Similar Messages

  • How to cancel my pending order

    Hey,
    Can any one tell me how to cancel my pending order. Also even if I dont cancel my
    order will my card be charged.
    Thanks.

    please contact Skype customer service
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • IMP: How to delete the service order

    Hey Experts,
    Can you tell me how to delete the service order which was created in IW31..? or we have any Functions Module to delete the service order?
    and one more question is I have more than 100 service order in the table ,but it will display only 50 order when i execute this Functions Module BAPI_ALM_ORDERHEAD_GET_LIST
    can you tell me how to solve this problem...?
    Thanking you in advance,
    Regards
    J Sarathi

    This is what the BAPI_ALM_ORDERHEAD_GET_LIST documentation says
    "You can use this method to determine a list of orders according to a list of selection criteria. The number of hits that are produced for the person calling up the list, can be specifically reduced; without further parameter transfers, the first 50 hits are displayed. A complete list of the hits is stored internally. If you call up the selection again within a Logical Unit of Work (LUW) without changing the selection parameters, but with other refurbishment parameters, then you receive further partial quantities of the selection result, as specified by you."
    and for deletion
    check whether you can set any deletion status through the fm BAPI_ALM_ORDER_MAINTAIN
    Also check the business objects BUS2007, BUS2088

  • How to create a service order and check the internal order in R/3

    Required Solution:
    1. How to copy existing service order and create new one and check the internal order in R/3, whether the certain service order is correctly created in r/3, can you polease explain the steps plz.
    2. If i am creating service order by service template finally the service order is getting created but it is not showing me in the table iaom_crm_aufk, how to check this.
    can any one help me in this issues as soon as possible.

    Hello Zita,
    Try to restart your portal after creating <b>ServiceUser</b> in both UME and KM.
    One more major difference between ServiceUser and normal portal user is that a ServiceUser does not have a UserAccount (IUserAccount)
    Object serviceContext = null;
            try {
                serviceContext = AccessController.doPrivileged(new PrivilegedExceptionAction() {
                    public Object run() throws WcmException {
                        return ResourceFactory.getInstance().getServiceContext(CONTRACT_SERVICE_USER);
            } catch (PrivilegedActionException e) {
                logger.severe(e, "ResourceContext for the technical " + serviceUser +
                     " user could not be retrieved.");
    IResourceContext resCtx = (IResourceContext) serviceContext;
    So I modify all KM resources with this resCtx.
    Hope this helps ...
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • How to cancel a service request?

    I had been running the Ipod in the car and noticed it had gone into the red. I turned it off and it went off normally. When I got home I hooked it to the computer to charge and it froze up completely, no response to anything, hold button, click wheel, weirdest yet, the backlight stayed on permanantly. And the computer did not recognize that it was even connected in Itunes or as a drive.
    So I freaked out a bit and after an hour or so while( after trying what I could which was basically holding controls down and flipping the hold button off and on ) I gave up and put in a service request, and went to bed.
    The next day, I noticed that the Ipod was dark ( which I expected since the battery was almost gone and the backlite was stuck on ). But just for fun I press the clickwheel on and lo and behold, it came back on as normal. I hooked it up to the computer as usual and it was visible to Itunes and the computer as it should have before. So I went through the reset process just in case and relaoded my music.
    So I guess there should be a 6th "R" Let it sit over night and see if it still screwed up the next day
    Now I'm stuck trying to figure out how to cancel a service after already receiving the return box Which was very fast by the way. Like, 2 days. Anyway, I looked all over the support site and could not find anything that looked like what I needed.
    Does anyone have any idea what I need to do to cancel the service request?
    Mike
    Dell Dimension 8400   Windows XP Pro  
    Dell Dimension 8400   Windows XP Pro  

    Call apple...
    Apple Phone Numbers
    btabz

  • Can we cancel a Service Order

    Hi,
    Can one please help me on following points:
    1. After cancellation of TECO on service order what happens to the costs?
    2.What all areas will get effected after TECO of a Service order?
    3.Is it possible to cancel/delete a Service Order?
    4.If so what all areas has to be looked in before canceling a service order and canceling a TECO?
    Thanks in Advance....

    1. After cancellation of TECO on service order what happens to the costs?
    The costs remain as it is in the Service order.There is no changes in the costing.Cost can be viewed in Costing Tab in Service order (IW33--> cost tab) or thru t-code KOB1
    2.What all areas will get effected after TECO of a Service order?
    After TECO, the following transactions cannot be done : Material Reservation, scheduling,goods movement, confirmation,Requisition,Quotation, RRB, etc etc.
    Once TECO is done, the goods movemnent,confirmation, etc cannot be reversed.
    3.Is it possible to cancel/delete a Service Order?
    A Deletion Flag can be set at the service order header level.
    4.If so what all areas has to be looked in before canceling a service order and canceling a TECO?
    Service order should be open ( status = CRTD) for it to be deleted. All confirmations and goods movement etc should be reversed before deleting a service order.
    TECO cancellation cannot be done for settled orders.

  • Cancellation of Service order confirmation

    In IW31 we are creating service orders. That service order is posted in 03/24/2008. When i cancel that service order today it is posting into 03/24/2008. But it has to post in Current date. ( 11/25/2008 ).Can any one tell me why it is happening like that.?
    The below is the brief explanation.
    "The main problem is that after the last day of the month users sometimes have to cancel a confirmation( IW45) against a service order. Unfortunately this is posted back into the month that the original confirmation was done. This does not seem to be the correct way for this to be handled. The posting should be made into the current month..

    Hi,
    Instead of deleting an order,we can assign the reason for rejection.
    Goto T.Code "MASS".
    Enetr the object type as "BUS2032".
    Press F8 or Click on "Execute".
    Click on Fields.
    Search for the field "MASSVBAP-ABGRU".
    Select that line entry.
    Enter your order numbers range in from and to fields.
    Execute and then assign the reason for rejection.
    After this the status will be changed to completed and cannot be billed.
    Save.
    Regards,
    Krishna.

  • How are contract and service order related....urgent

    Hi all
    I am ABAP consultant...
    I am working on Service contract Cost Management threshold alert report...
    I want clear idea as to how are contract and service order related....
    BAsed on contract type and contract start and ,end date,sold to party....
    i need to get contract ,item , service order no: , and i have to calculate <b>INTERNAL ,EXTERNAL LABOUR, INTERNAL,EXTERNAL material COST</b>
    plz help me out...
    Thanks in advance,
    Madhavi.

    Dear Madhavi,
    http://www.erpgenie.com/abap/tables_sd.htm
    VBFA Sales Document Flow
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index
    Also, go through:
    http://www.erpgenie.com/abap/tables.htm
    Regards,
    Naveen.

  • How to cancel my service online if I am out of the US?

    how to cancel my service online if I am out of the US?

    International Support - Verizon Wireless
    Good Luck

  • WM  how to cancel confirmed Transfer Order

    Hi,
    I am new to WM, can you please tell how to cancel confirme Ttransfer order in WM.
    for example if post goods issues is compleated for delivery then the Transfer order will be created and the Trnasfer order confirmed manually, now  how to reverse or cancel the Transfer order.
    please advice
    Regards
    Kumar

    If the goods receipt is created, for example goods receipt for purchase order.After receiving the goods then we will putaway the stock by confirming transfer order.
    If we want to reverse the goods receipt then how to cancel the To.
    Pls advice
    First you should reverse the GR and then (based on settings in IM-WM interface) a new TR will be created and processing that TR (e.g. from trx LB10) you will create a NEW TO (stock removal TO).
    Regards,
    Csaba

  • How to update the service order status at meter level

    Hi
    I need to fetch one open service order and update the retrieved open service order status at meter level.
    I am trying to do it through BAPI_ALM_ORDER_MAITAIN but i am not able to do it.
    Please let  me know the process how to update.
    Thanks & Regards
    Pallavi

    Hi,
    Check if this code works ...
    REPORT zbapi .
    DATA t_meth TYPE TABLE OF bapi_alm_order_method.
    **Internal table for Operation (BAPI)
    DATA t_oper TYPE TABLE OF bapi_alm_order_operation.
    DATA t_comp TYPE TABLE OF bapi_alm_order_component.
    **Internal Table for Opertaions UP (BAPI)
    DATA t_comp_up TYPE TABLE OF bapi_alm_order_component_up.
    **Internal table for BAPI Return code
    DATA t_ret TYPE TABLE OF bapiret2.
    ***WORK AREA DECLARATIONS
    **Work Area for Hedaer
    DATA:wa_header TYPE caufvdb,
    wa_meth TYPE bapi_alm_order_method,
    wa_op TYPE afvgb,
    wa_comp TYPE resbb,
    wa_comp1 TYPE bapi_alm_order_component,
    wa_comp_up TYPE bapi_alm_order_component_up,
    wa_oper TYPE bapi_alm_order_operation.
    PARAMETERS:TEST.
    ****Fill Method Internal table
    CLEAR wa_meth.
    wa_meth-method = 'SAVE'.
    APPEND wa_meth TO t_meth.
    wa_meth-refnumber = sy-tabix.
    wa_meth-objecttype = 'COMPONENT'.
    wa_meth-method = 'CHANGE'.
    wa_meth-objectkey(12) = '000004000104'.
    wa_meth-objectkey+12(4) = '0010'.
    wa_meth-objectkey+16(4) = '0010'.
    APPEND wa_meth TO t_meth.
    **Component Internal table
    wa_comp1-reserv_no = '0000001072'.
    wa_comp1-res_item = '0001'.
    wa_comp1-activity = '0010'.
    wa_comp1-item_number = '0010'.
    wa_comp1-special_stock = 'B'.
    wa_comp1-requirement_quantity = '15'.
    wa_comp1-stge_loc = '0001'.
    wa_comp1-backflush = 'X'.
    APPEND wa_comp1 TO t_comp.
    **Component Update Internal table
    wa_comp_up-special_stock = 'X'.
    wa_comp_up-backflush = 'X'.
    wa_comp_up-requirement_quantity = 'X'.
    wa_comp_up-stge_loc = 'X'.
    APPEND wa_comp_up TO t_comp_up.
    **Call Bapi
    BREAK-POINT.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
    it_methods = t_meth
    it_component = t_comp
    it_component_up = t_comp_up
    return = t_ret.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.   <--- Hope u r using this too
    regards,
    Naveen
    Edited by: Naveen Deva on Apr 16, 2009 9:12 AM

  • How to cancel the returns order

    Hi,
    i have done a sales process by creating sales order, delivery, invoice and then i  have taken the goods return by returns order, returns delivery and the credit memo.
    Now i want to delete/ cancel all the documents till from credit memo to sales order. im getting error during deleting the returns order.
    can u tell me the process abt how to can all the docs
    Thanks and Regards
    Kishore

    Hi there,
    What error you get when you try to delete the returns?
    If the credit memo is posted, then rever the posting. T
    hen cancel the credit memo in VF11.
    Reverse the PGI in VL09 for the returns delivery. Unpack & reverse the picking quantity. Delete the delivery.
    Then cancel the returns order.
    Pls note that you cannot delete the sales order. You can only cancel or enter reason for rejection in the line items.
    Same way cancel all the documents from F2 to OR.
    Regards,
    Sivanand

  • How to Configure a Service Order

    Hi All,
    I have a scenario here where my client wants a service type to be entered into the sales order. I am wondering is there such thing as a service order. If there is, I trully appreciate advise on how the process is and where should I configure it. I hope some one could refer the configuration steps to me.
    Thanks a lot in advance!
    Regards,
    Yvonne

    Hi,
    In standard such order is not available.
    As of my knowledge service order can be configured in customizing.
    For this first and foremost,we have to create a service material.The standard materisl type that is available is "DIEN".
    Create a service material using MM01 T.Code.
    Next create a new order type using VOV8 T.Code.
    Maintain the orer related billing only.
    Goto VOV7,you can use the existing item category or you can define a new one also.
    In this item relevant for delivery tick mark is there.uncheck this one.
    Schedule lines allowed.Un check this one also.
    goto VOV4 T.Code,determine the item category for your order type.
    In VTFA T.Code maintain the copy control between the billing type and order type.
    In VOV8 T.Code donot maintain any data in delivery tab.
    Save.
    Regards,
    Krishna.

  • How to cancel a Move Order line using API

    Hi
    I have a requirement, where I have to cancel Move order lines.
    At times, multiple Move order lines are getting created for the same Sales order line.
    Even after the Sales Order line is shipped and closed, the move order line is still open and it also has a corresponding pending transaction in mtl_material_transactions_temp table.
    I came across INV_MOVE_ORDER_PUB.process move order line API.
    how do I use it to cancel the move order line. Any sample codes would be highly welcome.
    Thanks

    Finally, found an alternate solution.
    used the following code.
    ===================================
    SET serveroutput on size 1000000
    DECLARE
    l_return_status VARCHAR2(100);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_user_id NUMBER;
    l_resp_id NUMBER;
    l_appl_id NUMBER;
    l_org_id NUMBER := &org_id;
    l_move_order_line_id NUMBER := &mo_line_id ;
    BEGIN
    SELECT user_id
    INTO l_user_id
    FROM fnd_user
    WHERE user_name = 'PRAWILNSON';
    SELECT responsibility_id
    ,application_id
    INTO l_resp_id
    ,l_appl_id
    FROM fnd_responsibility_vl
    WHERE responsibility_name = 'Order Management Super User';
    FND_GLOBAL.apps_initialize (l_user_id, l_resp_id, l_appl_id);
    MO_GLOBAL.set_policy_context ('S', l_org_id);
    MO_GLOBAL.init;
    DBMS_OUTPUT.put_line ('Calling INV_MO_BACKORDER_PVT to Backorder MO');
    DBMS_OUTPUT.put_line ('===============================');
    inv_mo_backorder_pvt.backorder (p_line_id => l_move_order_line_id
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data);
    DBMS_OUTPUT.put_line ('Return Status is : '|| l_return_status);
    -- Check Return Status
    IF l_return_status = fnd_api.g_ret_sts_success THEN
    DBMS_OUTPUT.put_line ('Successfully BackOrdered the Move Order Line');
    COMMIT;
    ELSE
    DBMS_OUTPUT.put_line ('Could not able to Back Order Line Due to Following Reasons' );
    ROLLBACK;
    FOR j IN 1 .. l_msg_count LOOP
    FND_MSG_PUB.get(p_msg_index => j
    ,p_encoded => fnd_api.g_false
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index);
    DBMS_OUTPUT.put_line ('Error Message is : '|| l_msg_data);
    END LOOP;
    END IF;
    END;
    /

Maybe you are looking for

  • Archiving to PO line item

    Hi Gurus, I am trying to implement the Archieving functionality to PO line item. I have different types of files like TXT,PDF etc and which i need to attach to line items of PO separately. Can you please tell me how can I achive this functionality. T

  • Embedding Music Files

    Hi I'm trying to create a website that will contain music tracks. I've created a page and am experimenting. However it doesn't matter how hard I try or the research I do, and it doesn't matter weather I embed .mov, .mp3, .swf I just can't get the Qui

  • How to retreve images from DICOM

    Hi , I would like to ask a question regarding DICOM objects in database 11g . I would like to develop an application in java where i can read from dicom objects and display them in the web application (kinda dicom viewer) The question is how can i di

  • IPhoto crashes after deleting files

    I import my photo's from 8mg pixel cam, delete files empty trash in iPhoto, quit the app reluanch it and the import is the same size the deleted photos are still in the film roll but when you try to display them there is a white image. it seems to be

  • Display custom time-stamps on a graph

    Hello I have some data in the format (yyyy-mm-dd, value). I would like to plot it like that in a graph chart. The problem is that I cant transform the string 'yyyy-mm-dd' into a labview time-stamp. Is there any way around? Thanks, Antonio