‎2007 Sep 04 11:04 AM
Hi frnds,
I have seen so many times declarations like
EXPORTING l_tab TYPE ANY TABLE.
what is the "Type any table" means.
can anyone just clarify my doubt.
Thanks,
sanjay
‎2007 Sep 04 11:05 AM
Its used when you dont know the structure of the table untill runtime.
So to store data during runtime you can use the same. Such table can store data of any structure.
‎2007 Sep 04 11:05 AM
Its used when you dont know the structure of the table untill runtime.
So to store data during runtime you can use the same. Such table can store data of any structure.
‎2007 Sep 04 11:07 AM
Hi
It means the parameter I_TAB can be an internal table of every kind:
- STANDARD TABLE,
- SORTED TABLE,
- INDEX TABLE,
- HASHED TABLE
The kind of table depends on the kind of internal table tansfers its data by that parameter, so its kind is decide at runtime.
Max
‎2007 Sep 04 11:08 AM
Its a table with charecterstrings, It can be used to hold any kind of data. Its type is determined dynam,icaaly depending on the base table, I mean, The data that is been uploaded to this table.
HOpe this helps.
Cheers,
Jaleel.
‎2007 Sep 04 11:08 AM
Hi,
It will accepct any type of table irredspective of the structure
you can pass mara table type, or marc etc..
rewards if useful,
regards,
nnazeer..
‎2007 Sep 04 11:10 AM
Hi Sanjay..
Type Any Table means Generic internal Table.
Suppose if u give as
Type Table of EKPO
Then you can only pass internal table with the Same structure i.e EKPO.
But to allow any internal table you have to declare as
Itab type ANY TABLE.
<b>REWARD IF HELPFUL</b>