‎2007 Dec 05 4:52 PM
Hi all,
I am trying to append one of my internal table but I am getting this error, can you please tell me how to get rid of this error:
<b>"the internal table it_temp has no header line"</b>
I have declared this table as:
DATA: it_temp TYPE TABLE OF t_temp.
TYPES:BEGIN OF t_temp,
date(10) type c,
name(20) type c,
END OF t_temp.
Thanks,
Rajeev .....
‎2007 Dec 05 5:05 PM
Hi,
Your code should be
DATA: it_temp TYPE TABLE OF t_temp with header line.
plz try .
with regards,
Neptune.M
‎2007 Dec 05 4:53 PM
Hi,
Try giving like this,
TYPES:BEGIN OF t_temp,
date(10) type c,
name(20) type c,
END OF t_temp.
DATA: it_temp TYPE TABLE OF t_temp.
Regards,
Padmam.
‎2007 Dec 05 4:56 PM
Hi Padman thanks for the reply....I think this is what I have declared and I have just posted in the wrong order but the order in which you hve asked me to do ...I have done it in the same way !!!
Thanks
Rajeev
‎2007 Dec 05 4:58 PM
Hi Rajeev,
I checked for syntax in the order that i ve given.But it is showing no Syntax Error.
Regards,
Padmam.
‎2007 Dec 05 4:56 PM
Checks this :
TYPES:BEGIN OF t_temp,
date(10) type c,
name(20) type c,
END OF t_temp.
DATA: it_temp TYPE TABLE OF t_temp,
ty_temp TYPE t_temp.
Use work area ty_temp.
ty_temp-date = <date>
ty_temp-name = <name>
append ty_temp to it_temp .
Regards
L appana
‎2007 Dec 05 5:05 PM
Hi,
Your code should be
DATA: it_temp TYPE TABLE OF t_temp with header line.
plz try .
with regards,
Neptune.M