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: 

How to receive all the GUI event

Former Member
0 Kudos

Hi, Expert

Is it possible to catch all the UI event? For example, input something in which input field; click any tab, click any button.

Background: customer would like to develop to tool to guided end user to do several sequence sctions:

for example, 1) input a value into which input field

2) click one button

so after end user finished the 1st step, system should tell customer to click the button in the next step.

Any comment is welcome.

Thank you in advance

Barton

1 ACCEPTED SOLUTION

former_member184578
Active Contributor
0 Kudos

Hi,

As a developer we have to do it manually.,

let say, the user enter in the input field and press Enter,

In PAI or AT Selection screen event,

Check if the value is initial or not. ,

if lv_value is initial.

message 'Please Enter Value' type 'E'.

else.

message 'Please press submit button now' type 'S'.

endif.

hope this help u,

even if you capture the events also you have to write the code as above.

to provide the user manual for user you can put the same in SAP iTutor.

Thanks & Regards,

Kiran

2 REPLIES 2

former_member184578
Active Contributor
0 Kudos

Hi,

As a developer we have to do it manually.,

let say, the user enter in the input field and press Enter,

In PAI or AT Selection screen event,

Check if the value is initial or not. ,

if lv_value is initial.

message 'Please Enter Value' type 'E'.

else.

message 'Please press submit button now' type 'S'.

endif.

hope this help u,

even if you capture the events also you have to write the code as above.

to provide the user manual for user you can put the same in SAP iTutor.

Thanks & Regards,

Kiran

0 Kudos

Hi, Kiran

Yes, the thing customer wanted is like iTutor, however, we can't modify every standard screens. We need to find a way to create a generic solution. Maybe it is just an add-on in the client side, because some event is not raised to service side.

Thank you all the same for your kindly suggestion.

Barton