2006 Oct 21 12:37 AM
HI,
at line selection is not working in my program after i used set pf-status. please help.
regards,
ravi.
2006 Oct 23 8:43 AM
Hi Ravi,
double click on ur set pf status 'xxx'.
this will give u a user interface screen.
open the function keys button.
u '' find standard tool bar ,,
Recommended function key settings
freely assigned function keys.
in recommended function key settings just type this for f2
Recommended function key settings
F2 PICK Choose
see that u have the values like this for F2.
save , activate ,
do this ..
regards,
Vijay.
Message was edited by: Vijay
HI,
at line selection is not working in my program after i used set pf-status. please help.
regards,
ravi.
2006 Oct 21 12:45 AM
Hi,
I believe the SET PF-STATUS will override the standard GUI status...
Instead of AT LINE SELECTION.
You have to use AT USER-COMMAND.
Thanks,
Naren
2006 Oct 23 7:49 AM
hi,
i need to make at line selection work along with the pf status. when the user clicks a line on the report (hotspot) i should be able to support that along with the excel download functionality on the app tool bar which is working fine.
is there any way that i would be able to support this funtionality(triggering another tcode ) when the user clicks on a line.
regards,
ravi.
2006 Oct 23 8:34 AM
Hi,
In your PF-Status, you need the function code PICK connected with key F2 (=double-click).
If it does not work with AT LINE-SELECTION, use
<pre>
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'PICK'.
ENDCASE.
</pre>
Regards,
Clemens
2006 Oct 23 8:25 AM
If you want to open other transaction by clicking on line item, then u must use 'call transaction 'tcode' mode x.
2006 Oct 23 8:43 AM
Hi Ravi,
double click on ur set pf status 'xxx'.
this will give u a user interface screen.
open the function keys button.
u '' find standard tool bar ,,
Recommended function key settings
freely assigned function keys.
in recommended function key settings just type this for f2
Recommended function key settings
F2 PICK Choose
see that u have the values like this for F2.
save , activate ,
do this ..
regards,
Vijay.
Message was edited by: Vijay
2006 Oct 23 9:22 AM
hi
good
check out the potition where you have given the AT LINE-SELETION at your report, bcz there is no such relationship between between SET PF-STATUS and AT LINE-SELECTION.
though you have not posted here your code, it is quite tough to give you teh exact reply.
thanks
mrutyun^
2006 Oct 23 9:50 AM
Hi ravi,
try to set a BREAK-POINT in AT LINE SELECTION.
Does the Report stop and change in Debug-Mode?
Regards, Dieter
2006 Oct 23 6:54 PM
thanks eveyone. your answers helped me in solving the problem.
however, i still dont understand why at line-selection is not getting triggered if im not including PICK .
regards,
ravi.
here is the code
excel funtionality
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXCEL'.
PERFORM DOWNLOAD_TO_EXCEL.
WHEN 'DETAIL'.
PERFORM DISP_DETAIL.
WHEN 'PICK'.
PERFORM DISP_DETAIL.
ENDCASE.
AT LINE-SELECTION.
PERFORM DISP_DETAIL.
2006 Oct 24 7:43 AM
Hi Ravi,
a look at the online help may help you to understand why you need PICK - it is defined so by the fathers of ABAP:
Online help (F1 in editor):
AT LINE-SELECTION.
Effect
Event in interactive reporting
This event is processed whenever the user chooses a valid line in the list (i.e. a line generated by statements such as WRITE,ULINE, or SKIP) with the cursor <b>and presses the function key which has the function PICK </b>in the interface definition. This should normally be the function key F2, because it has the same effect as double-clicking the mouse, or clicking once in the case of a hotspot.
Regards,
Clemens
2006 Oct 24 9:05 AM
Three line ans.
goto se41 open ur status
expand function keys tree
against f2 write PICK save and see if the at line-selection works or not!
regards,
santhosh
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |