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: 

AT LINE-SELECTION won't be triggered when I use SET PF-STATUS?

Former Member
0 Kudos
122

Dear All,

I have a simple program that shows a list. My program has AT LINE-SELECTION event. I also use a GUI status for my list.

When I ran my program and double clicked a line, the AT LINE-SELECTION event was never triggered. Later, I deleted the line that registers the GUI status (SET PF-STATUS.... ). When I ran it again and double clicked a line, the AT LINE-SELECTION was triggered.

Therefore, I conclude that AT LINE-SELECTION won't be triggered when I use SET PF-STATUS. Is it true?

If so, is there any way to make my list responds to double click event when I also use GUI status?

Thanks in advance,

Haris

1 ACCEPTED SOLUTION

Former Member
0 Kudos
87

I tried to assign F2 in my GUI status but still doesn't work. Any help will be much appreciated.

Edited by: harissahlan on Mar 8, 2011 4:01 AM

4 REPLIES 4

Former Member
0 Kudos
88

I tried to assign F2 in my GUI status but still doesn't work. Any help will be much appreciated.

Edited by: harissahlan on Mar 8, 2011 4:01 AM

0 Kudos
87

Assign 'PICK' as function code for F2 then only AT LINE-SELECTION will work other wise AT USER-COMMAND will only work.

Former Member
0 Kudos
87

Anyone?

0 Kudos
87

Hi Harris,

Check this link. I think it will answer your question.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm

Regards,

Madhu.