‎2010 Aug 11 7:42 AM
hi experts ,
i have table control in screen . i eccuted my transcation in debugging . my screen is displayed . now when i scroll using the mouse . again the function code generated is space . but i want set function code for the mouse scroll .
1) . what is the mouse scroll up function code
2) . what is the mouse scroll down function code
‎2010 Aug 12 10:53 AM
As per my knowledge, we can't set function code for mouse scroll. We can provide tool tip on mouse scroll only.
Sujay
‎2010 Aug 13 8:56 AM
Why do you need that. Please elaborate
Regards,
Rachana
Edited by: Rachana Pouras on Aug 13, 2010 2:13 PM
‎2010 Aug 14 10:32 AM
hi expert ,
i developed one transcation . in screen table control 5 i/o fields and 3 radio buttons .according data i have to radio buttons input = 0 . i write the code for the p+ p- p-- p++ .
but when iam scrolling i observed the excustion control goes to pai but in ok_code field with empty nothng but space .
how to set for that function code .
‎2010 Aug 15 4:29 PM
Hi,
As per knowledge you cannot set any function code for the event mouse scrolling. Unlike a normal Server programing where you can capture multiple events, in SAP Application Server, you will not be able to capture all the events which are triggered by the user. For scrolling in table control, you can capture the Function code for the scrolling which will trigger the PAI Event. But this is not for the mouse control.
Have a look at the demo code of Table Control for more details. Use DEMODYNPRO* for a complete set of dynpro examples in SE38.
Hope this will help.
Thanks,
Samantak.
‎2010 Aug 17 6:09 AM
Hello,
As per my knowledge I dont see any reason why you should need the function code.
Even though you scroll the data in the tablecontrol , table displaying the tablecontrol data is there.
Also if you select a row on page 1 of the tablecontrol and then scroll then
the PAI event will be fired and you will have to mark the row selected on the table control in the table.
I think this should help.
Regards,
Rachana