I have to create a TCode for a SQ01 Query created in Standard Area. I used SE93 to create the TCode. However, when the TCode is executed, the selection screen of the Query is displayed and when I try executing that, it comes back to SAP Easy Access screen.
I found in Debugging mode that the SY-UCOMM value is CRET for my TCode, where as in the code somewhere, there is a check,
IF SY-UCOMM 'ONLI'
Since this part of the code is in standard space, I cannot modify it, neither do I know how to change the SY-UCOMM value for my TCode.
This issue does not come up when SAP List Viewer is selected, it comes only when ABAP List is selected in Output format of the Query.
Could any one please suggest me an alternate way of creating a TCode successfully in details.
Thanks and Regards,