‎2009 Apr 08 2:08 PM
hello,
I am geting this error when refering to a field in the structure i created.
"I_MAKT" is a table without a header line and therefore has no
component called "MATNR".
what can i do, because i know that is does exist.
I am doing all entries for 8 table and relating them by matnr.
‎2009 Apr 08 2:14 PM
hi,
fo removing this error just declare :
1) an internal table of that structutre
2) also declare workarea of that structure
and refer I_MAKTusing that workarea
eg: wa_name-I_MAKT
IT WILL DEFINATELY HELP U
REGARDS
RAHUL
‎2009 Apr 08 2:10 PM
Hi,
Declare your table I_MAKT 'with header line'.
Regards,
Soumya.
‎2009 Apr 08 2:10 PM
hi,
declare the table with header line
or with explict work area.
Ex: I_MAKT TYPE TABLE OF MAKT WITH HEADERLINE.
Regards,
R K.
‎2009 Apr 08 2:14 PM
hi,
t_mara TYPE STANDARD TABLE OF mara with header line.
hope it will help u.
‎2009 Apr 08 2:13 PM
Declare one explicit work area and access data from that. Seems like you are trying to access matnr by directly giving the itab name. Since it doesnt have header line it is throwing this error. Either have implicit work area or an explicit one. Hope this solves.
‎2009 Apr 08 2:14 PM
Hi , u have to create a teble with header line or u cretae separate work area and itab and compare fileds with workare.
data : wa_makt type ls_makt,
itab type table of ls_makt.
or itab type tabkle of ls_makt with headr line.
Note ls_makt is a struvure of required fileds .
always create a st, of required fileds , dont use all the fileds directly form stnd. table,
it will decrease ur performance,
regardfs
‎2009 Apr 08 2:14 PM
hi,
fo removing this error just declare :
1) an internal table of that structutre
2) also declare workarea of that structure
and refer I_MAKTusing that workarea
eg: wa_name-I_MAKT
IT WILL DEFINATELY HELP U
REGARDS
RAHUL
‎2009 Apr 08 2:15 PM
hey..can you provide us your program..by that we can tell u in a better way..