on 08-26-2008 1:53 PM
Hi,
I am using value help in 2 ways:
1) Value help drop down list: I have field which is linked to MARA-MATNR in my context. When I try to create a value help drop down list and bind it to MARA-MATNR field, the value help drop down does work but just only once. After that I am not able to use F4 help on that field. Can you please let me know if I am missing any other settings as I am not doing any settings apart from what I wrote.
2) I use the Value help button. It is working fine for individual fields, but it is not working if I specify this with an internal table of type MARA-MATNR. It shows the F4 help and am able to choose tha Material number, but is not getting copied to Text box which is bind to MARA-MATNR.
Please help.
Thanks,
SAP Programmer
Hi all,
I have solved this problem:
There is problem in SAP generated JavaScript code in Interactive form in preOpenEvent of Value help Drop down list. There is variable processingValueHelp, which is set to true, if you are currently processing value help, but after first use of value help, this variable is always true. So my solution is remove checking this variable:
Code before:
ValueHelpDropDownList4::preOpen: - (JavaScript, client) -
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - ValueHelpDropDown.xfo
var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
if(processingValueHelp == false) {
ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
this.rawValue = "";
this.clearItems();
ContainerFoundation_JS.SendMessageToContainer(event.target,
"valueHelp",
this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
this.rawValue,
event.target.mouseX,
event.target.mouseY);
}
// END OF DO NOT MODIFY
Code after:
ValueHelpDropDownList3::preOpen: - (JavaScript, client) -
// DO NOT MODIFY THE CODE BEYOND THIS POINT - 800.20070410093956.383622.376748 - ValueHelpDropDown.xfo
ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
this.rawValue = "";
this.clearItems();
ContainerFoundation_JS.SendMessageToContainer(event.target,
"valueHelp",
this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
this.rawValue,
event.target.mouseX,
event.target.mouseY);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same problem, have anyone solved it?
Many thaks for any answer!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.