Skip to Content
author's profile photo Former Member
Former Member

Remove a Selling Order item, using DI Server

Hi,

I work with SAP BO DI Server.

I create a new document "Selling Order" using DI Server application.

Now I need to Remove a row from this document using DI Server.

I see that there is a method called "RemoveObject", but this remove all the document object. How can I remove only a row (Item) from the document object?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2010 at 09:59 AM

    Hi,

    I do not know about DI server, But normally in the DI API we use the Document.Lines.Remove(),

    Vasu Natari.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2010 at 05:43 PM

    Use the command that updates the row with a quantity of zero.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I suggest checking the following:

      1. Check with the docs to see that you give DI-Server all of the required fields to make the call.

      2. Try to delete the row through the GUI. Maybe there is a reason the row can not be deleted.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.