Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

capturing dump

Former Member
0 Likes
1,168

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.

5 REPLIES 5
Read only

Former Member
0 Likes
807

Hi

It depends on the kind of the dump, yuo can try to use CATCH ENDCATCH statament

Max

Read only

Former Member
0 Likes
807

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

Read only

Former Member
0 Likes
807

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

Read only

Former Member
0 Likes
807

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

Read only

Former Member
0 Likes
807

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