‎2009 Feb 11 1:35 PM
Hi, i've created my own exception class named zcx_xi, and i have now a textid with zcx_xi. I entetred
XI: &AREA& &text&
into the the textfield beside the textid. How do get the parameters area and text filled?
raise exception type zcx_xi exporting area = 'hello' text = 'world'.
does not work: inknown parameters area and text. Looking at other exception classes i cant find where to declare those. Any help is appreciated.
‎2009 Feb 11 1:57 PM
Ok, found my error, i have to declare them as attributes. But using
CATCH zcx_xi INTO cxr.
serror = cxr->get_text( ).
MESSAGE serror TYPE 'A'.
serror is empty when using the raise statement in #1
‎2009 Feb 11 2:16 PM
This is really not fair: the attribute in the text field has to be in lower case. Otherwise it will not work
Ok, this is solved, how can i assign 10 point to me?