‎2014 Nov 20 8:34 AM
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
‎2014 Nov 21 10:07 PM
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
‎2014 Nov 20 8:49 AM
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....
‎2014 Nov 21 10:07 PM
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