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: 

Unwanted PAI function code

Former Member
0 Kudos

Hi experts,

I got a dynpro with a Input/output field on it which is set to output field only. There is also one button in the application toolbar with a function code "TEST".

When I double click the output field now, PAI is thrown and the function code is filled with 'TEST'. How can I avoid that?

The output field shouldn't be double clickable at all or at least throw a PAI with an empty function code.

Thanks in advance.

Regards,

Tobi

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

When you created the TEST button on the application toolbar you probably have assigned the function key F2 to it. This automatically picks the double click action.

Delete the PF status and recreate it with a different function key assigned to the button (TEST) on the toolbar..

Regards,

Sachin

3 REPLIES 3

Former Member
0 Kudos

Hello,

When you created the TEST button on the application toolbar you probably have assigned the function key F2 to it. This automatically picks the double click action.

Delete the PF status and recreate it with a different function key assigned to the button (TEST) on the toolbar..

Regards,

Sachin

0 Kudos

Hi Sachin,

that's it. Thanks a lot!

Regards,

Tobi

I355602
Advisor
Advisor
0 Kudos

Hi,

Try clearing the function code i.e., sy-ucomm in PBO and check again.

Hope this helps you.

Regards,

Tarun