cancel
Showing results for 
Search instead for 
Did you mean: 

Remove document lines

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

AdKerremans
Active Contributor
0 Kudos

Hi Sofiane,

Deleting a line in a document is possible starting from SBO2005 SP1.

Regards

Ad

Former Member
0 Kudos

Thank You Ad but right now i'm working on a 2004 2B or A and i need to remove lines from a purchase order using the DI APIi tried to do it using an SQL Query but i have some troubles with that.

Best Regards

AdKerremans
Active Contributor
0 Kudos

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

Answers (0)