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

PAI after Value request

Former Member
0 Likes
1,708

Hi!

I have the following process flow in a dynpro:

PROCESS BEFORE OUTPUT.

MODULE status_2000.

*

PROCESS AFTER INPUT.

MODULE user_command_2000.

*

PROCESS ON VALUE-REQUEST.

FIELD zam_flotta_vrend-kfzkz

MODULE rendszam_f4.

The module rendszam_f4 is running when I press F4, on the field called "rendszam".

After this field is chosen from the hit-list, I wanted to refresh all fields on the dynpro, if it differs from the original one. The refresh is written in the PAI, for choosing Enter button.

How can I force SAP to press an Enter, or run the PAI, after this value-request?

Thank you

Tamá

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
990

Hi Tamas,

You can make use of the function module "DYNP_VALUES_UPDATE" from the module rendszam_f4 to change screen field contents with out using PBO

4 REPLIES 4
Read only

Former Member
0 Likes
991

Hi Tamas,

You can make use of the function module "DYNP_VALUES_UPDATE" from the module rendszam_f4 to change screen field contents with out using PBO

Read only

0 Likes
990

True, but it is a double work, and I have to code 2 times the same effect, which is already done at PAI.

Other options maybe?

Read only

990

Hi Tamás,

You could try to call FM SAPGUI_SET_FUNCTIONCODE at the end of your POV event?

Regards,

John.

Read only

Former Member
0 Likes
990

A LEAVE TO SCREEN '2000'. (same screen) command did it fine.

Thank you anyways

Tamá