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

Wait for LeadSelect of DropDownByIndex

Hello,

i''ve got a problem with a DropDownByIndex-Field and a LinkToAction-Field inside a complex Web Dynpro Table. Link To Action depends on Selection of DropDownByIndex. If the user selects a value in DropDown-Field an changes to the next column with Tab-Key, execution LinkByAction with Enter-Key, sometimes this action is performed before Lead Selection of Drop Down is updated.

Hope you understand the problem 😉

Is there any possibility to wait for the Lead-Select-Event to complete, i.e. to execute the Action of the Link By Action as soon as the lead select event is completed

Kind regards,

Johann

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2008 at 01:35 PM

    Hi.

    Try using parameter mapping to your linktoaction. This way you wouldn't be dependent on the leadselection.

    Look here for good examples:

    http://help.sap.com/saphelp_nw04/helpdata/en/25/d41a403233dd5fe10000000a155106/content.htm

    You can mapp each row-number in your table to each linktoaction in the wdDoModifyView method.

    Regards, Mikael

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 19, 2008 at 01:39 PM

    you can use parameter mapping and is not depended on Lead Selection.

    i.e. in this case,

    For onAction of linkToAction UI you need to add a parameter to this action of type datasource element of your table.

    nikhiL

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2008 at 07:48 PM

    Hi,

    Check "compatibilityMode" of your table properties. By default it is "auto". On clicking any action element in table cell, OnLeadSelect is also fired. If you change that default behavior, you will have full control on the order of events.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c092333b-0601-0010-e7af-8c227fb6d052

    /people/bertram.ganz/blog/2005/09/13/new-web-dynpro-sample-available--enhancing-table-performance

    ~kranthi

    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.