Skip to Content
avatar image
Former Member

Value help Drop down list

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 16, 2009 at 10:54 AM

    Hi,

    I have the same problem, have anyone solved it?

    Many thaks for any answer!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 17, 2009 at 07:37 AM

    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);

    Add comment
    10|10000 characters needed characters exceeded