09-17-2008 10:25 AM
Hi,
I am working on type 1 program (report) and want to use detail lists.
I want to use a GUI status and want to use AT LINE-SELECTION. But AT LINE-SELECTION does not work when I use a GUI status.
How do I achieve this?
Thanks.
09-17-2008 11:03 AM
Goto GUI status and enable the F2 function key and assign the event PICK in that
Regards
Farzan
09-17-2008 11:03 AM
Goto GUI status and enable the F2 function key and assign the event PICK in that
Regards
Farzan
09-17-2008 11:05 AM
Hi Kumar ,
You cant use AT USER-COMMAND and AT LINE SELECTION events simultaneously in an interavtive report..
Regards.
09-17-2008 11:10 AM
Hi
In the secondary windows, it is not possible to have GUI Status.
If you need like that, you should go for ALV Reports.
Here, You can have GUI Status only in the selection-screen as below..
REPORT zak014 LINE-SIZE 60 LINE-COUNT 20(2).
TABLES: sscrfields.
* Appliction Tool Bar Elements
SELECTION-SCREEN FUNCTION KEY 1.
SELECTION-SCREEN FUNCTION KEY 2.
* Selection Screen
PARAMETERS: matnr TYPE matnr.
INITIALIZATION.
sscrfields-functxt_01 = 'TEST1'.
sscrfields-functxt_02 = 'TEST2'.
START-OF-SELECTION.
WRITE:/20 'CLICK HERE TO NAVIGATE'.
AT LINE-SELECTION.
WINDOW STARTING AT 5 5
ENDING AT 50 18.
CASE sy-lsind.
WHEN 1.
WRITE:/ 'This is First window'.
WHEN 2.
WRITE:/ 'This is second'.
ENDCASE.
TOP-OF-PAGE.
WRITE:/5 'LINE SELECTION'.