‎2006 Jul 26 10:12 PM
Hi there,
I'm using a selection-screen in a dialog program, I declared it in the TOP.
Selection-screens
SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
parameters: p_lifnr type lfa1-lifnr obligatory ,
p_werks type t001w-werks obligatory .
SELECT-OPTIONS:
s_licha FOR zbrtconsig-licha.
SELECTION-SCREEN END OF SCREEN 101.
I have to use the event at selection-screen on value-request for s_licha-low, and I need the values from the fields p_lifnr and p_werks. the problem is:
If I only fill the fields p_lifnr, p_werks and click on F4 for s_licha, the values of p_lifnr and p_werks are not updated, they are empty. Only wether I do an Enter this fields is updated.
Thanks,
Alexandre Nogueira
‎2006 Jul 26 10:17 PM
Hi,
i am not clear about your problem, please expalin it clearly.
use FM : DYNP_VALUES_UPDATE to update screen fields.
use FM : DYNP_VALUES_READ to read screen fields.
use SET /GET Parameter id's to set parameters
this FM will update the screen fields before to PBO event.
check this link for sample code :
Regards
Appana
‎2006 Jul 26 10:23 PM
Hummm, I think it's not my case!
Thanks.
Alexandre
Message was edited by: Alexandre Nogueira
Message was edited by: Alexandre Nogueira
‎2006 Jul 27 12:44 AM
Alexandre, I believe Appana is correct and you need to use fm DYNP_VALUES_READ to get the current values <b>on the screen</b>of p_lifnr and p_werks which you can then use in your F4 processing to help you get the s_licha-low and high values.