Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Remove document lines

Hello Everybody

I want to remove a Document Line using the DI API but there is no function to let me do it. I heard that it was impossible.

Can anybody help me?

Best Regards

Sofiane

Former Member
replied

Hi Sofiane,

Deleting a line is NOT possible in 2004.

Deleting a line through SQL query is NOT allowed by SAP

If you delete a line through SQL you most likely forget to update a fields/tables that SBO does when you delete it through the UI.

I think there is only one solution, load the appropriate form, find the document, delete the line and update the document through code using the UI api.

Regards

Ad

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question