Delete Row/Line in a Sales Order document using B1if

Hi,
Is this possible to remove line (row) from sales order?
Regards
Szymon

It is possible in DIAPI, using the Document-Lines.Delete() method.
Is there any way to do this with the BOM/BO xml in B1if?
Please, can someone at SAP clarify this?
Regards
Lars

Similar Messages

  • 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

  • Deletion of line items from Sales Order using DTW

    Hi Experts
    I have 160 sales which all require a particular item needs to be
    deleted before they can be processed further.  It is ths same item on every order but
    doesn't appear at the same row number.  In some cases it may appear more than once
    on an order.
    The line item needs to be deleted based on the row numbers which could be different on every order (LineNum)
    Rather than have admin go through them 1 by 1 and delete the
    row is it possible I can use DTW to perform an update on each row to delete it?
    I'm not sure how to do this since I have only ever used DTW
    to add or edit.
    Thanks
    Geoff

    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

  • DELETE A LINE ITEM IN SALES ORDER

    Hi,
    Can any one tell me how to delete a line item from a sales order? Please tell me the BAPI/FM and what are the parameters to be passed.
    Thanks,
    Challa

    Hi,
    Use the BAPI: BAPI_SALESORDER_CHANGE.

  • 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

  • Line break in sales order notes

    Hi,
    We use CRM 7.0.
    When the user tries to enter notes for a notes type Info in sales order, the entire notes come in one line or it uses its own way of breaking the line. The issue out here is , when the user wants to enter two lines, it is nort accepting.
    example: User wants to enter as
    Test1
    Test2
    but after entering the same and clicking back and checkin the print preview of the order, it shows as below
    Test1 Test2.
    What could be the reason ?

    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

  • Creation of sales order document

    How to create a sales order document using VA01?Give me the steps?

    Hi,
    Please search before posting any thread,
    [http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c7c124811d2806f0000e8a495b3/content.htm]
    Regards,
    Durgesh.

  • 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.

  • What user exit can add / delete lines on a sales order?

    Hi experts -
    We are going to be using a 3rd party to give us pricing, so we need to make a call for each line item to get prices.  This may give us free goods, so we will need to add / remove lines from a sales order.
    Any ideas what exit will allow us to do this?
    Thanks,
    Mark

    Hi,
    Try BAPI:
    BAPI_SALESORDER_CHANGE
    Regards,
    Gilberto Li

  • Selecting multiple lines in a sales order

    Hello documentation says we should be able to select multiple lines in a sales order (for example to cancel them or remove them). Yet we cannot select more than one. Shift and Ctrl do not seem to work.
    Any idea why this does not work ? We are running B1 2007A, patch 37.
    Thanks a lot
    Fabrice

    Hi Fabrice,
    if you have a sales order with hundreds of rows, use the 'Draw Document Wizard -> Customise' option to draw the required rows into the target document. Once all row data has been copied to the target, the row is greyed out in the sales order & can no longer be drawn. As long as the BP accepts partial deliveries, you may copy as much partial data to multiple target documents as necessary. Once you are finished with the sales order & there are rows still open, you may go to Data -> Close & hence close the entire document. There will be no need to delete the remaining rows.
    All the best,
    Kerstin

  • 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

  • Adding Schedule lines to a sales order

    Friends,
      We have a requirement to clear the old un-delivered scheduled lines from a sales order and then add new schedule lines from a EXCEL file.  We were able to clear the old by putting in a new location.  Then, when we go to enter the new schedule lines, it clears the location, marks the Fixed date and Qty, and enters the delivery dates and confirmed quantities.  We tried using BAPI_SALESORDER_CHANGE, but the schedule_lines table only has the required quantity so when used it increases the order quantity, which is not good.  Is there any Function module that we can call to insert new schedule lines without increasing the order quantity other than using a BDC?  Thanks!

    Pasted below is the BAPI documentation for this parameter.
    "Check Table for Schedule Lines
    Description
    This parameter completes the following two tasks:
    Controls processing functions with the value in the UPDATEFLAG field (change indicator).
    The following entries are available:
    ' ':   Create new schedule lines
    I:     Create new schedule lines
    U:     Change existing schedule lines
    D:     Delete existing schedule lines
    Controls the field entry with check fields
    If the UPDATEFLAG field has been activated, the system only copies those fields to the data parameter that have been filled with 'X'."
    Nabheet

  • Maximum lines set on Sales Order view

    Hi All,
    This is happening with all sales orders with more than 8 items, where the rest of the items are not seen in the sale order after creation and save. For example 15 different type of material were sold to customer, the billing document view (VF03) showed all 15 line items, the delivery line items showed all 15 lines, but the sales order only showed the first 8 line items. The other last 7 items were not to be seen anywhere on the sales order.
    Is there a maximum view limit on sales orders? Anyone else has had a similar case?
    Thanks
    Sandip

    Hi Balaji,
    I tried to access SE51 but I have no authorization, and even though I maintain user accounts at my company I could not find more details in regards to this Tcode.
    I even tried to find some role associated with it but was unsuccessful.
    Hi Chandrasekhar,
    For the information in VOV8, the Display Range had 'UALL' in the field.
    And wierdly, when I clicked on the Item Overview, all items (15 different types) are shown, but when going back into the Sales Order View for the same order, only the first 8 are shown.
    The main problem here is that when doing a ZRE sales order, as we cannot do 'post goods receipt' for the 9th+n item.
    I appreciate the help.

  • Contract not visible in sales order document flow

    Hi
    I am supposed to create sales order from Contract.The requirement is that only header data should be copied.Thus  In Copy Control configuration I did not maintain item level and schedule line level settings for these document types. The issue is that after running the whole cycle from Contract -->SO --> Delivery --> Invoice when I see the Sales Order document flow I can see all other documents but not the contract.Also In Contract document flow I can see only sales order but not delivery and invoice.Please guide.

    Hello,
    Update Document Flow option is available only at Item Level in copy control setting from Contract to Sales Order.
    Check out your Copy Control Records at Item Level. There would be "2" mentioned in "pdate document flow" box.
    2 means Create doc. flow records except for dely/goods issue/billdoc. Here you to maintain "X" for Complete Document flow.
    Hope this helps,
    Thanks,
    Jignesh Mehta

Maybe you are looking for

  • My subscription to creative suite has been suspended for non pay. I have updated my card info. How do I get re instated?

    my subscription to creative suite has been suspended for non pay. I have updated my card info. How do I get re instated?

  • 0-values in BPS

    Am I right to assume that the BPS <b>will not store 0-values?</b> Our customer has some series where observations will be 0 from time to time, but it seems these are not stored.

  • How to outline a given artwork?

    You already help me and perhaps this time also. I need to create the outline of an artwork. I used the AIArtConverter suite to get the ouline of a given artwork ant it's works fine. My problem is that I don't know how to get the result to modify the

  • Premiere crashes, running and previewing slowly

    Hi all Any help with this is greatly appreciated, I understand it's a very broad subject covering Media encoder and After Effects as well as Premiere, but hey. System info Running Adobe CS6 and have run and installed updates today. Windows 7 Intel (R

  • Lis and lo extraction doubt

    hai to every body, i have an doubt on lis and lo extraction In lis extraction we have an information structure(IS).before extraction we all delete the contents of IS.Then by scheduling the v1 or v2 job we update data from database tables to IS by run