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

Directly access tableview cell I.E. tvx1_2_1


I know I have seen on this forum how to access a specfic tableview cell but I can't find the reference. It said something like 'do forget you can also access the table tvx1_2_1' but for the life of me I can't find it. I read it the other day and I thought to myself 'oh I know how to do that'. But now that I have to do it I realize I forgot. I have done searches on tableview, tvx1, 1, directly etc... and I still can't find it. I did it a couple of month ago and I saw it in the debugger (which is how I knew what tvx12_1 was refering to). Does anyone know the thread or can post an example for me? I would be eternally grateful and if we were still rewarding point I would do that too.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2004 at 06:03 PM

    Here you go.

    Input handling of edited cells (with an iterator)


    You can use that format in the OnInputProcessing or OnRequest to process with ABAP or

    document.getElementById('[above here]').value or .innerHTML 

    I believe both the value and innerHTML will work provided you are in IE that is. .value works if the cell value is in a inputfield the other I think works but I've not had a reason to try it.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 24, 2004 at 05:06 PM

    Do you want to access that cell on the client via javascript?

    Or on the server - either in OnInputProcessing for FlowLogic-Pages or in a controller/model method for MVC?

    Add a comment
    10|10000 characters needed characters exceeded

    • Well, another question: do you want to access this special cell from the browser request (including the form fields) or from the table of your (model) table data? This might be a stupid question, but the answer is quite important ...

      Your guess to try sth like me->tvx_1_2_3 will not work, because using it in iteraror would make "me" the iterator object, and if you don't set some attributes than the iterator class does not have any (just some standard method parameters).

      So, where the data is coming from, that you want to access (either form submit or an itab somewhere), that's the thing to know right now.

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.