‎2009 Jun 17 4:51 PM
HI ,
i designed selection screen with two fields,
that is contry fied
when i selectd this contry field automatically second field should display relevent plants in list display formate.
<< Removed >>
Edited by: Rob Burbank on Jun 17, 2009 11:53 AM
‎2009 Jun 17 4:55 PM
Hi,
Use the AT-SELECTION SCREEN event.
When you enter value in the first parmeter; populate the other parameter or select-options.
Regards,
Ankur Parab
‎2009 Jun 17 5:02 PM
Hi,
AT SELECTION-SCREEN ON FIELD <FIELDNAME1>.
<FIELDNAME2> = New value.
Rgds,
Ramani N
‎2009 Jun 17 6:04 PM
Hi,
To read country value dynamically, use function module READ_DYNPRO_VALUES (FM name may not be exact) in F4 help of plant. Using this FM, you will get actual country value entered and then select plants from relevant table T001 / T001W / T001K.
Let me know if you need further explanation.
Regrads,
Anil Salekar
‎2009 Jun 17 6:40 PM
HI,
Try with call function 'VRM_SET_VALUES'. in the event AT SELECTION-SCREEN OUTPUT.
Set list box with value
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
Thanks
kumar.
‎2009 Jun 17 6:54 PM
hi raj,
*u can define that country field as a check box as:
parameters : p1 as checkbox type c user command uc,
p2 type bukrs modif id m1 no-display. " and plant as another normal parameter
* then at selection screen output event
at selection-screen output.
loop at screen.
if scree-group1 = 'M1'.
if p1 = 'X'. "checking the checkbox to be filled or not
screen-active = 1.
else.
screen-active = 0.
clear : p2. " for next time use
endif.
modify screen.
endif.
endloop.hope this helps
and for your list requirement u can provide a F4 functionailty or can use VRM_SET_VALUEs as instructed in above posts for P2.
Edited by: soumya prakash mishra on Jun 17, 2009 7:54 PM