‎2008 Mar 11 10:00 AM
Hi Experts,
I wan to know what is the use of fields in EXCEPTION tab in FORM INTERFACE.
FORMATTING_ERROR
INTERNAL_ERROR
SEND_ERROR
USER_CANCELLED.
Thanks & Regards,
Ramana.
‎2008 Mar 11 10:06 AM
hi,
You can make a function module trigger exceptions.
To do this, you must first declare the exceptions in the interface definition, that is, assign each one a
different name.
In the source code of your function module, you program the statements that trigger an exception under
the required condition. At runtime, the function module is terminated when an exception is triggered. The
changes to exporting and changing parameters are the same as in subroutines. There are two
statements that you can use to trigger an exception. In the forms given below, <exception> stands for
the name of an exception that you declared in the interface.
The system reacts differently according to
whether or not the exception was listed in the function module call:
RAISE <exception>.
If the exception is listed in the calling program, the system returns control to it directly. If the exception is
not listed, a runtime error occurs.
MESSAGE <kind><num>(<id>) RAISING <exception>.
If the exception is listed in the calling program, the statement has the same effect as RAISE
<exception>. If it is not listed, the system sends message <num> from message class <id> with type
<kind>, and no runtime error occurs.
Hope this helps, Do reward.
‎2008 Mar 11 10:09 AM
hi ,
Check these links.
SMARTFORMS
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sapgenie.com/abap/smartforms_detail.htm
also refer
regards,
venkat.
‎2008 Mar 11 10:10 AM
These are the exceptions raised when there is some problem in the Smartform during run time.
FORMATTING_ERROR "It will be raised when there some fromatting problems
INTERNAL_ERROR "It is internal error