‎2007 Jul 06 12:26 PM
Hi Guys,
how can we capture dump. i have used a class cx_root its working fine but i want to dispaly the casuse of the dump without the program actually going to dump.
like if a program goes into dump then my report output should show why the program will be going to dump.
i hope u got me.
‎2007 Jul 06 12:27 PM
Hi
It depends on the kind of the dump, yuo can try to use CATCH ENDCATCH statament
Max
‎2007 Jul 06 12:40 PM
Hi,
I guess the best what you can do is show error description from exception you've catched.
For this just change your CATCH stetement to something like
CATCH cx_root INTO lref_cx.
and then do something like
WRITE lref_cx->get_text( ).
Also it is ofthe nappened that you have not only one exception but exceptions chain -- so it is useful to check if member attribute PREVIOUS of lref_cx is bound and in this case also show error messages from previous exceptions which caused this one.
BR, Artem
remember points
‎2007 Jul 06 12:40 PM
You can use the ABAP dump analysis transaction ST22 to view an
termination messages,.
Note down which actions and inputs caused the error.
Regards,
Nithya
‎2007 Jul 06 12:43 PM
Hi,
Run ST05 for the program with the dump note down the causes using its activation log and details and then u can go over with ur things as u want.
Pls reward points.
Regards,
Ameet
‎2007 Jul 06 12:57 PM
Hi,
but what are you trying to do?
there are a few function modules like:
/SDF/EWA_GET_ABAP_DUMPS
that will give you some dump info back
but what is your process? you want to call r3 to get dumps ?
by using ST22 u can find all dumps.
Regards