2008 Jun 26 12:33 PM
2008 Jun 26 12:36 PM
hi,
do this way ..
if itab[] is initial.
endif.
2008 Jun 26 12:34 PM
2008 Jun 26 12:35 PM
hi
you can use IS INITIAL command in an if loop.
this will help.
reward if useful.
Regards
Sumit Agarwal
2008 Jun 26 12:36 PM
2008 Jun 26 12:37 PM
There are 2 alternatives:
1) After the select query check SY-SUBRC.
2)Use:
if itab[] is initial.
endif.
2008 Jun 26 12:39 PM
hi,
if you check an internal table (Say, itab) with header line, then
if itab[] is initial.
endif.if itab is without header line, then use
if itab is initial.
endif.it will defenitely work.
Award if found helpful.
Anirban Bhattacharjee
2008 Jun 26 12:39 PM
Hi,
Go to SE11.
Put The table name In Database 'Table Field'
click 'Diaplay' Or 'Change' Pushbutton Below.
The Press CtrlshiftF10 A screen is Displayed.
Noe In The Application toolber Click On 'Number Of Entries'
Button If Entry 0 Means Table is Empty.
Let Me know if any Confusion.
2008 Jun 26 12:39 PM
Hi,
Fire a select query on that table and take the values in an internal table. If the internal table is empty, ur table is empty.
The command is
if itab[] is initial.
endif.
Nayan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |