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

Short dump program names as output

Former Member
0 Likes
2,248

Is there any report like taking input as executable program names in select-options and giving output as short dump program names in itab?

Is there any report like taking input as executable program names in select-options and giving output as short dump program names in itab?

9 REPLIES 9
Read only

Former Member
0 Likes
1,763

what about transaction ST22 = report RSSHOWRABAX ?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,763

No, as the program name is stored in dump table SNAP in a flat structure, so no SQL statement will extract the data.

You could duplicate relevant data from SNAP to a Z-table for your purpose with a periodic executed program. Analyze program RUTCNVS2 to extract values.

Regards,

Raymond

Read only

0 Likes
1,762

Hi Shareef,

I agree with Thomas, the same can be checked with transaction ST22(by extension the program, RSSHOWRABAX).

You will be able to find the details of the error.

For further changes, you need to analyse this program and can create custom program as per your need.

Read only

0 Likes
1,762

Hi sagar,

Its not like that SAGAR.

i need a report program which will display program name which are going to short dump r cause to run time errors but  not for analyzing short dump and solving it.

Read only

Former Member
0 Likes
1,762

Its not like that.

input is ITAB which contains program names only.

output is also ITAB which gives short dump program list.

For example,

in input itab there r 10 program names which r executable programs.

in that jst assume  3 programs r giving short dumps .

in output ITAB those 3 programs should be store.

*************************

i tried with FM -> EDITOR_RTXT

SUBMIT COMMAND

GENERATE REPORT

SYNTAX-CHECK

SCAN ABAP-SOURCE

SCAN AND CHECK ABAP-SOURCE

but those r not giving.... exepected output...

other wise is there any ABAP statement which will take input as program name  and give the short dump  ID ?????

Read only

0 Likes
1,762

Hi Shareef,

I replied in that context itself. From your requirement it seems custom coding is needed.


Check the logic of subroutine select_snap_beg of program RSSHOWRABAX.

Debug the same if you need further clarity in the logic.

Check for struc-id = 'AP' part, the whole details exist in the table SNAP itself in flist field but the separation and identification could be found here.

Hope this clarifies your query.

Regards

Sagar

Read only

0 Likes
1,762

Short dumps occur due to program failure at run time depending on input.

Are you looking for programs which may short dump in future .

That will not be possible.

Basically short dumps occur because exceptions were not handled in a proper manner.

Read only

0 Likes
1,762

hi Azeem,

yes of course you r right short dumps occur when exception cannot handled.

but if we execute using SUBMIT command is navigate to other programs out put screen

so is there any chance to find out whether certain called program is going to short dump or not ?

Read only

0 Likes
1,762

Hi Shareef,

The run-time error can be detected only after the same has occurred. There is no preemptive measure for the same other than exception handling.

If you are to check existing program for dump check, you need to refer to ST22 or SNAP Table.

Hope this clarifies your question.
Please inform if your original query has been answered.

Regards

Sagar