Application Development 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: 

How to get a header field

Former Member
0 Kudos

I have to requirement to append first row of internal table as as empty string ( ' ' ). But the problem is if I have decimal or numc. It gets appened as 0.00 or 00. Is there any way I can make as empty fields for fist row of internal table?

Eg.

begin of itab.

itab-name(10),

itab-amount type p length 9 decimals 2,

end of itab.

I need this

1 First row should be blank

2 xxx 100.00

3 yyy 23.00

if you append empty line, you get 0.00 for amount

Edited by: P V on Sep 20, 2008 8:04 AM

3 REPLIES 3

Former Member
0 Kudos

i dont think its possible

Former Member
0 Kudos

Hi,

Since in your internal table there is an amount field(itab-amount type p length 9 decimals 2)

It wont allow you to bring a space. It will always be 0.00.

Covert it to character format then it will work.

Hope it will help you...

Former Member
0 Kudos

Hi,

try using SKIP.

it will skip the first line and u can have it blank.