Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can not use 'AT LINE-SELECTION' with SET PF-STATUS

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Hi,

Refer to this sample code

http://www.sap-img.com/abap/an-interactive-alv-report.htm

Regards,

Santosh

Former Member
0 Kudos

Also you can even refer

http://www.erpgenie.com/abap/ireports.htm

Regards,

Santosh

0 Kudos

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,

0 Kudos

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.