‎2017 May 26 10:35 AM
Hello All,
I had written couple of AMDP methods based on client requirement & to prevent the program from dumping due to an error in AMDP, i am catching those exception & using get_text method to get the error description.
In one of my case i get an exception message like "Error While Executing a database Procedure". In case of multiple method, its hard to find what were the error is.
I changed my program & made it to dump. When i checked in ST22, under error analysis part, sap is giving details explanation.
When exception is caught, dump table will not get updated, so cant get the data from it. I did a POC no luck. Is there any way to get detail explanation like st22.
‎2017 Jun 06 3:08 PM
You can call get_longtext to get more but unstructured information. However, you won't get the same level of information as in an ST22 dump as you don't get it for other ABAP exceptions.
‎2017 Jun 16 7:32 AM
Tx for your input.
I did a mistake in my code. I was capturing CX_ROOT exception, instead i should have used CX_AMDP_ERROR.
When i change to AMDP error, the expected details are coming in GET_TEXT Method.
‎2017 Jun 06 5:18 PM