‎2006 Jul 21 9:11 PM
Hello,
I am trying to define another table, say itab, that has the same structure as, say, EDISEGSTRU so that I can use it in the function call: SEGMENTDEFINITION_READ as a parameter for Tables. May I know how can I declare the itab? Thanks a lot!
Regards,
Anyi
‎2006 Jul 21 9:17 PM
data : IT_TAB type standard table of EDISEGSTRU initial size 0.
You can use the above statement.
Regards
Anurag
‎2006 Jul 21 9:17 PM
In order to reference a structure in the interface of a function module, the structure must be created in the data dictionary. Check that your structure exists via SE11, if so, then you can use it in the tables parameter section of your function module.
<b>
Parameter Name Type Spec Reference Type</b>
name_of_table LIKE EDISEGSTRU
Regards,
Rich Heilman
‎2006 Jul 21 9:20 PM
data: gt_itab type standard table of EDISEGSTRU
with header line.
‎2006 Jul 21 9:17 PM
data : IT_TAB type standard table of EDISEGSTRU initial size 0.
You can use the above statement.
Regards
Anurag
‎2006 Jul 21 9:20 PM
Hi ,
You cab use
data: it_EDISEGSTRU like EDISEGSTRU occurs 0 with header line.
Thanks,
Madhu