cancel
Showing results for 
Search instead for 
Did you mean: 

Custom table Not deleting the line items on the order.

Former Member
0 Kudos

Hi All

I have an issue, In SAP we have created a custom table which is related to ship to party, as and when we delete any line items in the order(VBAP) it should update /delete the custom table but it is not deleting, while when we create any line items in the order (VBAP) it is updating the entries in the custom table which is suppose to happen.

Please let me know your inputs.

Thanks,

Ram

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

It looks like the logic is only working when UPDKZ is initial, that is when new line is created.

Have the logic for UPDKZ for update also , that is when the line item is not initial.

Hope this helps

Sai

Former Member
0 Kudos

Hi,

Thanks for the reply. But I don't see UPDKZ in table VBAP . Can you please let me know in which userexit i need to put this logic, could you please elaborate your answer.

Thanks in advance.

Ram

Former Member
0 Kudos

Hi,

check this USEREXIT_SAVE_DOCUMENT, as it can be used to save data to additional tables when a document is saved, write code as requried to modify the additional tables depending on sales order entries.

Regards

Sadhu Kishore

Former Member
0 Kudos

UPDKZ is not a field name. it is the processing status of a line or order.

If UPDKZ is I , its initial, like adding a new line

If UPDKZ is U, its update. Like changing or modifying an existing line

....so on...

Regards

Sai

Former Member
0 Kudos

Thanks a lot Sai and Kishore.