on 10-14-2008 3:32 PM
Hi
i have 2 dropdown byindex in which iam populating the 1st one with the values from RFC1. once after selecting the value from 1st dropdown second dropdown has to take value from rfc2
say dropdown1 has 2 values A,B .Now if i selct A the onselect eevent for this dropdown is not getting triggerd but if i selct B it getting triggered and then if i select A its getting triggered.
Hi,
Follow the below mentioned steps for your requirement:
1. Call RFC1 to fetch values for DD1.
2. Immediately after this, fetch the default value of DD1 and pass it to method say "getValues(String DD1)".
3. The above mentioned method should call RFC2 based on the parameter passed to fetch values for DD2.
4. On select event of DD2, call the method of step 3 passsing the selected value of DD2.
Hope this will meet your requirement.
regards,
amit bagati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i think the first dropdown showing the "A" value as default.
if so do like this,
after calling the rfc1 place the below statement
wdContext.node<rfc1>().setLeadSelection(-1);
then select A from first check this once.
Regards,
ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First call the RFC to populate the DD1 and call RFC to populate DD2 for the initial selected value of DD1. Now, call the same method to call RFC for populating DD2 on the onSelect event of DD1.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.