‎2013 Jan 16 1:52 PM
Dear users,
I have done a development that issues error messages based on certain conditions. The error message comes up, but when the user presses enter, it disappears. When the user presses "SAVE" again, the delivery is saved without going again into save_document_prepare. But, I do not want to allow saving the delivery when this error comes up. Has anyone come across this issue before? What is your suggestion.
I have considered isuing a exit message, has anyone another idea?
Thanks in advance. <Reward offer removed by moderator>
Thanks
Petra
Message was edited by: Vinod Kumar
‎2013 Jan 16 3:38 PM
BAdI LE_SHP_DELIVERY_PROC is the ideal one. Use the method DELIVERY_FINAL_CHECK & populate the error message in the structure CT_FINCHDEL.
Regards, Vinod
‎2013 Jan 16 3:27 PM
First read Note 415716 - User exits in delivery processing, if not already done.
I suppose that the exit is called a second time but not in display mode, can you check it ?
Else you could use BAdI LE_SHP_DELIVERY_PROC methods SAVE_DOCUMENT_PREPARE or DELIVERY_FINAL_CHECK.
Regards,
Raymond
‎2013 Jan 16 3:38 PM
BAdI LE_SHP_DELIVERY_PROC is the ideal one. Use the method DELIVERY_FINAL_CHECK & populate the error message in the structure CT_FINCHDEL.
Regards, Vinod