on 03-06-2014 2:42 PM
I am Sunil Kumar ,
recently i got an issue .i e ,there are 3 drop down fields in web ui .say field1 is Country ,f2 is state,f3 is district,if i select a value in f1 related f1 the values should appear in f2,if select a value in f2, related to value in f2 some values should apppear in f3(if i select india in f1,all the states in india should appear in f2,if i select New Delhiin f2 ,then all the Districts should appear in f3)
i don't know how to achieve this requirement,
Ca anyone suggest me please.......................
Hi Sunil,
You can do it in GET_V method the attributes.
1.f1 field give all values related to in lt_ddlb and proceed
2. in f2 GET_V method get the f1 field value and filter the states according country and states for the selected country into lt_ddlb and proceed
3. same in f3 GET_V method get the f2 value and filter districts and fill lt_ddlb
lv_f1 = lr_cust_h->get_property_as_string( iv_attr_name = 'F1' ).
CREATE OBJECT lr_ddlb
EXPORTING
iv_source_type = 'T'.
lr_ddlb->set_selection_table( it_selection_table = lt_ddlb ).
rv_valuehelp_descriptor = lr_ddlb.
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.