Using VA02 tcode sales order deletion

Problem is: user getting error "you cannot select assembly order(production order number) for deletion" while trying to delete item from sales order using transaction code VA02.
other info: corresponding production order status is
"TECO PRT  CNF  DLV  PRC  BASC BCRQ GMPS"
could anybody can tell me what is the reason for this? and how one can delete the same.
Appreciate your quick resolution.
Thanks,
Aritra
Message was edited by: Aritra Samanta

Hi Suraj,
Thanks for your response!
But problem is that user is not going to delete sales order: he wants to delete one line item in "Change Make to Order" screen (Transaction code VA02).
He is not able to delete one line item in sales order.
Please tell me why he is not able to delete that item.
for your information:I found some operations are not yet confirmed/closed in that corresponding production order. And also he is not able to close that production order.
Is there any link between these to sales order changing?
waiting for your valuable comments.
Thanks,
Aritra

Similar Messages

  • Using va02 change sales order

    dear experts,
                i need help from urs,  i am using bdc close sale order, when its having delivery. i done this issue
    only single line delivery, that is in schdule lines having one schedule line with delivery, i done this using call transaction, but i can't do multiple scdule line with delivery. i know sap standard not allowed with delivery. but i want any other way, like using bapi.
    regards
    sakthi

    Hi,
    Not able to understand this.....Can you please a bit more explanatory....

  • Monitor sales order deletion in MV45AFZZ

    Hi all,
    I've added code to userexit sales_doucment_save in MV45AFZZ. However, I have to check it in case of sales order deletion.
    Does anyone knows how to find that the sales order is to be deleted ?  In the exit itself I couldn't find any field to check that it's actualy deletion and not change.
    Thanks in advance,
    Shai E.

    You should use..
    exit..
    USEREXIT_DELETE_DOCUMENT  
    What are actually trying to achieve. Can you give more info..
    Rgds,
    Samir

  • Same serial number + material combo can be used in different sales orders?

    Hi,
    We have a recurring issue in our system where a Serial Number/Material combination can be used in another sales order once it is already in ECUS status.
    Example: We sell and post material 123 with serial number 456, it goes into ECUS status, and we are then able to create a sales order with the exact same numbers.
    Is this something that I should escalate to OSS? Why is this happening? Is there an IMG setting where I can turn on this functionality?
    I woud be very grateful for any help! Thank you so much!

    Hi San,
    The org. determination rule is setup correctly, I've followed the link below to determine sales area on item level - to clarify, we are creating online sales orders (B2B scenario)
    https://help.sap.com/saphelp_sm40/helpdata/en/61/ac747795b511d3b53e006094b9ea37/content.htm?frameset=/en/63/02b638faa32d…
    Check the table in the section "Organizational data at item level" - i have already assigned an org.determination profile with no determination rule on item level and still facing the same problem.

  • Which t code use before pre sale order

    gud morng to all
          pls tell me. which t. code use before pre sale order (va21) and why this function use and how
    regards,
    gaurav pabreja

    T.Code: VA11
    to create Inquiry
    The document flow is
    IN > QT > OR > LF > F2
    The Inquiry is done in order to get to know the price that the customer is going to get. It can be done over the phone, e-mail or a walk-in.
    Regards
    AK
    reward points if helpful

  • What is the standard class used to create SALES ORDER in SAP CRM?

    Hello Experts,
    Can anyone suggest me what is the standard class used for creating sales order.
    I have created sales order using the BAPI 'BAPI_SLSTRANSACT_CREATEMULTI' in my report program.
    Now, I have to create sales order using standard classes and methods(my assignment).
    Please suggest the suitable class.
    Regards
    DNR Varma

    Hi Varma,
    You can create crm documents like sales order using BOL interfaces.
    You can check one example at the following thread:
    Create OrderThro BOL
    Check if it helps you a little more.
    Kind regards,
    Garcia

  • Output Type on Sales Order delete

    Is it possible to activate Output Type, sending iDoc, on Sales Order deletion?
    On Sales Order create, change it works well, but not on delete.

    hi,
    this is Possible.
    but it is not possible through Message Control ..
    you need to write custom program..
    that program read deletion data from CDHDR and CDPOS table and append data to idoc and post.
    Prabhudas

  • How can I use the field "Sales Order" on derivation?

    Dear All.
    This is about PA characteristic derivation.
    I want to change the characteristic value "Sales Order (KAUFN)" by derivation.
    But I cannot select the characteristic field on target field.
    The field "Sales order(KAUFN)" doesn't exist there.
    Why? How can I use the field "Sales Order" on derivation?
    Y.C.Bae

    Hi Bae,
    in order to be able to choose fields KAUFN (for sales order) and KDPOS
    (for sales order item) as target fields of derivation step 'enhancement'
    you have to modify the coding of subroutine EXIT  GET_ALLOWED_TARGETS
    in program RKEDRCOPA like this:
        NAME-IDENTIFIER = 'CO-PA'.
        NAME-TABNAME = FIELDTAB_ENTRY-TABNAME.
        NAME-FIELDNAME = FIELDTAB_ENTRY-FIELDNAME.
        IF FIELDTAB_ENTRY-USGFL CA 'DUV'
    BEGIN OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KAUFN'
             OR FIELDTAB_ENTRY-FIELDNAME = 'KDPOS'
    END   OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KNDNR'
             OR FIELDTAB_ENTRY-FIELDNAME = 'ARTNR'
    Actually sales order number and sales order item shouldn't be changed
    by derivation (therefore they are no valid target fields in standard)
    but if you need to fill them within an enhancement this modification
    will help you to define them as valid target fields. But this is just
    the technical frame so far; the logic from which table you'd like to
    derive the sales order number correctly depends on your implementation
    of the enhancement! I just want to ask you to be rather careful with
    the implementation of the exit so that the sales order number isn't
    changed in cases that shouldn't be concerned.
    Regards,
    Abhisek

  • Sales Orders deletions

    Dear All,
    My problem is that in live system some users deleted sales orders. Can any one tell me where to find these sales orders deleted will stored. In which data base tables these deleted sales orders will be saved. In our system there is no archive tables available. So is there any history tables for sales order where i can see the deleted sales orders. Awaiting for a reply.
    regards,
    Rakesh

    Hi,
    You can get those details from CDHDR and CDPOS tables.
    Table CDPOS  :
    OBJECTCLAS = VERKBELEG
    CHNGIND = 'D' .

  • One time Discount Coupon to be used during the Sales Order Creation

    I need help to configure a one time coupon to be used during a Sales Order creation. During 2009 our customers that have purchased more than certain amount we are going to give them a discount Coupon with a code that they can use just one time during his next purchase. I need help to configure this request.
    Thanks

    Hi Gilberto
    Go VK11.
    After maintaining the material & price, please go to -->Additional data.
    You will be displayed with Validity, Assignments, Assignments for retail promotion, Limits for Pricing, Payments.
    In the 'Limits for Pricing' you have three options - Max. condition value, Max number of orders & Max condition base value.
    In the Max number of Orders - enter 1 to avail this special price only for first order.
    Importent Note: to activate the ' Limit of Pricing' -- you need to tick 'Condition update' for the particular contion type, in condition type customising.
    FOr eg. condition type - ZR00 - you need to have special price for this condition type & want to limit only for first order order.
    In the customising for ZR00 - 'condition update' need to be ticked, then only you can get the above option.
    i hope it is clear to you
    thank you
    Anirudh

  • Vbuk update with tcode va02 but sales order is completed

    Hello,
    I have a problem that the sales order is created via EDI IDOC_INPUT_ORDERS and if I look into the sales order in the table VBUK the field "Header billing dat." is A so the "Header data" is A. I can see the incomplete document in v.02. If I open the Sales order there is the message nrV1800:"Docuemnt is complete" but it is not.
    If I go into conditions(goto->header->condition) and save the document without making any change - the status in the VBUK is set to C and I can process the document.
    Does anybody know what could be the problem of the situation?????
    If there are many Sales Orders the users have to open them just for saving which is strange.
    Thank you for answer and help in advance.
    Regards
    Marceli

    Hallo Mr K Gopidas,
    first of all thank you very much for answer.
    "...Could you kindly attempt the following experiment:-
    Enter a sales order directly in the system, without proceeding to the condition screen.
    Is it created with (VBUK) status C?..."
    I did this operation making manually an order without proceeding to the condition screen and the status in VBUK was set to C.
    But during the creation I had two warrning messages:
    1.the division from the item is different from the division of the header,
    2.there is no VAT registration number fro company code MY in country HU
    (the country HU is the country where the consignment stok is)
    Further, as the document is completed on opening the sales order, item conditions, are there any manual conditions in the sales order, which get activated on changing the document?
    Would there be any message displayed at the time?
    I have check each condition and in the section "Control data" the "Condit.origin" is never as C - "Manually entered" if this is the field You mean?
    how to check the manual conditions in the sales order, did I do it correctly?
    After the analysis of the IDOCs which are comming I saw the the problem usually occures for the last segment of the IDOC with the same material number from the customer.
    Could it be connected with this case?
    I hope you give me more tips.
    Thank you in advance again.
    Regards
    Marceli

  • Sales Item's Qty is disabled in change mode (VA02) of Sales Order.

    Hi,
    1) We create Sales order (L2) from Service Order(DP90 tcode), system automatically selects 'LABOR HOURS' material, based on actual hours posted for a service order and adds this as 1st line item in Sales Order. When order is saved and we go back to VA02, we find that LABOR HOURS item is disabled, meaning we cannot change Qty but can only change Amount. The item is not billed yet.
    2) If we add 2nd line item with same 'LABOR HOURS'  material in change mode(VA02), Ssave and get back to VA02 again, this item is enabled. We want to make the 1st Line item's qty enabled so users can change the qty before creating billing document.
    Since the 1st line item is created from DP90 tcode, system does not allow us to change the Qty ? Any help is appreciated.
    Niranjan

    Hi Jelena,
    Thanks once again for your time and responding back.
    If you remember, I had mentioned that we are creating Sales order from DP90 tcode. We had created a custom screen(and tcode) called ZWIN where we had provided a button to create Sales order from Service Order using DP90 tcode. In this custom screen, we were calling BDC for DP90 and creating Sales order. On the same custom screen, we had given option where users could enter other materials. For these extra materials added, we were using BAPI 'BAPI_SALESORDER_CHANGE', to add these new materials. Here is how I fixed it.
    1) DP90 would have created sales order with Item 10 for LABOR HOURS.
    2) Then  'BAPI_SALESORDER_CHANGE' would have added any extra materials selected on Custom screen.
    3) While calling this BAPI, I deleted Item 10 with LABOR HOURS and added new Line Item 11 with same LABOR HOURS.
    Now when I get into VA02, I see that LABOR HOURS line is enabled, which means we can change Qty.
    This avoided deleting line item and adding same item in VA02 when there was a change in qty later.
    Thanks again.
    Niranjan

  • Sales order deletion

    Please send me the steps to delete a sales order. thanks in advance.
    my id is [email protected]

    Hi Friend,
    I am giving you the steps here only, just go throu it.
    You can no doubt delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
    Deletion /cancellation can only happen even if the subsequent documents are NOT created. As sudhir might have rightly said Sales Order with subsequent documents cannot be deleted. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
    Steps:
    1. Cancel the invoice through T code VF11
    2. Reverse the Goods Issue using VL09, turn the pick quantity ‘zero’ in the delivery document
    3. Delete the delivery document using VL02n.
    4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
    Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
    SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal.

  • Sale order deleted item - Table

    Dear Friends,
    I would like to know if in a Sale order I have 4 items out of which am deleting 1 line item form the list and 1 line item stock is getting changed.
    in the document changes i cannot see the material code which is getting deleted.
    Is there any table where i can see the deleted material code or the quantity changed material code.
    CDPOS or CDHDR does not give full information.
    throw some light as i need to prepare a report.
    Thanks,
    Satish

    I seriously doubt such information is available anywhere in SAP. In the change documents (the above mentioned FM just reads the above mentioned tables) you'll find only that line # so-and-so was deleted, when and by whom. There won't be any details and, in fact, this kind of makes sense.
    If it is important to track the items that, say, were cancelled by the customer, use Rejection Reason instead of deleting the line. You can prevent the lines from being deleted through a user exit, however, it would be better to address this via business process and user training.

  • Change in Sales order deleted all process production order

    Dear All,
    We have Make to order scenario for our export sales. When we have receive order we make production with reference of sales order with help of t-code MD50 then convert plan order into production order.
    IF sales department do changes in sales order it'll delete all processing production orders So, we have to do revoke all production orders manually.
    2 query is that, Is there any way to run MRP (Make-to-order) on all line items of sales order ?
    Please provide solution.
    Thanks,
    Farrukh khan

    Dear Farrukh,
    There is not tcode to run sales order for all line items, but if you run MD02 it will plan all sales order & line items also. You can run MD02.
    Regards
    Abhijit Gautam

Maybe you are looking for

  • Error copying file when reinstalli​ng Windows

    I saw where someone had posted a similar question, but saw no answers. Anyway, IBM sent me a set of recovery disks and a new hard drive (unit it still under warranty) and when I try to reinstall using the recovery disks provided, it stops during disk

  • Getting error  while calling triggering event in processFormRequest

    hi all, i am clicking my custom button after selecting value from a lov on create quote and getting error "Row 1 Error - Please note that following required fields have not been entered: CustPartyId " if 1st i m entering a value in DFF filed and then

  • Re: Battery Drains Faster in iOS 5 ?

    Hello, I have marked that Battery drain faster if using apps in iOS 5 then the previous version, but the idle time is better in iOS 5. In my case after fully charged, my phone show 100%  if its in idle mode for 7 hours, but as soon as i start some ap

  • Appworld doesn't work

    Hi I have a problem with my Blackberry, it's the Blackberry curve 9220. I bought it the last week.. When i try to go in to app world the telephone say that I have to update appworld, i click on "update" and the phone tries to go in the blackberry sit

  • Blank Spaces in the report

    <p>Hi </p><p>My Report has some columns which has the option as "Can Grow" so that when the returned value from the database is more that one line it can accomdate the data in the field.</p><p>The problem i am facing is that when the records are prin