cancel
Showing results for 
Search instead for 
Did you mean: 

Update Document Line in SAP version 8.8

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for helpful replies.

Former Member
0 Kudos

Hi,

There are more rules become more strict in version 8.8. Once the target has been created, the baseline will not be update-able. You need some other ways to close them.

Thanks,

Gordon

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dina,

Please see the SAP Note at this link ...

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=...

... is this the error that you are getting?

If you have any issues clicking on the link ... please copy and paste the entire link in your browser.

Eddy

Former Member
0 Kudos

My Error is: internal error occurred.

It looks similar error,

The document that we update is - Quotation.

Are there too can not update pulled line?