on 02-24-2011 12:03 PM
Hello,
I have encountered an issue with the drop down lists in Adobe forms (for HCM F&P, but it would be the same for all Adobe Interactive forms).
e.g. drop down values are like:
Key text
100 Analyst Position
101 Analyst Position
102 Analyst Position
103 Analyst Position
So the form will show the drop down with 4 entries with same text. But no matter which one I choose from list, it only selects the first one it finds with that text. (So the raWvalue will always be 100). And this is BIG problem.
The code that I can see on 'exit' event of this field is like:
// DO NOT MODIFY THE CODE BEYOND THIS POINT - Enumerated_Drop-down_list_No_S.xfo
// If the display value is used in the data DOM,
// re-assign the corresponding data value
if (this.rawValue != "" ) {
if (this.boundItem(this.rawValue) != "") {
this.rawValue = this.boundItem(this.rawValue);
}
}
// END OF DO NOT MODIFY
Is there a way to tackle this with the code in 'exit' event OR I have to go to SAp/Adobe to get a fix.
Thanks in advance for your help.
Regards,
Amit.
Hi Chris,
You had replied to my e_mail some time back on same topic. I had forgot to close it here on SDN.
I had gone with option 4. It was just 2 weeks before go-live and I did not wanted to wait for months to SAP / Adobe to fix it properly.
Thanks,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a known issue (and has been for a while now) with SAP's own Javascript in the ISR library script code. We have talked about this in this forum in other posts before (try search). There are some workarounds to this. You can either...
1. correct the SAP inserted script (not recommended as it will be overwritten).
2. insert your own script with the same function name into your form which will "over write" the SAP script if put in the correct location (not recommended as you will have to do this for every form)
3. change descriptions to have unique titles (this is most likely NOT possible, but I include it as an "option")
4. create your own generic service to populate the drop-down list and have it make unique text to display...such as using the description + the value like "Analyst (001)" (I find that client's actually tent to prefer this as even if the drop-down worked as you wanted, the user still won't be able to tell which one is which just from the title)....9 times out of 10, I usually do this....and it actually helps performance in some cases as you are not using the more time/code consuming way for SAP to "build" the drop-downs.
Just some thoughts. Again...search some of the older discussions on this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit,
Is there any restriction in giving different text?
Thanks & Regards,
Sanoosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please map the value key to the binding and this should resolve the issue. And if you are using custom value help then using the generic service, on selection fire a event inorder to check if the right value is selected or not.
Or the other way which I can recommend , use the F4 help option using custom webdynpro pop helps which is part of EhP4 , this might overcome the restriction.
Hope this helps.
Best Regards
Saujanya
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.