07-24-2007 3:46 AM
Hi experts,
my code is like below:
PARAMATERS: .....
SET PF-STATUS 'st_nam'.
Perform Load_data . ' For list display
START-OF-SELECTION.
AT LINE-SELECTION.
Perform list_detail.
AT USER-COMMAND.
CALL SCREEN '1001'.
END-OF-SELECTION.
When I execute the report , the basic was displayed , but when then i double click on the list to call the next screen '1001'. It did not work , but if i omit the SET PF-STATUS m AT LINE-SELECTION worked week , so in this case what has happened i how can i solve this problem,
Thaks,
PS: Reward immediately
07-24-2007 3:51 AM
Hi,
Refer to this sample code
http://www.sap-img.com/abap/an-interactive-alv-report.htm
Regards,
Santosh
07-24-2007 4:04 AM
07-24-2007 4:17 AM
Hi,
Thank you very much for your helpful answers, I have copied the report downto my system and test it , When i used SET PF-STATUS , i can not use AT LINE-SELECTION to capture events ...May be we can not use these 2 statements in parallel,...:D
Thanks,
07-24-2007 4:55 AM
I have just tested , and the problem was solved .
In the status , <b>i must assign f code PICK for the function key F2.</b>
And the AT LINE-SELECTION will be raised when i double click on the list.