Hello All,
I am facing a problem during update of sales order schedule line data through user exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ.
When we are updating Delivery Block (VBEP-LFISP = 02) and Schedule line Cat (VBEP-ETTYP = ZE) directly from VA02 --> schedule line tab, then the sales order is not showing in MD04 transaction. But the same when we are updating through user Exit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ the sales order is showing in MD04 transaction.
I have debugged and found that there is difference in *VBEP and VBEP structures when we are updating from VA02, but these two structures are same when we are updating through user exit. I want the delivery should be blocked even when we are updating through user exit also ( Sales order should not display in MD04)
Can you please help on this??
Regards,
Ramesh