‎2009 Feb 19 8:11 AM
Can user comand and line selection be implemented in the same report?
‎2009 Feb 19 8:13 AM
hi
yes you can use both in same report.
FYI,
EVENTS:
Event keyword Event
AT LINE-SELECTION Event triggered by the user double-clicking a line or selecting it using
F2
AT USER-COMMAND Event triggered by the user pressing a function key
Edited by: manoj murugesan on Feb 19, 2009 9:17 AM
‎2009 Feb 19 8:14 AM
hi...
you can impliment both in the same program...
for any issue always welcome
regards
‎2009 Feb 19 8:17 AM
‎2009 Feb 19 8:20 AM
Hello,
Yes...both must be in same report but u need maintain the pf-satus for that in that u need give PICK statement then only it will work.
Thank u,
santhosh
‎2009 Feb 19 8:21 AM
Hi,
U can.
At line-selection.
perform selection.
at user-command.( this will handle buttons u create on gui status )
case sy-ucomm.
when 'DISPLAY'.
perform display.
endcase.
‎2009 Feb 19 9:24 AM
yes,
like
At line-selection.
perform display_second.
where you can wriote logic for select statement for second report.
and other event can be used for user commands like..
at user-command.
case sy-ucomm.
when 'BACK'.
leave to screen 0.
endcase.
Regards