Application Development and Automation 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: 
Read only

how to set function code for mouse scroll

Former Member
0 Likes
1,083

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

5 REPLIES 5
Read only

Former Member
0 Likes
755

As per my knowledge, we can't set function code for mouse scroll. We can provide tool tip on mouse scroll only.

Sujay

Read only

Former Member
0 Likes
755

Why do you need that. Please elaborate

Regards,

Rachana

Edited by: Rachana Pouras on Aug 13, 2010 2:13 PM

Read only

0 Likes
755

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 .

Read only

0 Likes
755

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.

Read only

Former Member
0 Likes
755

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