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: 

Cursor Event if any

Former Member
0 Kudos

Hi Experts,

In my screen 100, i got 4 fields,

items

quantity

rate = $24

Tot_amount

default rate is $24

when user insert quantity and User pressing keyboard

tab button tot_amout shud apear quantity multipy rate automatically.

is there any events to perform this type of task while pressing tabbutton, please guide me.

8 REPLIES 8

Former Member
0 Kudos

You can write the code in field statement

after PAI

field quantity module cal.

module cal.

if qty ne 0.

rate = qty * rate.

endif.

endmodule.

the above code should work

Thanks

Seshu

0 Kudos

Seshu,

i am asking when user press TAB button from his keyboard, amount should automatically display that ( qty * rate ).

how it will appear once he entered quantity value, and press keyboard TAB button.

What to do, Pls tell me.

0 Kudos

No, the SAPgui does not support that. You must trigger some event to the application, but hitting "Enter" or some other function key. Tab will not generate an event in SAPgui.

Regards,

Rich Heilman

0 Kudos

Seshu,

i am asking when user press TAB button from his keyboard, amount should automatically display that ( qty * rate ).

how it will appear once he entered quantity value, and press keyboard TAB button.

What to do, Pls tell me.

0 Kudos

Again, this is not supported by SAPgui.

Regards,

Rich Heilman

0 Kudos

Hello Anil,

As Rich Said it is not possible ,I thought that Enter button ,then i saw your message it is TAB.

Either you enter enter button or keep one push button in Screen.

Try to convience client since SAP GUI Will not support.

Thanks

Seshu

0 Kudos

thanks a lot for ur quick reply.

but this is the drawback of sapgui.

0 Kudos

Seshu,

Its fine, Thanks