2007 Oct 19 3:48 AM
Hi all,
here i ve declared simple table and trying to pass values to that.
but its giving some error like>
Field "FIELD" is unknown. it is neither in one of the specified tables nor defined by a "DATA" statement. where i ve gone wrong. let me know plz.
my code is:
TYPES: begin of header,
Field(25) type c,
End of header.
DATA: i_header type STANDARD TABLE OF header with HEADER LINE,
wa_header type header.
I_header-Field = 'field 1 descrpion'.
Append i_header.
I_header-Field = 'field 2 descrpion' .
Append i_header.
Thank in advance,
kandra.
2007 Oct 19 3:56 AM
I think you can not use the name field , Change as field1 or some think else and check
2007 Oct 19 3:52 AM
Hi.
This is working fine!
You can copy this statement in another program and check.
Btw is this the complete program?? Or is it just a part of program in which case the problem could be somewhere else!
Regards
Nishant
2007 Oct 19 3:56 AM
I think you can not use the name field , Change as field1 or some think else and check
2007 Oct 19 3:59 AM
Hi,
Minal is wrong.
You can very well use the name as FIELD.
This code is perfectly fine.
regards
Nishant
2007 Oct 19 4:05 AM
Hi friends thanks for quick replay ! its resolved am using FIELD as it is.
i ve given rewards.
Regards,
kandra.