12-05-2007 12:02 AM
Hi guys,
I developed a report in 4.7 with try ... catch cx_root endtry constructs.
Now I implemented it at the customer's 4.6C system. It looks like there is no try endtry statement in this release, just catch endcatch. Furthermore I don't find a similar exception as cx_root in the 4.6C system.
Any hints?
Thanks,
Mane
12-05-2007 12:12 AM
Hi,
Class based exceptions are not supported in 4.6C. Even if you could create a class manually, the runtime would not handle it the same as a "class based exception".
http://help.sap.com/saphelp_nw04/helpdata/en/83/636d1412fc11d5991e00508b5d5211/frameset.htm
Regards,
Satish
12-05-2007 12:12 AM
Hi,
Class based exceptions are not supported in 4.6C. Even if you could create a class manually, the runtime would not handle it the same as a "class based exception".
http://help.sap.com/saphelp_nw04/helpdata/en/83/636d1412fc11d5991e00508b5d5211/frameset.htm
Regards,
Satish
12-05-2007 12:24 AM
But there are class based exceptions in 4.6C, aren't there?
I can catch a conversion exception with
catch system-exceptions convt_no_number = 1.
...
endcatch.
if sy-subrc = 1.
...
endif.
It just looks like there is no root exception I can catch.
12-05-2007 12:29 AM
CATCH SYSTEM-EXCEPTIONS is not introduced by the class. This will be triggered when some system exception happens.
Check the online help on CATCH SYSTEM-EXCEPTIONS .
I don't have any idea about your problem related to 4.6 C
Regards,
Naimesh Patel
12-05-2007 12:37 AM
Now I got your point, I didn't see the difference between the class based and the system exceptions.
But do you maybe know a system exceptions that acts as a "root" exception, so I can avoid that the report dumps for some reasons?
Thanks,
Mane
12-05-2007 1:02 AM
I don't think we have any for 4.6C system
Check the help for the "Alphabetical Overview of Catchable Runtime Errors "
Press F1 on the "CATCH".. it will take you to the CATCH SYSTEM-EXCEPTIONS .
On the left side you can find "Alphabetical ....". Click on that to see all the catchable errors.
Regards,
Naimesh Patel