Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

empty line in internal table

Former Member
0 Likes
2,975

hai

how to append empty line in internal tables

plz urgent

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,279

Hi

Clear ITAB.

Append ITAB.

it will append a single blank line

or

pass spaces to all fields of ITAB and use APPEND ITAB.

Reward points for useful Answers

Regards

Anji

hai

how to append empty line in internal tables

plz urgent

6 REPLIES 6
Read only

Former Member
0 Likes
1,279

APPEND INITIAL LINE TO itab.

Read only

Former Member
0 Likes
1,279

Hi,

Sravan,

Just write appen <internal table Name>

Reward if useful!

Read only

Former Member
0 Likes
1,280

Hi

Clear ITAB.

Append ITAB.

it will append a single blank line

or

pass spaces to all fields of ITAB and use APPEND ITAB.

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
1,279

clear itab.

append itab.

Read only

Former Member
0 Likes
1,279

HI,

READ TABLE ITAB WITH KEY VBELN = ' ' VBELP = ' '.

IF sy-subrc = 0.

INSERT [wa INTO|INITIAL LINE INTO] itab [INDEX idx].

ENDIF.

Regards,

Nandha

Reward if it helps

Read only

Former Member
1,279

hi,

try like this.

give APPEND keyword with internal table as

APPEND ITAB // itab is internal table with header line.

or add INITIAL keyword to it.

APPEND INITIAL LINE TO itab.

or

ITAB-fld1 = ' '.

.............

...........

.......

APPEND ITAB.

if helpful reward some points.

with regards,

Suresh.A