Enhancements- user exit_save_document_prepare
My requirement is when sales order is created, the RSD field in sales order(VBAK-ZZREQSDATE) will be get populated automatically or entered by the users manually.But the requirement is that if the difference between the RSD date and Order Creation Date(erdat) is less than 14 working days, then while SAVING the Sales Order the system must pop up a warning message "RUSH Order u2013Lead Time < 14 days".other wise it should be saved as normal order.
1.Iam using userexit_save_document_prepare, i need help in writing the code for this requirement.
Any body please help me in completing this requirement.
Thanks & Regards,