Deleting line from Order

I had an order in SBO. It was synchronized do NP. Then i made an shipment for just 3 lines (5 lines in order). i deleted one line from order (this line was not on the delivery document, it will not be delivered).
In next synchronization i have conflict:
<b>
DELETE statement conflicted with COLUMN REFERENCE constraint 'FK_ShipmentDetail_OrderDetail'. The conflict occurred in database 'np', table 'ShipmentDetail', column 'OrderDetailID'.
The statement has been terminated.</b>
Is there possibility to synchronize order with deleted line (after shipment)

Hi Lukasz,
This is a known bug.
During synchronization, all line items are deleted and readded if the order is updated.  If there is a delivery document already in place prior to the update, the delete of the line items will cause this error.
This is fixed in 2007 sp0 p3.
There is currently no fix for 5.9.
At the moment, the only way around this is to delete the shipment and shipment detail for this order in NetPoint.
You can then edit the delivery document in B1 to get the shipment to synch back to NetPoint.

Similar Messages

  • Deleting lines from Sales order for which PO exists

    HI all,
    We have a setup where MTO/PTO configurable sales order lines are created in SAP from a different application. In this scenario user did create a couple of PTO lines manually in SAP sales order which generated Purchase requisition and a purchase order was created. Since order entry has to be done from the front end application, the line number has been already consumed by the manually created line in SAP. So we need to somehow delete these two PTO lines from the sales order. We tried setting deletion flags to the purchase order lines but still not bale to delete the lines from the sales order.
    Could some one come up with some idea?
    Thanks
    Gopi

    Gopi
    I think you should work from SD Sales Order first. Did you try rejecting the sales order items without doing anything to the PO.
    Also check what requirement routines you have in IMG T codes OVB5 (Maintain Requirements For Purchase And Assembly Orders) and OVB8  (Maintain Requirements For Transfer Of Requirements).
    Hope this helps.

  • Delete lines from a text file

    i need to delete (or replace them with white space) a few lines from a text file. I have a text file with first few lines & last few lines containing "<"or ">". I need to delete/replace with white space, the entire line. i need to do this urgently
    Could some one please tell me how to do this?

    the file can be of size 8MB or more. i get this file
    every week from a third party. So the size is not
    constant. I need to remove/replace with white space,
    the fist & last few lines and the rest is comma
    seperated values which i need to load to database
    using sqlldr. But still not sure abt how to remove
    the first few lines.
    i need to read this file, replace the lines as i read
    them and write the replaced string back to the file &
    then load the rest of lines to database.8 MByte is fairly small. Read the file a line at a time and copy to a new file only the lines you want. Should take no more than a second or so.
    P.S. It will probably be a mistake if you try to edit the original file in place.

  • Delete lines from iternal table

    Hi All!
    The problem what I'm having is I have to delete
    all the entries from the internal table which are
    lets say equal 'XXXXXX'
    regards
    sas
    data lt_itab type standard table of IS_PDATFU.
    data wa_itab type IS_PDATFU.
    data: lt_roles   type BAPIBUS1006_BPROLES  occurs 0 with header line,
          lt_return  type standard table of BAPIRET2,
          lv_partner type BU_PARTNER.
    lt_itab[] = l_pdatfu_tab[].
    LOOP AT lt_itab into wa_itab.
    CALL FUNCTION 'BUPA_ROLES_GET_2'
      EXPORTING
        IV_PARTNER            = wa_itab-IPPERS 'PersID
      IV_PARTNER_GUID       =
      IV_DATE               = SY-DATLO
      TABLES
        ET_PARTNERROLES       = lt_roles
        ET_RETURN             = lt_return.
    IF lt_roles-PARTNERROLE EQ 'XXXXXX'.
    delete this lines from lt_itab[] ????
    ENDIF.
    ENDLOOP.

    So u need to use DELETE ITAB:
    LOOP AT lt_itab into wa_itab.
    CALL FUNCTION 'BUPA_ROLES_GET_2'
    EXPORTING
    IV_PARTNER = wa_itab-IPPERS 'PersID
    IV_PARTNER_GUID =
    IV_DATE = SY-DATLO
    TABLES
    ET_PARTNERROLES = lt_roles
    ET_RETURN = lt_return.
    IF lt_roles-PARTNERROLE EQ 'XXXXXX'.
      delete lt_itab.
    ENDIF.
    ENDLOOP.
    Max
    Edited by: max bianchi on Feb 12, 2008 6:17 PM

  • Deleting line from ABAP screen..

    Hello,
    I have a ABAP report when excuted, showsn mulpiple reords one by one wirtten on screen using write statement along with checkboxes besides it and I am also appending an internal table with these values.
    Now, User can select the check boxes for the line records. Also there is a delete button in the application toolbar.
    Now, when the delete button is executed, I want the lines which are selected on the ABAP output screen to be deleted so that only records which were not selected using check box will be shown.
    I know for this I have to code in AT-User command but how do we delete the lines from ABAP screen.
    AT user-command.
      CASE SY-UCOMM.
        WHEN 'DELETE'.
    ENDCASE
    Regards,
    Jainam.

    Hello,
    Based on which ever field is selected you can delete from the internal table and then refresh the ALV.
    Hope it helps.
    Regards,
    Nabheet Madan

  • Deleting Line from Return Document (error occurs)

    Does SBO Allows to delete a line from return document using the SDK
    I tried to delete a line but an error occurs
    Sincerely yours
    Riade Asleh

    Hi Riade,
    Are you talking about removing a line of a return once the document has been added to SBO? If so, you cannot remove a line either by using the UI or the DI API. This is by design.
    If you are not talking about removing a line after adding the document, please could you post details of the error you get and the code you are using?
    Kind Regards,
    Owen

  • ALV OM - keep filter while deleting lines from ALV

    Dear all,
    I'm using an ALV (cl_salv_table) to get a proposallist of materials and substances to be linked. When a material is linked to a substance, all lines for this material are deleted from the ALV. So far, so good.
    When a user sets a filter on a certain column and links a material, the filter icon on top of the column is shown while the records are not filtered accordingly. When the user selects the column again en pushes the filter button, the value that was set in the first place, is shown.
    edit : I've "solved" this problem myself by getting a list of all filters, clearing lr_filters and filling lr_filters up again from this list.I        don't think this is a very clean sollution to the problem, but it works.
    How can I resolve this problem in a better way? Thanks in advance.
    Cheers.
    Luk
    Edited by: Luk Declerck on Dec 16, 2009 4:28 PM

    U can do all validations in the event data_changed_finished.
    ****----EVENT HANDLING.....*****
    *------Class definition
    CLASS lcl_event_handler DEFINITION .
      PUBLIC SECTION.
       METHODS handle_data_changed_finished FOR EVENT data_changed_finished
      OF cl_gui_alv_grid IMPORTING e_modified ET_GOOD_CELLS.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    *-----Class implementation
    CLASS lcl_event_handler IMPLEMENTATION.
                      "handle_usercom
    **----DATA changed
      METHOD handle_data_changed_finished.
        PERFORM handle_data_changed_finished USING e_modified
    et_good_cells
      ENDMETHOD.
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    FORM handle_data_changed_finished using i_modified type char01
                                            i_good_cells type LVC_t_MODI.
    data: wa_good_cells type lvc_s_modi.
    // Perform ur validation here
    endform.

  • How to Edit Key Fields or Delete Lines from Table Entries

    Hi Experts
    While releasing Transport Request Number we are getting an error during release. This seems to be as a result of improper data feed while running of eCATT's . The dates in the all these fields have been entered as "  .   .0101" which is in the wrong format ( eg. Table T811F u2013u201CSDATEu201D field). "SDATE" seems to the key field of the table . Can you please guide on how we may delete these lines or edit the field in the table.
    Regards
    Ananda

    Hello,
    I dont think its a good idea to delete the records from those standard tables. You rather re-run your ecatt and edit/update the existing records and try.
    regds,
    Kiran

  • Deleting lines from the panel

    hi everybody,
    I am having a problem, plz help me.
    I have a link(line) drawn using graphics.drawLine() between two labels, now i want to select that link and delete it.
    plz send ur solutions ASAP as iam in a roadblock.
    Thanks in advance.

    dusanmil wrote:
    Thanks a lot for the reply!
    Is there something more on that on Verizon website? Is there a discount if I want to terminate the whole contract? I am not satisfied at all... 
    So you want a BETTER deal the more you cancel? Don't think so.
    From the Verizon website:
    " If you cancel a line of Service, or if we cancel it for good cause, during its contract term, you'll have to pay an Early Termination Fee. If your contract term results from your purchase of an Advanced Device after November 14, 2009, your Early Termination Fee will be $350 minus $10 for each full month of your contract term that you complete. (For a complete list of Advanced Devices, check verizonwireless.com/advanceddevices.) Otherwise, your Early Termination Fee will be $175 minus $5 for each full month of your contract term that you complete. Cancellations will become effective on the last day of that month's billing cycle, and you are responsible for all charges incurred until then. Also, if you bought your wireless device from an authorized agent or third–party vendor, you should check whether they charge a separate termination fee."

  • Deleting lines from template

    there are many lines (like the ones you draw in the shape tool) that when you select the have a X on both end points as if they are locked, i cannot find where to alter or delete these
    has anyone found out how to remove these?
    many thanks

    Select the line (it has Xs at each end)
    Select Unlock from the Arrange menu (the Xs are replaced with white grab boxes)
    Delete the line
    That's it. - Fabe

  • Hide/Delete lines from ABAP Query output when Quantity is 0

    Hi all,
    I'm changing an existing abap query. My requirement is to delete the rows from the report output where qantity = 0.
    I tried the following ways.
    1. In SQ01, select the quantity field and check the checkbox for "Display only field <> 0", but this didnt worked as it will 
         supress the zero from display.
    2. I tried to write code in the Infoset SQ02->Edit->Code. I wrote the following code "CHECK vbep-wmeng IS NOT INITIAL".
        Here  the problem is, the code is not executing in the test client. When I open the Infoset in test(i mean development test) 
        client the code is there, but when i execute the program its not working. I tried using "BREAK-POINT", program executions
        does not stop at the break point. There is existing code in the event "START-OF-SELECTION", this code I'm able to see in the
        query program opened through SE38. I edited the existing code and kept a break point in between, and now checked in the
        program in SE38, but the changes are not reflected. I'm able to see old code only(even after save n generate).
    3. Gave search in SCN, google etc.
    Please note.
    1. I'm not using any Logical Database in the Infoset. Its a simple join of 4 tables.
    2. Query is created in the Global Area (cross client) not client specific.
    Can anybody tell me what could be the problem and how can Over the above issues and achive the requirement.
    Thanks in advance.
    Edited by: Mr A on Feb 25, 2010 1:39 AM

    Dear Mr A,
    Can i know how did u solve the issue even i'm facing the same problem.
    Regards,
    Karan Bhasin

  • Delete lines from internal table

    Hello experts!
    I have two internal tables.
    select options sa_tknr and gt_versand_plan.
    sa_tknr-low contents transportation-Nr.
    gt_versand_plan has transportation-Nr too (gt_versand_plan-tknum).
    How can I delete all transportation-Nr from
    gt_versand_plan which dont' appear in sa_tknr-tknum.
    THX
    sas

    Hi
    check this statement.
    <b>delete gt_versand_plan where not tknum in sa_tknr.</b>
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Efficiently deleting lines from internal table based on column comparison

    Hi all,
    let's assume, I have the following internal table MY_TAB:
    COL_1 | COL_2 | COL_3
    A       1       1
    B       2       2
    C       3       3
    D       3       4
    E       3       5
    I'd like to delete all rows, where the values in COL_2 and COL_3 are equal. That is, in the above table, the rows for A, B and C.
    What's the most performant / fastest and efficient way to do this?
    Thanks for any hints in advance!
    Best regards,
    Philipp

    I do not understand other proposal.
    The are two solutions possible
    LOOP AT itab INTO wa.
       IF ( wa-col2 = wa-col3).
         DELETE itab INDEX sy-tabix.
       ENDIF.
    ENDLOOP.
    If memory is not an issue and if many lines are to be deleted, then the APPEND in a new table is better.#
    I would use that one in all cases where the conditions are complicated.
    LOOP AT itab INTO wa.
       IF ( wa-col2 <> wa-col3).
         APPEND wa TO itab2.
       ENDIF.
    ENDLOOP.
    refresh itab.
    itab[] = itab2[].
    Siegfried

  • Deleting lines from the family plan

    Hi, 
    I have a family plan on my name with 5 lines on it. One of the phones is IPhone and the other ones are simple call&text phones.
    If I want to get rid of one of the lines, what are fees for that? I cant find it online anywhere. When I visited store the Verizon stuff were very obscure in information about canceling plans and lines, so I did not get precise info. 
    Thanks!

    dusanmil wrote:
    Thanks a lot for the reply!
    Is there something more on that on Verizon website? Is there a discount if I want to terminate the whole contract? I am not satisfied at all... 
    So you want a BETTER deal the more you cancel? Don't think so.
    From the Verizon website:
    " If you cancel a line of Service, or if we cancel it for good cause, during its contract term, you'll have to pay an Early Termination Fee. If your contract term results from your purchase of an Advanced Device after November 14, 2009, your Early Termination Fee will be $350 minus $10 for each full month of your contract term that you complete. (For a complete list of Advanced Devices, check verizonwireless.com/advanceddevices.) Otherwise, your Early Termination Fee will be $175 minus $5 for each full month of your contract term that you complete. Cancellations will become effective on the last day of that month's billing cycle, and you are responsible for all charges incurred until then. Also, if you bought your wireless device from an authorized agent or third–party vendor, you should check whether they charge a separate termination fee."

  • Deleting row from a table binded to a matrix

    Hi all
    i have a form with a matrix binded to a user table which is handled as a Master Data lines by UDO.
    i want to enable deleting lines from the table by selecting a row in the matrix and clicking a delete button.
    currently i'm handling the click event by usint the method DeletRow of the matrix object.
    when i press the Update button (UID = "1"). the fact that a row was deleted from the matrix does not affect the bounded table.
    my question is how in code can i cause the deletion of a row from the matrix to also be deleted from the database table?
    appreciate the help
    Yoav

    Hi Yechiel
    flushToDatasource make the following:
    Flushes current data from the GUI to the bounded data source using the following process:
    1)Cleans the data source.
    2)Copies each row from the matrix to the corresponding data source record.
    In other words: This method load data from Matrix to DataSource (but not to database)
    the next step is update database from userdatasource
    Note: You migth read sdk help for more information

Maybe you are looking for

  • While Printing using Print Button on Crysal Report Loses focus.

    Hi all, I am using CR XI along with VS2003 for developing my application. My application uses a Treeview to list all the available reports, once user select one of the report. I am using another dll, which contain all the rpt files as Embedded Resour

  • HP Officejet Pro L7780 - Registration Problem

    I downloaded and installed the full software for the HP Officejet Pro L7780.  When the software asks to be registered and I put in the printer and the search comes back 0.  I have tried the name and the product number and still keep getting the same

  • X100e External VGA Issue

    Hello,             We have a X100e that has developed a problem with the external VGA port no longer sending video to a monitor.  We have replaced the video drivers, updated the video driver, replaced cables and monitors, checked the BIOS and basical

  • Prime Infrastructure Failed to run report

    Hi all, on a new installed PI 1.2.1 I have the  following error message as soon as I run a report: Failed to run report: Could not connect to HTTP invoker remote service at [http://localhost:20556/reportingserver/remoting/ReportingService-httpinvoker

  • How to modify the database by Oracle-ridc-client

    How to modify the database by Oracle-ridc-client