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

table control field statement problem.

Hi all,

I am using tablecontrol to display data. If i display 10 records, the user scrolls the table he can view the data... everything works fine. but the problem is when he selects the first row and scrolls down, the 'field' statement in my flowlogic reads the first row and again when the user scrolls up (assume we are in the 4th row ) the 'field' statement reads the 4th row and not the first row and also my fisrt selected row becomes deselected. i dont want that to happen. How to make the 'field' statement to read the first row ?

my code :

loop at itm.

field it_itm-pick.

field it_itm-matnr.

module chage table.

endloop.

my requirement is to take the selected row and do calculation ?

thanks,

SIva

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 08:54 AM

    Hi:

    Read through its index

    Regards

    Shashi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 02:55 PM

    You can store the index of the row in a variable. In the PBO when you're looping on your control you can write back the index using the variable.

    Edited by: mrwhite on Feb 24, 2009 3:55 PM

    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.