‎2007 Jul 13 3:15 PM
Hi, experts
I've created a ZTABLE for customer requirement and declared an internal table like:
DATA: TI_ZTABLE LIKE ZTABLE OCCURS 0.and after I assign values
TI_ZTABLE-ZFIELD1 = SY-MANDT.
TI_ZTABLE-ZFIELD2 = VAR1.
TI_ZTABLE-ZFIELD3 = VAR2.and check program a message appear:
The data object "TI_ZTABLE" has no structure and therefore no component called "ZFIELD1". called "ZFIELD1".What do I have to do for solving this problem? It's urgent.
I will appreciate any information.
Regards
mgg
P.D Points reward
‎2007 Jul 13 3:18 PM
‎2007 Jul 13 3:18 PM
‎2007 Jul 13 3:19 PM
I don't what this ZTABLE looks like, but this should work:
DATA: ti_ztable TYPE STANDARD TABLE OF ZTABLE WITH HEADER LINE.