Please follow the below Step to overcome the above error.
- Copy the program under Short Text
i.e. In my case, I got the error in program AQL4SYSTQV00002QINSP_TYPE.
- Enter Tcode SE37
- Enter Function Module – RSAQ_DECODE_REPORT_NAME
- Then press F8 (Execute)
Now on the below screen;
- Paste the copied program under REPORTNAME
- Press F8 (Execute)
You will get some of the results according to your REPORTNAME
Copy the USERGROUP & QUERY
- Now, Execute Tcode SE38
- Enter Program SAP_QUERY_CALL
Press F8 (Execute)
Paste the USERGROUP & QUERY
Press F8 (Execute) and This will Open up your Query the same as before.
Also, the is a shortcut for the same. But I’m not sure that it would always work or not but here is another way.
Suppose you get the program as AQL4SYSTQV000002RTGDATA
Thanks for going through the detailed document. Do revert back if you have more queries or feedbacks/ inputs so that I can update the document.
And here is the link to my first blog post on Simulating BAPI.