2013 Mar 07 4:53 PM
We have a simple Z function module that reads a file from the database server and updates a Z table. This function module is remote enabled as it's initiated by our EDI systems. I'd like to add code to the FM to throw an error and record an error if it can't read the file so our BASIS people can review within SAP. Not sure how to do this.
2013 Mar 07 5:22 PM
You can raise a message in FM code.
Define exceptions in exception tab and raise a message.
Check FM like read_text etc...
Save a short or long text for the exception.