Deleting line items in sales order.

Hi All,
I got as issue while creating the order.
issue:
I try creatin an order by deleting some of the line items and the customer got the credit check. when i tried chek in the debug mode the deleted line items are not reflecting in the internal table.
Is there any user exit availble thru which i can delete the line items from internal table on the basis of UPDKZ ffield?.
Regards,
Neslin.
Edited by: neslin on Jan 16, 2008 8:21 AM

Hi,
This is the standard SAP behaviour.
...Seems development inside a relevant include is the only fix to achieve this.
Regards,
Anubhav

Similar Messages

  • How to get report for deleted line items from sales orders

    Dear FRIENDS,
    please infirm the t.code or report for viewing the deleted line items from sales ordrers.
    Kindly do the neeedful.
    regards,
    N.M.PAWAR

    Hi,
    With transaction SE16 you can view table CDHDR for header changes and
    CDPOS for item changes. This includes deletion.
    OR
    GO to VA03 - Display Sales order -> Put order no : don't press enterbutton. -> Go to Enviornment -> changes -> You will get details
    Date ItmNo. SLNo Action
    Hope this help please close the thread if answers

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • Not to be able to delete line items from sales orders

    I have to do something so as not to be able to delete the line items from a sales order if I have already received a down payment for this sales order

    Dear Stilianos
    Assign Reason for Rejection for that line item and create a new line item in the same sale order.
    Incidentally, why do you want to delete the line item ??
    thanks
    G. Lakshmipathi

  • Deleting line item from sales order

    Hi to All,
    I am an SD support consultant,i had an issue please help me out,
    When i am trying to delete one line item from the sales order i am getting error message that line item cannot be deleted because of planned order.

    Hello
    Due to your availability check & transfer of requirement config for sales process & material, in the background planned order already generated. Till the time you have subsequent document for Item, you can't delete the litem.
    So, take assistance of PP consultant in your team for delete planned order
    Thanks & Regards
    JP

  • Cannot delete line item from sales order

    Hi Gurus,
    Need your expert helo for the following issue :
    A sales order was created in CRM with 3 line items, the first and 3rd line item being the same.The order was successfully replicated to ECC.Now on the CRM side the 3 rd line item was deleted and another item was entered which doesnot exist in the system.The system gave 2 errors indicating that the item doesnt exist in the system which is valid.Now when we are tryng to delete the line item(3rd item which doesnt exist in the system) the system doesnt allow it .If there were any subsequent docs for this order it would make sense that order doesnt allow any changes on the CRM side but there is no delivery doc created yet.
    Seems like the order is in some confused state.Can you please suggest what can be done to make sure that line item 3 can be deleted and changes on CRM side reflect to ECC.
    your suggestions will be greatly appreciated.
    Will reward with points.Thanks in advance.

    Hi Venkat,
    I think once you create order..system will not allow you to delete the line Item completely. Now do one thing open a sales order and try to delete the line item..it will not delete it. But if you go to status column of same line item...it will show the status as 'rejected'. This means that order is not placed for that material. And the requirement will not be shown in APO. This is as good as deleting the line item completely.
    thanks
    Kushal
    reward points if help

  • How to delete line item from sales order ?

    Dear All ,
                               user is having 20 line items from which 3 line items of which prod order confirmation cancellation is done also goods reversal done now as user tries to delete the line items an info box pops up --> Due to cost management the line item can not be deleted . Can u tell me that if these line item is not deleted than how to delete this ?  sos what user had done that he had selected reason for rejection for these 3 line items so now the total wt is reduced but user is not able to delete the lineitems .
    pl help
    sap11

    Hi
    For those line items you can assign a REASON FOR REJECTION. Automatically the status of those line items will be closed.
    Thanks,
    Ravi
    PS : sorry....please ignore my post.
    Edited by: sankar ravi on May 20, 2008 3:45 PM

  • Line item in sales order

    Hi sdn team,
    can i delete line items in sales order...i mean i was asked not to do so..... when i do so what kind of consequences will i have to look forward to?
    regards.

    Hi,
    Yes you can delete the Line Items in Sales Order.
    Consequences with Example:
    The BOM Item ( Main Item ) is having the 3 line items (Components / Sub items)
    which are explode in the sales Order for which, if you delete the one of the
    Component items in sales order then only 2 componets will delivery and 2 will be
    billed instead of 3 components items. well this will be a problem for the customer
    and leads to Customer Complaints.
    Hope this Clarifies Your Doubt and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • How to make the line items of sales order cannot be deleted.

    Hi All,
    Is there any Enhancement spots or user-exits which make the line items of sales order cannot be deleted if item category is 'TAN'.
    Thanks in Advance,
    Sudhakar Reddy .A

    Hi All,
    If you doesn't want to delete sales order line items then we have write in the Include Program which has mentioned below and in the form .....endform.
    Program Name :  Include MV45AFZB
    _Example:_
    form userexit_check_xvbap_for_delet using us_error
                                              us_exit.
    IF .......
      US_EXIT = CHARX.
    ENDIF.
    endform.

  • Delete the line item in sales order in VA01/VA02 when the quantity is modif

    Hi SAP,
       I have requirement to delete a line item in sales order.Please suggest me to do the same.
      THe scenarios is , we are inserting a free good line item based on some condition and quantity, If the quantity is modified  the free good line item inserted needs to be deleted.
    Waiting for your responce
    Thanks,
        Billa
    Moderator message : Spec dumping is not allowed,search for available information. Thread locked.
    Edited by: Vinod Kumar on Nov 14, 2011 1:54 PM

    Hi,
    Can you also check the SALES LINE.
    Sales line is the combination of SALES ORGANISATION + DISTRIBTION CHANNEL +PLANT.
    Hope it was not maintained.
    Transaction code : OVX6
    PATH:  IMG->ENTERPRISE STRCTRE->ASSIGNMENT>SALES AND DISTRIBTION->ASSIGN SALES ORG- DISTRIBTION-PLANT.
    please revert if the error still exists.
    santosh

  • To add line items to sales order using User exit.

    Hi ,
    I have to add line items to sales order .
    I have tried adding the code in usr exit move field _VBAP // Check VBAP and in savedocument _prepare . But in all the places I dont see it in VA01 . I can see it in the VA02 and VA03 . But I am not able to save the order as they have made the flooring term as mandatory field, and I am supposed to populate the XVBKD structure for this.
    Pls tell me whts the procedure like say , should I popluate the XVBKD / XVBAP / and should i use the bapi_SALES_ITEM_CHECK to populate the structures at the save_document prepare.

    Hi,
    1. It is not possible to delete records using DTW, only importing new records or updating existing ones are supported. These are the only valid operations via DTW.
    2. It is possible to delete the contents of an edit text field by using the character / or -1. However it is not possible to clear an entire row/line using this notation.
    Thanks & Regards,
    Nagarajan

  • How to get Characteristic Values assigned to the line item of Sales Order?

    Hi,
    I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
    I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
    this fn. mod. giving all the Characters but not the assigned characteristic values.
    Is there any other way to find characteristic values of sales order.
    Thanks,
    vinayak.
    Message was edited by: vinayaga sundaram

    For example, please see this example program.
    It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
    report zrich_0001.
    * Internal Table for Characteristic Data
    data: begin of i_char occurs 0.
            include structure comw.
    data: end of i_char.
    data: xcabn type cabn.
    data: begin of xcawn,
          atwtb type cawnt-atwtb,
          end of xcawn.
    data: xvbap type vbap.
    parameters: p_vbeln type vbap-vbeln,
                p_posnr type vbap-posnr.
    start-of-selection.
      select single * from vbap into xvbap
                 where vbeln = p_vbeln
                   and posnr = p_posnr.
      clear i_char.  refresh i_char.
    * Retrieve Characteristics.
      call function 'CUD0_GET_VAL_FROM_INSTANCE'
           exporting
                instance           = xvbap-cuobj
           tables
                attributes         = i_char
           exceptions
                instance_not_found = 1.
      loop at i_char.
        clear xcabn.
        select single * from cabn into xcabn
                 where atinn = i_char-atinn.
        clear xcawn.
        select single cawnt~atwtb into xcawn
                   from cawn
                     inner join cawnt
                       on cawn~atinn = cawnt~atinn
                      and cawn~atzhl = cawnt~atzhl
                          where cawn~atinn = i_char-atinn
                            and cawn~atwrt = i_char-atwrt.
        write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
      endloop.
    Regards,
    RIch Heilman

  • Report for deleted line-items in Transfer Orders

    Dear All,
    Please help me in writing the code for "Report for deleted line-items in Transfer Orders".
    regards,
    nishu

    Thanks. Repor completed.

  • Add Line Item In Sales Order VA01

    HI All,
    I  have new requirement in creation of sales order . Here we have free promotion sales . Here if customer buy one material then he will get some other material as free .In standard sap we can give only one line item as free not more than that .
    Here our requirement is more than one line item . I suggested them maintain all the free materials in one Ztable when ever the original material  will come for  sales order then i have to fetch these materials from ztable  automatically and it should create sales order. I started doing this using user exit  FORM USEREXIT_MOVE_FIELD_TO_VBAP.
    These are the below links i checked in our sdn.
    Adding Line items to sales order on creation using User-Exit in VA01.
    Please give me some idea on this .
    Regards,
    Madhu.

    Hi Asik,
    Thanks for your reply.In my case i can not got for Bom  because the schemes will change for every ten days. I think Bom  creation will fill a lot of data but it wont solve my issue.
    Regards,
    Madhu.

  • How to add 100 line item in sales order at one time

    Hello Guru's
    My requirement is to add 100 line items in sales order at once.
    what can be good approach to overcome this situation.Is there some kind of tool which can be useful?
    Let me know your suggestions
    Thanks a lot in Advance

    Hi,
    do configuration for Proposal Items tab - like -
    then create sales order using with Propose items button - VA01 - then system will accept more than 50 line of materials at a time
    Please Use BAPI -- creation of Sales order
    Thanking you
    Regards
    Mahesh

Maybe you are looking for

  • Repair permissions in Disk Utility won't stop

    OK, I've never done permissions repair on our MacBook Pro 15" (2 GB 1067 MHz DDR3, 2.4 GHz Intel Core 2 Duo).  (My apologies to the fastidious cleaners among this group.)  I've done multiple upgrades over the past 4 or so years that we've owned it, i

  • Text in ADOBE form not printing while printing the form

    Hi All, I have created an adobe form and am trying to trigger an output linked to the form. The problem is that the output that gets triggered does not show some of the texts which are existing in the form. So although the values are coming correctly

  • Terminal - login: fork: Resource temporarily unavailable.

    I use Terminal to log in remotely to some off-site unix servers. Previously, I could open several terminal shells at once, but lately if I try to open more than one, I get this message: <login: fork: Resource temporarily unavailable>. Any ideas how t

  • Identify device fonts compatible with Arabic text

    Hi, Is there anyway to workout what device fonts are available that can render arabic text? I was hoping there would be something like similar to when you specify a font family list and default to _sans but I can't find anything? Does anybody have an

  • IPhone 5c problems

    my iPhone 5c hasn't Been working right (16 months old, renew in September). The Bluetooth doesn't stay on and the time is always wrong. Texting also has been on and off and no texts going through. I've done all the tricks and even restored it back to