Skip to Content
author's profile photo Former Member
Former Member

complex Valuehelp without roundtrip on value selection

Hello

we currendly use a custom made F4-Help in a wd-application in a huge table. The F4 displaies the suggested values with additionally information by setting the background collor for each value.

The Problem is, that with selecting a value a roundtrip is triggered in the backend. This is a problem because this is not neccessary in our application but it worsens the performance significant.

I know that in an earlyer release (we have SAP_BASIS release 740) it was possible, even default, that the roundtrip didn't got triggered. (wd_this->wd_get_api( )->register_on_enter_for_f4( register_on_enter = abap_true ).)

I tried to use this statement to set the value to abap_false but this doesn't work. (No error, but no change in behavier either)

An other possibility would be to use a dropdown instead of the f4. But as far as i know it isn't possible to set the backgrundcolor of elements of the valuelist.

Any suggestions would be welcome.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2014 at 08:53 AM


    Hello

    The roundtrip after a value selection in a F4-help can't be disabled.

    We now work around this problem by using the auto-completion (value_suggest).

    So now the user can open the f4-help (same problem as bevore), but he also gets a value_help while tiping whitout a roundtrip.

    Only setback here is, that we have the requirement, that the allowed values differ from line to line in our table. This is not possible to do with value suggest, because here the value gets mapped to the nodeinfo.

    So what we did, was alloing all possible values in each line, and just add some description to the values.

    Not perfect, but....

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.