on 09-02-2009 9:08 AM
Hi SDN,
I want to use Enumatared Drop down list in my WDA online interactive form for the country field. I have placed the dropdwon from webdynpro native and binded to the country field from data view. In specify Item values, there is one thing which I have to change "Repalce_This".
Under default binding I have like following:
$record.Tables.BANK.DATA[*].LAND
Under specify item values I have following:
$record.sap-vhlist.REPLACE_THIS.item[*]
Here do I need to give full address of the filed or just the field name? like /LAND/ .
And anything do i need to specify or change for Item Text and Item Value.
Im bit confused.
And after doing all this, do I have to fill this drop down programatically or by default I will be getting the values since that field in the structure already having search help.
Thanks
smitha
Smitha,
You need to provide the field name in the replace this section and for Item text and key you will need to select the node which has the values.
Also there is no additional coding required if you are binded it to internal table which you already might be populating.
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chintan,
Thank you for the response.
I got the context through service call of my BAPI.
I have the node structure like followng.
Main Node
Importing
Exporting
Changing(1 to 1 cardinality)
lw_LFBK (Under Changing I have this with 10 attributes) (0 to n cardinality)
Now I have BANKS field in lw_LFBK. I want to implement enumarated dropdown for this field in a table on adobe form.
I have dragged enumarateddropdown from webdynpro native and placed in table row and binded to the BANKS filed in data view.
Under default binding I have following: $record.CHANGING.lw_LFBK.DATA[*].BANKS.
Under Items: $record.sap-vhlist.BANKS.item[*]
ITEM Text : which node I have tpo select?
Item Value : which node I have tpo select?
And also can u please help me out for filling this drodp down?
Thanks,
Smitha
Hi ,
Sorry for late reply.
I tired the way you guys suggested but still no use.
If the cardinality of the node (w_LFBK) is 0 to n or 1 to n, I'm getting DATA[*] node while binding the dropdown to the context field.
so the values are not passing to dropdown box. This one is also not working:
$record.sap-vhlist.lw_LFBK\.DATA\.BANKS.item[*]
But if the cardinality(w_LFBK) is 1 to 1, I'm getting all the values in to my drop down.
Since my context node is 0 to n please help me how to fill the drop down .
Regards,
Smitha
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.