Skip to Content
0
Former Member
Jan 26, 2011 at 07:26 PM

Update Document Line in SAP version 8.8

20 Views

Hello,

We have quotation document that one line was pulled to order,

We want to change the quantity of this line to the original quantity less the open quantity via DI.

In SAP version 2007 it worked fine,

but in SAP version 8.8 the update was failed,

With error -1029 internal error occurred.

Couldn't updating the quantity of line.

The code is:

document.Lines.SetCurrentLine(RplcVisOrder)

document.Lines.Quantity = document.Lines.Quantity - document.Lines.OpenQuantity

document.Update()

(The reason of this logic is for close quotation line,

and in SAP version 2007 we can not do it.)

We will be happy if someone knows this problem, and can be help us.

Thanks.