2007 Mar 08 4:25 AM
Hi All,
I want to access a single line of an internal table. How can I do this.Can anyone help me out.
2007 Mar 08 4:26 AM
Hi All,
I want to access a single line of an internal table. How can I do this.Can anyone help me out.
2007 Mar 08 4:26 AM
2007 Mar 08 4:28 AM
Hi Ravi,
Use...
Read table itab with key .
It reads only one record...Either by index or key.
READ TABLE MY_TAB INDEX 1.
READ TABLE MY_TAB WITH KEY CODE = 'ATG'.
Regards,
Priyanka.
2007 Mar 08 4:29 AM
Hi,
IN your program , check F1 help for the keyword READ, you will find all the possible ways for reading table with examples also .
Place your cursor on read and press help .
Thanx .
2007 Mar 08 4:35 AM
Hi,
You have to use READ TABLE ITAB INTO or ASSIGNING.
Using ASSIGNING you can point the row of the internal table into a FIELD-SYMBOL then you can update this row and the internal table is automatically updated you need not use MODIFY.
Regards,
Sesh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |