2008 May 20 8:39 AM
Hi all
I have a report as mentioned below.But i want to select only the first 2 record from the table without using control-break statments.Please help.
Vijay
2008 May 20 8:58 AM
hi,
use the following statement
select <your fields>
from <dbtab> " database table
into table <itab> " your internal table
up to 2 rows.
reward if helpful
prasanth
hi,
use the following statement
select <your fields>
from <dbtab> " database table
into table <itab> " your internal table
up to 2 rows.
reward if helpful
prasanth
2008 May 20 8:54 AM
make use of select upto 2 rows statement if u want to select from dbase
2008 May 20 8:58 AM
hi,
use the following statement
select <your fields>
from <dbtab> " database table
into table <itab> " your internal table
up to 2 rows.
reward if helpful
prasanth
2008 May 20 8:58 AM
2008 May 20 9:52 AM
use the following
select field1 field2 field3 ...
from table_name
into itab
upto 2 rows
where .......
Please reward points if this works.
2008 May 20 10:39 AM
Hi,
To select 'n' particular no. of records from table then use
select <f1> <f2> from table into itab where condition up to n rows.
Regards,
vineela.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |