on 08-05-2011 10:56 AM
Dear Experts.
I am new to adobe interactive form can anybody please tell me how to fill data in a drop down box dynamically? I am using webservices method.
Thanks in advance.
Chitta Ranjan Mahato
Edited by: mahato123 on Aug 5, 2011 12:16 PM
you can create a method to populate the context attribute that you are using to map to your dropdown box.
DATA: node_info TYPE REF TO if_wd_context_node_info.
DATA: it_table TYPE wdr_context_attr_value_list.
** select your dropdown data into it_table and pass it to your context attribute.
** here, mine is call PROJ_TYPE - the values should appear in your dropdown.
node_info->set_attribute_value_set(
name = 'PROJ_TYPE'
value_set = it_table ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello sir
I am using web service method to design adobe form not web dynpro for java . Earlier i used drop down list with but done
binding statically all options i add in the list manually. please tell me sir where i write this code . i am not finding any area in layout where i write above code.
Thanks
Chitta Ranjan
Hello sir
I am using web service method to design adobe form not web dynpro for java . Earlier i used drop down list with but done
binding statically all options i add in the list manually. please tell me sir where i write this code . i am not finding any area in layout where i write above code.
Thanks
Chitta Ranjan
We're using ABAP Webdynpro not Java.
I put this code in the in WDOINIT method of my web dynpro application because my drop down values are selected from a table prior to calling the the web dybpro application which launches the form.
Where you put it will be up to how your web dynpro works. If the dropdown values depend on user input, you'll have to place the code between that and the point where you launch your form.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.