When I call any FM, be it standard or custom, with some of the mandatory import/exporting parameters missing, the program doesn't show any syntax errors, even when activating it. However, it shows an error when checked with Code inspector.
You can even add any importing/exporting parameter when calling an FM and the report program will get activated without syntax errors. But it throws a dump when executing the same.
I remember that, it used show the syntax errors when some of the mandatory fields of FM are not used. Is there any change done by SAP recently? 😊
Please let me know your thoughts.