‎2008 Apr 05 5:15 PM
‎2008 Apr 05 5:21 PM
READ LINE
Use the statements READ LINE and READ CURRENT LINE to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.
GET CURSOR
Use the statements GET CURSOR FIELD and GET CURSOR LINE to pass the output field or output line on which the cursor was positioned during the interactive event to the ABAP program.
‎2008 Apr 05 5:23 PM
hi ,
read line is used to reading the line content which are clicked or selected .
regards,
venkat.
‎2008 Apr 05 5:24 PM
i have these ans but it does not tell me the exact diff
it looks similar in both cases
u have just given the definintion
‎2008 Apr 05 5:34 PM
Hi Karan,
READ LINE is used to read a line from the list output. here u can read any line by specifying the line number and also from any child list by specifying INDEX. But this not possible in case of GET CURSOR which will get the contents of the line where we clicked. By READ line we can read any line of any page, But this is not possible with GET CURSOR.
Also check below variants of read line(F1 help). U will get more information.
1. READ LINE line.
2. READ LINE line OF CURRENT PAGE.
3. READ LINE line OF PAGE pag.
4. READ CURRENT LINE.
Hope this clarified ur doubt.
Thanks,
Vinod.
‎2008 Apr 28 9:21 PM
Karan,
This of this if this helps to understand the nature of these statmet execution.
READ CURSOR is strictly sequential and the selcted row can be controlled from the SELECT associated with CURSOR.
READ LINE is read any line and does not have to be sequential.
Hope this adds some light to understanding...
Goodluck,
Alex.