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

How to insert DocumentLines of Type - Text via DI API

Hi ,

I need to insert in a document via DI API some lines that are not the classics one with article-item code, description, quantity, priceĀ….but the new types that have been released in version 2004 (Type: Regular, Text, SubTotal) that appear inserting the column Type.

I searched in Help documentation of DI but I don't find the way to insert a line of type text with only a string of character automatically via DI API.

I know that the real table should be INV10.

Do I have to insert manually the rows necessaries with a SQL INSERT or there is a better way to do this using some object or property?

In any case I have to insert the DocEntry in this table INV10 but I don't have it until I save the entire document.

I decided to execute the Add() method of the document only at the end of the inserting of the lines so I can't use this way of

Sql query.

INV10 will be mantained in future versions of SBO?

Thank you

Andy

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 23, 2005 at 11:37 AM

    Via the SDK, its still not possible...

    Via SQL ... Well everything "can" be done, but I would not recommend it at all... and SAP does not support it.

    And to make it worse; its not a part of the SBO2005A either. So the guess is SBO2005A SP1 will be the first version with this... else 2006A

    Add a comment
    10|10000 characters needed characters exceeded

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.