10-08-2007 2:33 PM
hello experts,
i am developing a report. data is populated in the internal table.
Requirement: insert blank row .
e.g. in internal table has data like
test
test1
test2
hello
test3
now i want to display these records as:
test
test1
test2
test3
-
hello
'----
' is blank row.
since i am displaying records in alv so i can not use 'skip' statements.
i tried ' at end of ' statement tooo and all other possibilities.
how can i do that???? any sample code????
thanks and regards
saurabh
10-08-2007 3:00 PM
Hi Saurabh,
APPEND INITIAL LINE TO ITAB.
Kind reagrds
Henner
<b>Award if useful.</b>
10-08-2007 2:42 PM
Eg:1
Inserting blank line is done this way:
DATA: WA_EMPTY TYPE somestructure.
append WA_EMPTY TO itab.
Eg:2
Inside the loop, you might be doing append itab and clear itab. Now append itab with empty structure after clear itab.
You can add an empty line in the debugging mode also.
Please give me reward point If it is useful
Thanks
Murali Poli
10-08-2007 3:00 PM
Hi Saurabh,
APPEND INITIAL LINE TO ITAB.
Kind reagrds
Henner
<b>Award if useful.</b>
10-08-2007 3:00 PM
Hi,
To insert blank line you can use the below code :
move space to itab.
append itab.
Thanks,
Sriram Ponna.