The additionEXPORTINGcan be used to assign suitable actual parameters to the input parameters of the instance constructor of the exception class. The syntax is the same as for the statementCREATE OBJECT. As in
Syntax RAISE exception. Effect RAISEcan be specified in a method only if the non-class-based exception is defined in the interface of the method. SpecifyRAISEin function modules only if the non-class-based exception is defined in the interface of the function module. ...
RAISE is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details. RAISE Basic form RAISE except. Effect This statement only makes sense if used in conjunction with function modules. It triggers the exception except . ...
31,508 SAP Managed Tags: ABAP Development I have created a function module...where i want to raise some error message when some wrong data will be inputed what is the syntax ? Please tell me the syntax .Reply 1 ACCEPTED SOLUTION Former Member 2008 Apr 30 12:16 PM 2 Kudos 8...
Syntax RAISE EVENT evt[EXPORTING p1 = a1 p2 = a2 ...]. Addition: Effect This statement can only be used in methods. It raises the eventevt.evtis the name to be specified directly for an event that must be declared with the statementEVENTSorCLASS-EVENTSdirectly in the same class, in ...
SAP NetWeaver AS ABAP Release 751, ©Copyright 2017 SAP AG. All rights reserved. Syntax RAISE[RESUMABLE]EXCEPTION {{TYPE cx_class[message][EXPORTING p1 = a1 p2 = a2 ...]} |oref}. Extras: This statement interrupts execution of the current statement block and raises aclass-based exception...
exception class by using the same syntax as used forCREATE OBJECT. As in regular method calls,a1,a2, ... aregeneral expression positions. In other words, functions and expressions can be passed as actual parameters, alongside data objects.Special rulesapply in this case. The additionmessagecan...