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

Select-Options in dialog program

Former Member
0 Likes
512

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

3 REPLIES 3
Read only

Laxmana_Appana_
Active Contributor
0 Likes
471

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

Read only

0 Likes
471

Hummm, I think it's not my case!

Thanks.

Alexandre

Message was edited by: Alexandre Nogueira

Message was edited by: Alexandre Nogueira

Read only

former_member186741
Active Contributor
0 Likes
471

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.