2007 Sep 17 12:46 PM
Hi
Can't i use At line-selection and At user-command events in one report program. Bcoz when i am trying to use these 2 events in one program the cursor is going to At user-command only. At line-selection is not getting triggerred. When i use them individually they are working fine.
Regards
Haritha.
2007 Sep 17 12:49 PM
Hi,
for using at line selection you have to define 2 fields
v_field and v_value.
now you have to write the case statement on v_field and use the value of that field stored in v_value.
for using this command you have to HIDE the field just after the write statement for the previous screen.
try out now i think you will get it.
reward if helpful
vivekanand
2007 Sep 17 12:50 PM
at user-command is more generic and will handle all actions including line selection
you just have to check if sy-ucomm = 'PICK' to detect if action was line selection
2007 Sep 17 12:51 PM
hi, you can use the two event the same time.
I think you use a custom STATUS bar in your report.
If so, you should active F2 in your STATUS bar, Fcode is 'PICK'. Because it has the same effect as double-clicking the mouse.
After that, the AT LINE-SELECTION and AT USER-COMMAND will be effective in the same time.
Regards
Vasu
2007 Sep 17 12:56 PM
Hi François
I have checked with value 'PICK' but still its not working. It is taking the value of the user command of the pushbutton only.
Regards
Haritha.
2007 Sep 17 12:59 PM
Hi Vasu,
I have one pushbutton in my application toolbar. Could u please tell me how to activate the F2 in the status bar.
Regards
Haritha.
2007 Sep 17 1:00 PM