Skip to Content
0
Former Member
May 28, 2008 at 01:31 PM

TCode for ALV output for SQ01 Query

189 Views

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'

EXIT.

ENDIF.

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,

Subhrangsu