cancel
Showing results for 
Search instead for 
Did you mean: 

Rejecting sales Order item, if the corresponding PO Item is deleted

Former Member
0 Kudos

Dear Friends,

I have requirement to set reason for rejection in the sales order item if the corresponding purchase order item is set to deleted.

I have applied the logic in user-exit MV45AFZZ, it's not working while deleting line item of PO.

but it's getting triggered when we change the PO line item quantity and the same is reflected in sales Order Item.

can you please help me on this by providing the right user-exit.

Thanks,

Munvar Basha.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i have achived with user-exit ZXVDBU02

nabheetscn
Active Contributor
0 Kudos

Which subroutine are you using for the same?

Nabheet

Former Member
0 Kudos

Hi

Thanks for your reply,

I have applied the logic in form "userexit_move_filed_vbap".

Thanks,

Munvar Basha

jignesh_mehta3
Active Contributor
0 Kudos

Hello Munvar,

If the development done in MV45AFZZ is working when the PO line item quantity is edited then it should also work when the Item is deleted.

You will have to test this scenario in-depth with your ABAPer who can assist you in identifying the exact spot where the Custom code is to be inserted.

You may try -  userexit_field_modification or  userexit_save_document_prepare.

Thanks,

Jignesh Mehta

Former Member
0 Kudos

Hi Mehta,

Thanks for your reply,

I will check in userexit_filed_modification also