‎2007 Mar 28 2:46 PM
Hi folks,
What is the diffrence between *TABLE and TABLE workareas(where 'TABLE' can be any sap table) . Can u explain me a SCENARIO where we can use this method..??
Thanks in advance.
Regards,
Ram
‎2007 Mar 28 2:48 PM
There is really no difference, they are both work areas with the same structure, just two different memory areas. This was the old way of declaring work areas, for example, the *TABLE could hold old data, and the TABLE would how the most recent data during a transaction.
Anyway, don't use either, use DATA statements.
Regards,
RIch Heilman
‎2007 Mar 28 2:48 PM
*TABLE is obsolete now ..
chk this ..
tables : mara , *mara.
select single * from mara into *mara where matnr eq p_matnr.
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 Mar 28 2:48 PM
There is really no difference, they are both work areas with the same structure, just two different memory areas. This was the old way of declaring work areas, for example, the *TABLE could hold old data, and the TABLE would how the most recent data during a transaction.
Anyway, don't use either, use DATA statements.
Regards,
RIch Heilman
‎2007 Mar 28 2:57 PM
Is this kind of declaration same as declaring two work areas using the same table structure.
Ex. data: wa1 type mara.
wa2 type mara.
Ragards,
Ram
‎2007 Mar 28 3:02 PM
*mara creates a structure of the type Mara and works like a work area where as Mara can be used in select endselect statment and can hold more than one row.
‎2007 Mar 28 3:05 PM