‎2007 Nov 26 1:46 PM
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á
‎2007 Nov 26 1:57 PM
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
‎2007 Nov 26 1:57 PM
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
‎2007 Nov 26 2:00 PM
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?
‎2007 Nov 26 2:05 PM
Hi Tamás,
You could try to call FM SAPGUI_SET_FUNCTIONCODE at the end of your POV event?
Regards,
John.
‎2007 Nov 26 2:04 PM
A LEAVE TO SCREEN '2000'. (same screen) command did it fine.
Thank you anyways
Tamá