on 01-26-2007 5:17 PM
I am trying to mimic the functionality of the "Position Field' in the SPPD, but I can't figure out how it is pre-selecting the PLANS_CURR box with the current position.
I basically want a drop down bo, which I am populating with data using ls_special_data, and I am able to do that fine, but now I would like to specify and certain record to be pre-selected.
Does anyone know how to do this?
Thanks,
hi Tim and Sridhar,
How do we do the binding.
On the Adobe dynamic binding I See see.
for example for the forms field PERSK_NEW
ITEM Binding
Item value text
Item key key
but the source code in ls_additional_data has this code
ls_additional_data-fieldindex = index.
ls_additional_data-fieldname ='PERSK_KEY'.
ls_additional_data-fieldvalue = int_table-key.
append ls_additional_data to additional_data.
ls_additional_data-fieldindex = index.
ls_additional_data-fieldname = 'PERSK_LABEL'.
ls_additional_data-fieldvalue = int_table-label.
append ls_additional_data to additional_data.
endloop.
In this case how is PERSK_KEY bound to Item key
and 'PERSK_LABEL' bound to item value
Please guide. I am trying to create a PCR from scratch and got stuck up big time at this point
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tim,
Make sure the value in PLANS_CURR is available in additional_data (in method SCENARIO_SET_ADDITIONAL_VALUES).
I am assuming you must have defined value list attributes of DDL field DDL (key and label) in binding.
regards
sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the wdDoInit() method set the context attribute that is binded to the drop down list box to the value you wanted.
For Ex:
wdContext.currentDataSourceElement().setServiceCenter("GAHT");
Here the service center attribute of the context is binded to the dropdown box in the adobe form. So when the form opens it always selects the GAHT from the drop down.
Hope that helps
Anu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.