‎2007 Aug 15 5:11 AM
Please let me know, if the following statement is possible in SAP release 45B?
select * from (tabname) where x = y.
tabname is defined as data: tabname type dd08v-tabname.
Thanks in advance.
‎2007 Aug 15 6:15 AM
hi ,
take care that table name should be defined as:
data: tabname type dd08v-tabname Value 'MARA.
select * from (tabname) into table itab where x = y.
Revert back if any issues,
Rewadr with points if helpful.
Regards,
Naveen
‎2007 Aug 15 5:17 AM
‎2007 Aug 15 5:35 AM
Hi,
This is correct syntax. without saying INTO TABLE or INTO WORKAREA it won't allow.
select *
from tabname
into table internal_tabname
where conditon.
select *
from tabname
into workarea
where conditon.
Regards,
Surya
‎2007 Aug 15 6:15 AM
hi ,
take care that table name should be defined as:
data: tabname type dd08v-tabname Value 'MARA.
select * from (tabname) into table itab where x = y.
Revert back if any issues,
Rewadr with points if helpful.
Regards,
Naveen
‎2007 Aug 15 6:26 AM
Thank you.
I have written the table name in small letters which caused the error.