‎2014 Sep 03 1:35 PM
Hi everyone;
i have a screen with 3 listbox fields LAND1 REGIO and CITYC. these fields refer to dictonary and linked with check table T005,T005S and T005G.
when i fill the LAND1 field before calling the screen, REGIO field automatically filled without using VRM_SET_VALUES. but when i select the REGIO the CITYC field not filled automatically. but when i fill the LAND1 and REGIO field before calling the screen the CITYC field automatically filled without using VRM_SET_VALUES.
so is it possible to fill the listbox automatically or should i use the VRM_SET_VALUES
Thx
‎2014 Sep 04 11:46 AM
Hi Mustafa.
I think that the listbox only fills automatically when the assigned field has a domain with defined values.Then you should use VRM_SET_VALUES.
Regards.
‎2014 Oct 14 12:32 PM
Hi Mustafa,
U should be used VRM_SET_VALUES for displaying that field.
For ex.
call function 'VRM_SET_VALUES'
exporting
ID = NAME1
VALUES = LIST1.
clear LIST1. ....................(Like that.).
Thanks.
‎2014 Oct 14 1:39 PM
Hi Sadik,
You can use F4IF_INT_TABLE_VALUE_REQUEST FM for listbox.
if you want to fill the land1 as list box you can do below following.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LAND1.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'.
if you want to fill region based on the land1
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_REGIO.
get the screen values by using FM DYNP_VALUES_READ
fill the internal table and call below FM.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CITY.
get the screen values by using FM DYNP_VALUES_READ
fill the internal table and call below FM.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'.
I hope this will help you.
Thanks & Regards,
Raghunadh Kodali.
‎2014 Oct 14 2:01 PM