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

How to set the First Line of Table UI in Web Dynpro ABAP

Hi Team,

I have a scenario where I'm displaying two Table controls one below the other. When a line is selected in the first(Top) table, I have a supply function(Event) and I fill the second(bottom) table. Everything works fine till here.

The problem starts when I scroll the bottom table. Lets assume that I'm at line 20 of the second table and I press the lead selection to select another line on the first table. Here the second table is filled with new data but it is automatically scrolled to line 20. My questions:

1) Do I have to set some specific property of the second table? If yes, which one and where should I set it (In the supply function? I already have the "visibleRowCount" set to "10")

2) How do I dynamically get access to the Table Control properties?

Thanks for your time

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2006 at 05:50 PM

    Thank you Maksim,

    I did set the "selectionMode" to "Auto". I don't understand where In supply function I have to set lead selection of nested node to first element. Please elaborate on this. Are you talking about the context attribute bound to the second table? OR do I have to change the Importing parameters "Node" and "Parent_Element" of my supply function?

    Thanks for your time.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 06, 2006 at 04:45 PM

    Hi Sanjay,

    In supply function set lead selection of nested node to first element and set second (bottom) Table`s property selectionMode is to auto.

    2) bind context attributes to Tables properties and change context attributes instead of Tables properties itself.

    Best regards, Maksim Rashchynski.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 06, 2006 at 06:33 PM

    Thank you Maksim,

    It solved the problem.

    Best Regards

    Sanjay

    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.