Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using GETGUI command --in ALV grid, how to extract multiple DATA

Former Member
0 Likes
799

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.

4 REPLIES 4
Read only

Former Member
0 Likes
631

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

Read only

0 Likes
631

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

Read only

0 Likes
631

Hi Justin,

Could you please tell how to read the data of ALV tables as requested previously.

Read only

0 Likes
631

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