‎2007 Oct 05 7:28 AM
Hello SDNers,
as Uwe had already written in the thread .
What would be better?
1. Would you try to develop in 4.6C the exception classes
(plenty of work, but keeping myself updated, and I can use them also in the future)
CX_ROOT -> ZCX_ROOT; ZIF_MESSAGE
CX_STATIC_CHECK (I need this slass) -> ZCX_STATIC_CHECK
2. just to solve the problem with traditionally
METHOD get_xxx.
...
IF sy-subrc = 0.
...
ELSE.
RAISE wrong_xxxx.
ENDIF.
ENDMETHOD.
With regards,
Peter
‎2007 Nov 07 4:59 PM
You may appreciate that whatever is possible in OO ABAP is still possible in procedural ABAP with difference in the extent of SW reusability, visibility control etc. So its a design decision whether to go for OO ABAP. In case you have a business case for a class ( you feel that the class will be used many times in your project, you need to control visibility, you have chances of enhancing the functionality of the class, you do not want to incur more resources in testing etc. ), you can go for the development of the exception class.
Otherwise traditional development may be helpful.
‎2007 Nov 07 4:59 PM
You may appreciate that whatever is possible in OO ABAP is still possible in procedural ABAP with difference in the extent of SW reusability, visibility control etc. So its a design decision whether to go for OO ABAP. In case you have a business case for a class ( you feel that the class will be used many times in your project, you need to control visibility, you have chances of enhancing the functionality of the class, you do not want to incur more resources in testing etc. ), you can go for the development of the exception class.
Otherwise traditional development may be helpful.
‎2007 Nov 07 8:08 PM
Hello Pyari,
I have decided in the moment for the traditional development, but also partly
with handling methods in special handling class.
Thanks for your answer.
Bye,
Peter
‎2007 Nov 07 8:15 PM
‎2007 Nov 09 9:51 AM