‎2009 Aug 12 5:49 AM
Using GETGUI command , I am able to get a single value form the ALV grid. Please explain me how I can read multiple data like rows and columns data from the ALV grid.
Please be detailed as I already tried selecting the whole block of ALV grid, but I could not help myself.
Regards
Srinivas.
‎2009 Aug 13 9:14 AM
Hi Srinivas,
You will have to use the concept of Regular expressions for this. We will have to loop through each row/coloumn to do what u desire.
The ID of an element on grid will be something like GRIDNAME-<ELEMENT NAME>[ROW NO] [COLUMN NO]
we need to parameterize the row and also the el;ementname changes for each column along with the column number. Please let me know if this much detail is enough. If not i can show u a real time ecatt code snippet on how to play around with grids.
Regards,
Justin
‎2009 Aug 13 3:51 PM
Hi Justin,
It would be of great help, if you share how to work with the grid name -row no and col no.
Thanks in advance.
regards
Srinivas.K
‎2009 Aug 21 10:45 AM
Hi Justin,
Could you please tell how to read the data of ALV tables as requested previously.
‎2009 Aug 24 5:55 AM
Hello Srinivas,
In order to read multiple values from the ALV grid or the table , at first you need to find out how many items are there in the table, then we can loop so many times.
The GETGUI recording has to be in the DO loop and the guielement ID of the field has to be changed dynamically at each iteration of the loop, like this we would be able to retrieve all the values of the table.
Let me know if you have any clarifications.
Thanks & Best regards,
Ajay