‎2006 Jul 05 4:14 PM
Select erdat
from databasetable
into corresponding fields of table itab
where......
Now if itab has two fields erdat and edatu which are both of same type (both erdat and edatu are of sy-datum type) , now which field of itab will be filled because of the above select statement. erdat or edatu?
Thanks.
‎2006 Jul 05 4:15 PM
‎2006 Jul 05 4:15 PM
‎2006 Jul 05 4:16 PM
hi,
Select erdat
from databasetable
into corresponding fields of table itab
where......
<b>For this erdat field will get field up.</b>
Regards,
Manohar.
‎2006 Jul 05 4:16 PM
‎2006 Jul 05 4:18 PM
hi nuren,
as u have into corresponding fields of itab
it will fill erdat.
‎2006 Jul 05 4:29 PM
hi Nuren,
Since you are selecting erdat field in your select statement it will fill <b>ERDAT</b> field only
‎2006 Jul 05 4:35 PM
You fill only field with same name in internal table. To fill the other you need to do something like this:
Select erdat AS edatu
from databasetable
into corresponding fields of table itab
where......
‎2006 Jul 05 4:57 PM
HI
GOOD
IT WILL FILLED YOUR INTERNAL TABLE WITH DATA FROM BOTH THE FIELDS, MOVE CORRESPONDING DOES NOT MAKES ANY DIFFERENCE IN YOUR CASE.
THANKS
MRUTYUN