Delivery item deleted when quantity is zero

Hello Experts,
I have created a z program in which I'm doing a call transaction to VL02n.
I'm modifying quantity to 0. My problem is that the item is deleted when quantity is zero.
I have checked the forum and have seen that transaction 0vlp has the configuration for that. Is that correct?
Do you know any configuration to keep zero line items after using vl02n?
Thanks in advance!
Emanuel

I have checked the forum and have seen that transaction 0vlp has the configuration for that. Is that correct?
This is correct. Keep the value blank for the field Check quantity 0 and then test again.
Regards,

Similar Messages

  • Inbound delivery item deleted is not deleted from BI DSO?

    Hi All
      An Inbound deliver created and pushed to BI..
    Source PSA is FULL UPDATE and DTP is DELTA UPDATE
    Ex: 800000 10   10000
                        20  10000
    This is what pushed to ODS..Later next day,
    they deleted the to 800000 10 10000
    So PSA is refreshed with one item .
    800000 10 10000
    whereas DSO still shows as follows:
    800000 10 10000
                  20 10000
    I have following options:
      1. convert DTP to FULL update, so the data gets refreshed..
    2. ELse delete the only one record..
    But user sometimes need to delete the inbound delivery....based on item required..
    we cannot go and delete everytime for this issue..
    What are the best solutions that you experts can suggest.??

    HI...
    This is a known problem in ECC-BI.   Deliveries can only be deleted from ECC system but can not be cancelled. So the extractor is not able to provide a deleted image for the record. 
    Two solution can be there,
    1. Full Load of all BI target every day ---this solution is practical only when your data volume is less and full load does not take much time. But if your data volume is huge and flow is complex one then this is not the solution.
    2. Second solution is to identify which Delivery Doc - Item combination got deleted from ECC system and then you can just put a flag against those documents. 
    You can easily find which doc- item got deleted from CDPOS and CDHDR entry. In our project we created one DataSource based on InfoSet Query ( SQ02) on CDPOS ( item level) and CDHDR ( header level) and pulling all the documents which got deleted in ECC system. For all those Delivery-Item we put a deletion flag and restrict the query accordingly.
    in CDPOS following fields are important.
    a) CHNGIND: Change Type (U, I, S, D) u2013 This field shows whether the entry is deleted, updated or inserted. We are here interested in the value: D (Deleted).
    b) OBJECTCLAS: Object class u2013 This field is used to get the data related to Deliveries, Sales etc. For deliveries, value is LIEFERUNG; For Sales, value is VERKBELEG
    c)TABNAME: Table Name u2013 This field contains the table name from which the value is deleted. The tables for Deliveries are LIKP and LIPS. To get the item level data, keep the value as LIPS.
    d) TABKEY is 18 characters long field, in which first 3 numbers is the client number, next 10 shows the document number and next 5 shows the item number. E.g.: 750001099999900010, where 750 is client, 0010999999 is document number and 00010 is item number
    Also have a look at How to Guide below
    Link [CDPOS-CDHDR|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50dd3fb9-0dad-2d10-0ea7-cbb0bb8b391b?QuickLink=index&overridelayout=true]
    how to view deleted delivery
    Regards
    Anindya

  • Item deletion when a subsequent document exists

    Hello everybody,
    When I create a quotation Y in reference to another quotation X, it is impossible to delete à line in the quotation X.
    The system displays an error message "Item 000020 cannot be deleted because of subsequent document Y".
    Is there a mean to allow the deletion of an item in a sales document when a subsequent document exists?
    Can we manage this issue through customizing?
    Thank you in advance for your answers?
    Christophe

    Is there a mean to allow the deletion of an item
      in a sales document when a subsequent
         document exists?
    No if there is a subsequent document for a particular line item in sale order, you cannot delete that line item.
    thanks
    G. Lakshmipathi

  • Delivery Item Deletion

    Dear All,
    Is it possible to restrict the user from deleting the items in delivery.
    Regards
    Mohammed

    Hello
    Refer following link:
    - Suggest a solution
    Thanks & Regards
    JP

  • Line item ignored when amount is zero

    Hi everyone,
    Does anyone know how to change the settings in SAP so you are able to post a journal entry with line items with a zero amount ? We need this for required VAT postings in Italy...
    Thanks !

    Hi Mariette,
    Hope the below OSS note helps, else write to SAP as its a legal requirement for country Italy.
    Note 1024126 - Italian tax reporting: BP items with amount 0
    Hope this helps.
    Pls assign points as way to say thanks

  • Delivery item sort

    Gurus
    va01-->vl01n, dn item sequence is as same as so item
    va01-->vl10c, dn item is sort by material no
    why vl10c sort by material no? where can i find this customsize? how to modify the delivery item sequence when use vl10c sort by so item no?
    Kevin

    Hi,
    For this behavior, you can check the OSS notes 383254 and 497526.
    Following is the SAP note 383254,
    Summary
    Symptom
    The supply of the shipping due date list of Transaction VL10 via the 'Background' button behaves differently than the supply via the 'Dialog' button.
    Additional key words
    VL10A, VL10B, VL10C, VL10D, VL10E, VL10F, VL10G, VL10I
    Cause and prerequisites
    Forward compatibility
    Solution
    VL10 <-> VL04
    In addtion to VL04 that was replaced by Transaction VL10 for Release 4.5, you can use Transaction VL10 to select not only the orders but also their items and schedule lines.
    When the new function VL10 was implemented, SAP kept the dialog function of VL04, because many customers were used to it.Although this function is part of the collective run, for technical reasons no changes were made to the functions.During the design of Release 4.5B, the options existed to suppress the dialog function or to make a function available that does not entirely fit the new functions of VL10. SAP preferred the latter.
    As for Transaction VL04, the dialog mode of VL10 executes Transaction VL01(N) with all items of the selected order, regardless of whether or not you selected items or schedule lines.The only parameter for the call is the order number, no quantity specifications are transferred to VL01N.However, you can change the quantity in the screen of the delivery.
    Delivery of schedule lines
    When you deliver with the 'Dialog' button, all selected orders are delivered by means of VL01N. In this case the delivery is carried out independent of the previously displayed or changed cumulated quantity. In this case only the latest delivery creation date of all the selected schedule lines is used to determine the schedule lines.
    On the user role tabpage of VL10, you have the option with the 'Rule (delivery qty)' and 'Split per sched.line' flags to control the delivery of schedule lines via the 'Background' button:
    On a shipping due date list in item display with several schedule lines for the same document item, you can choose, whether you want to create a delivery item for each schedule line or whether they deliver the cumulative quantity of the last selected schedule line.
    Scheduling agreements
    For scheduling agreements, additionally read Notes 137937 and 52116.
    Hope this clarifies your doubt,
    Regards

  • Unable to delete line item with 0 quantity in Invoice.

    Hi Experts,
    I came across a Invoice which reflects in VF04 as pending Billing due list. When i checked at the inter company Invoice i came across a line item with "0" quantity and price as zero, interestingly the replinishment cross company delivery document  for the same line item for "0" quantity had a Batch assigned to it.
    Now the issue is cusotmer has selected the line item with XX quantity and have selected the accounting document to be generated but the line item with "0 was left over and now still reflects in VF04.
    Customer does not want to reverse the full cycle to resolve the issue since the document was created a year back.My Question  is can we get the line item with "0" quantity to clear accounting so that it will not reflect in VF04.If so what will be process to do that.
    Thanks in Advance to advice.
    Regards,
    Sridhar.R

    Hi,
    It is  not possible to delete this line item, you can discuss with your client and delete it from the table.
    And now coming to the reasons why it has come into the invoice & Delivery
    1. The Batch Item category must have been configured as relevant for billing...check this and make it irrelevant if the client does not do batch specific billing. --- This will stop the batches from coming into the invoice.
    2.  Check for the batch item category in delivery if Zero quanity is allowed...if it is allowed make it not allowed and make it an Error message, whenever there is a zero quantity system will give a message.

  • Sales Orders line item quantity getting Zero after free good line item

    Hi experts,
    i am creating sales order using BAPI  BAPI_SALESORDER_CREATEFROMDAT2   sales order having some free goods material  and line item after free goods line item having quantity zero.
    for example A B are  materials, A having free goods a1.  when SO  having 3 line items 10 for A ,line item  20 for a1 and line item 30 for B . But line item 30 having quantity zero.
    find code below and advice .
    lwa_ord_head_in-doc_type       = 'ZSO'.
        lwa_ord_head_in-sales_org      = '1000'.
        lwa_ord_head_in-distr_chan     = '10'.
        lwa_ord_head_in-division       = '10'.
        lwa_ord_head_in-req_date_h     = lwa_rof_s-date_del.
    *Order Header Update
        lwa_ord_head_inx-doc_type       = 'X'.
        lwa_ord_head_inx-sales_org      = 'X'.
        lwa_ord_head_inx-distr_chan     = 'X'.
        lwa_ord_head_inx-division       = 'X'.
        lwa_ord_head_inx-req_date_h     = 'X'.
        lwa_ord_partners-partn_role  =  'AG'.
        lwa_ord_partners-partn_numb  =  lwa_rof_s-lease.
        APPEND lwa_ord_partners TO lt_ord_partners.
        IF lwa_rof_s-del_addr IS INITIAL.
          lwa_ord_partners-partn_role  =  'WE'.
          lwa_ord_partners-partn_numb  =  lwa_rof_s-lease.
          APPEND lwa_ord_partners TO lt_ord_partners.
        ELSE.
          lwa_ord_partners-partn_role  =  'WE'.
          lwa_ord_partners-partn_numb  =  lwa_rof_s-lease.
          APPEND lwa_ord_partners TO lt_ord_partners.
        ENDIF.
        lt_rof_it_t = lwa_rof_s-zsd_rof_it_t.
        LOOP AT  lt_rof_it_t INTO lwa_rof_it_s.
          lwa_ord_items_in-material = lwa_rof_it_s-matnr.
          lwa_ord_items_in-plant = lwa_rof_s-plant.
          lwa_ord_items_in-target_qty = lwa_rof_it_s-qty.
          lwa_ord_items_in-comp_quant = lwa_rof_it_s-qty. "added on 12/29
         lwa_ord_items_in-target_qu = 'EA'.
         lwa_ord_items_in-t_unit_iso = 'EA'.
          APPEND lwa_ord_items_in TO lt_ord_items_in.
          lwa_ord_items_inx-material = 'X'.
          lwa_ord_items_inx-plant = 'X'.
          lwa_ord_items_inx-target_qty = 'X'.
          lwa_ord_items_inx-comp_quant = 'X'.
         lwa_ord_items_inx-target_qu = 'X'.
         lwa_ord_items_inx-t_unit_iso = 'X'.
          lwa_ord_items_inx-updateflag = 'I'. "'U'
          APPEND lwa_ord_items_inx TO lt_ord_items_inx.
         ** Schedule Line Information
          lwa_schedule_lines-itm_number = '000010'.
         lwa_schedule_lines-sched_line = '0003'.
          lwa_schedule_lines-sched_line = 'X'.
          lwa_schedule_lines-req_date   = lwa_rof_s-date_del.
          lwa_schedule_lines-date_type  = '1'.
          lwa_schedule_lines-req_qty    = lwa_rof_it_s-qty.
          APPEND lwa_schedule_lines TO lt_schedule_lines.
         lwa_schedule_lines_x-itm_number = '000010'.
         lwa_schedule_lines_x-sched_line = '0003'.
          lwa_schedule_lines_x-updateflag = 'I'.
          lwa_schedule_lines_x-sched_line = 'X'.
          lwa_schedule_lines_x-req_date   = 'X'.
          lwa_schedule_lines_x-date_type  = 'X'.
          lwa_schedule_lines_x-req_qty    = 'X'.
          APPEND lwa_schedule_lines_x TO lt_schedule_lines_x.
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
          EXPORTING
      SALESDOCUMENTIN               =
            order_header_in               = lwa_ord_head_in
            order_header_inx              = lwa_ord_head_inx
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
       IMPORTING
         salesdocument                 = lwa_saledocu
       TABLES
         return                        = lt_return
         order_items_in                = lt_ord_items_in
         order_items_inx               = lt_ord_items_inx
         order_partners                = lt_ord_partners
         order_schedules_in            = lt_schedule_lines
         order_schedules_inx           = lt_schedule_lines_x
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
      ORDER_TEXT                    =
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' .

    Hi experts,
    I am still waiting for your response......
    Thanks in advance
    Deepanker

  • Purchase Order Item deleted; purchase requsition quantity not update

    Hello,
    We have PR-20025224 item 130 the quantity ordered is 200 on 2 PO 4200039509 and 4200083799 (100 each)
    One of the PO (4200083799) is deleted (No GR)so the quantity ordered should be 100 only in the purchase requisition u201CStatusu201D tab.
    Normally the program RM06HL04 should correct the quantity ordered but it does not.
    In the status tab in purchase requistion details are as below
    Proc Status:- B PO Created
    Block ID - Not Blocked
    Ord Qty - 200
                 - 05 Relese Completed
    Thanks to help me in this issue.

    Hello Jurgen,
    Thanks a lot for the reply.
    I checked the deleted PO, in "Delivery Schedule" tab at right end the last column is "PReq Closed" and it is blanked.
    Actually the client need is, once the PO deleted, in the purchase requistion "Status" tab "Ord Qty" gets changed (In this case it should reduce by 100 no from 200 nos, because other PO is for 100 nos)
    But PR Ord Qty does not changed.
    Is it possible that, the PR quantity gets changed once PO deleted?
    Thanks for the reply and hep.
    Hemant

  • Delete proposed items with billed quantity 0 in VF01

    Hi,
    We need to delete from the proposed items to invoice the items with billed quantity 0. The lines with this quantity = 0 have not to be showed so we need to delete the items just when the items are proposed. Do you know any way to do that? The user exits we have found, like userexit_fill_vbrk_vbrp, are not usefull because are executed before the append is done to the table XVBRP.
    Thank you,
    Manel

    This should be done in COPY CONTROL. Please sit with your functional counterpart to identify which copy control routine is currently being used. Next, in VOFM, copy this routine to a new routine (new routine # should be between 601 to 900) and adjust your new routine per your requirements.
    Raj

  • User exit or badi to change quantity of delivery item

    Hi SD Experts,
    I need to change delivery item quantity when i am recording post goods issue.
    Regards,
    Aktolga

    You can find SD expert in Space: SAP ERP Sales and Distribution (SAP SD) | SCN
    Please read the document Find Topic Spaces on SCN (Forums) | SCN

  • How can i remove items from list that have been deleted when i click on them it keeps showing empty

    how can i remove items from the list that have been deleted when i click on them it keeps showing folder empty

    Actually, Reader SHOULD keep showing documents that no longer exist, I disagree. It's no big deal, and people will quickly realise why they can't open the file. They open more files, the old ones move off.
    The REASON why it should not check is that checking whether a file exists can take a long time when things aren't good. For instance if a file server goes down, or a memory card is unplugged. That in turn would mean delays opening the File menu, and I've seen some software that can sit there for several minutes. That would really give people something of which to complain...

  • Delivery & Billing block at item level when I create order with config mat

    HI All,
    I am getting delivery & Billing block at item level when I create an order with config material.
    And I am unable to remove the blocks manually since they appear in display mode even in change mode of sales order.
    but I could see a biiling document for this order in document flow with 0 value.
    Note:
    1. The item does not have any reason for rejection
    2. Ther is no block set at schedule line category too.
    Please give me your valid suggestion as soon as possible since it is production issue.
    Thanks & Regards

    Dear chandrashekar,
    Goto  VOV8 , select your order type - Billing - Billing block - keep this field as blank .
    Second one , take the default billing type in order type (VOV8) , and Goto OVV4 and click on selection criteria and select billing type , enter your billing type and choose , you will now get the listing of that biling type and check your settings are correct.
    saravanan

  • Trigger TPSDLS01 IDoc to external TPS when outbound delivery is deleted

    Hi,
    We are currently trying to find a solution how to trigger a TPSDLS01 IDoc to external TPS when the outbound delivery is deleted.
    In the following SAP article: Logical Communication Processes Between the SAP System and the T - Supply Chain Planning Interfaces (LO-SCI) - SAP Libra… it is said that "...If a delivery is deleted in the SAP system, this deletion command is transferred automatically to all transportation planning systems...". and we're trying to understand how it actually should be configured?
    Any advice would be much appreciated.
    Thanks!

    Hi,
    I know this is quite old now....but, did you ever find an answer to this problem?
    SR

  • Payemment Card not been utillised for all 3 delivery Items when back order

    Payemment Card not been utillised for all 3 delivery Items when the items are confirmed through Back order.
    1 delivery item out of 3 are processed(Billed) with Paymet card.
    But why not all 3 deliveries?
    Thanks in advance for your valuable inputs.

    There is an Order with number 123456 there were three deliveries generated 123,234, and 345.
    Only one of those deliveries applied to the credit card(123).
    There are products on backorder and when the backorder is relased, they invoice without the credit card.
    Actually all above line items in Order 123456 are confirmed through Backorder.
    But all three deliveries have to have been processd(billed) through Payement card.
    only 123 is billed with Payement card while other 2 are billed through normal invoicing without Payement card.
    Hope sir this is clear....
    thanks in advance

Maybe you are looking for

  • Sender File adapter to process each file with time gap

    Hi All, I have a sender file adapter which is picking 2 files in a folder. I want to delay the processing of each file by 5 minutes. For ex: PI should process the first file, then wait 5 minutes and the process the next etc.  Is this achievable ? Is

  • HT5163 replacement for sim card tray

    Where I can buy replacement for broken sim card tray ??

  • Accomodate tax package codes in Asset master record

    Hello Gurus,   We are in process of doing conversion from legacy to SAP for one of the division.   This division are maintaining tax package codes in legacy information and want to maintain in SAP system for reporting purpose.All of  Evaluation group

  • How to display error message on the screen

    I am new to WD world and need all possible steps to resolve the following issue. I need to display the error message on the screen if any required field is empty when user click on SAVE button. I have set the attribute GO_MESSAGE_MANAGER and check th

  • SAP PRODUCT COSTING

    Hi Guru's, I am new to Product Costing and I have few questions, If any one can give me the ways I can resolve these issue, I would appreciate there help. Please find the questions below, 1) I have scenario where BOM has 10 items and in that I am not