‎2007 Jan 08 2:15 AM
Hi all,
Why is there no 'type' used in the elements? What is the default?
DATA: BEGIN OF WC_LOAD_STRUC,
WL_NO(15),
WC_NO(5),
NAME(35),
PLG_BCK_DPTH(17),
END OF WC_LOAD_STRUC.
Now what is 15, 5 35 and 17 here?
Thanks,
Charles.
‎2007 Jan 08 2:49 AM
<i>Now what is 15, 5 35 and 17 here?</i>
They are<b> length</b> of each field in structure.
Raja T
‎2007 Jan 08 2:19 AM
They are declared as CHAR data types. These mean:
DATA: BEGIN OF WC_LOAD_STRUC,
WL_NO(15) <b>type c</b>,
WC_NO(5) <b>type c</b>,
NAME(35) <b>type c</b>,
PLG_BCK_DPTH(17) <b>type c</b>,
END OF WC_LOAD_STRUC.
Thanks,
Santosh
‎2007 Jan 08 2:49 AM
<i>Now what is 15, 5 35 and 17 here?</i>
They are<b> length</b> of each field in structure.
Raja T