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

Extract ST22 Dump using ABAP Code into internal table for conversion to PDF

Former Member
0 Likes
6,764

Hello Everyone,


Is there any way to extract ST22 dump to internal table using our own ABAP program? I tried to imitate SAP coding but surely there must be an easy way to do it. I don't wish to go for BDC.

Here's where I have done, until now:


1. I looked into the program SAPMS380 and successfully extracted the SNAP Table entries by looking into EXTRACT_STRINGS_FROM_SNAP.

2. Subroutine PRODUCE_LIST does the final conversion of above data to meaningful Shortdump text in an internal table, but is there any other way to do this?


Finally, I have to convert the output internal  table to PDF which I can do.


Please help me out in this, or I will have to do this the long way. Your valuable suggestions are most welcome.



Best Regards,

Jagraj Singh

1 ACCEPTED SOLUTION
Read only

gregorygotera
Explorer
0 Likes
3,681

Hi

You can use the FM 'RS_ST22_GET_FT' for obtain all details about the dump

All parameters used for this FM, you can find these, inside the SNAP table.

Best regards

Gregory

2 REPLIES 2
Read only

Former Member
0 Likes
3,681

You first need to convert your internal table data to OTF data using FM CONVERT_OTF, then convert OTF to PDF using FM CONVERT_OTF_TO_PDF....

Read only

gregorygotera
Explorer
0 Likes
3,682

Hi

You can use the FM 'RS_ST22_GET_FT' for obtain all details about the dump

All parameters used for this FM, you can find these, inside the SNAP table.

Best regards

Gregory