‎2008 Jul 09 8:58 PM
HI,
i doing fm and i use performs tables itab ....
inside the perform i put :
tables p_itab structure itab
but some time its works and some time don't,
i have to declare it : tables p_itab like itab (then it works)
what it can be .
i declare it all the time the same (in top)
types :begin of 1_tab,
pernr type pernr_d,
end of 1_tab.
data: itab type table of 1_tab.
Regards
‎2008 Jul 09 9:08 PM
‎2008 Jul 09 9:08 PM
‎2008 Jul 09 9:15 PM
Hi Rich ,
Thanks .
why u don't recommended to use data :itab type tables of 1_tab.
and when i do double click on new perform i get like p_itab structure itab u tell its better to use it with type?
Regards
‎2008 Jul 09 10:05 PM
‎2008 Jul 09 9:14 PM
Hello ricardo arona ,
always use TYPES statement for defining the internal table or use like
DATA : <ITAB> TYPE TABLE of <STRUCTURE>.
Thanks,
Greetson