‎2010 Jul 13 5:20 AM
Hi ,
Can any one please tell me the difference between CREATE DATA and DATA statement.
What all situations we need to use the create data statement.
Thanks in advance.
Joe
‎2010 Jul 13 6:17 AM
Hi,
here is a quote from ABAP documentation.
Unlike the DATA statement, CREATE DATA creates the data object at execution time. DATA creates declared data objects when the corresponding program unit is loaded.
More info can be found in ABAP documentation. CREATE DATA is usually used in dynamic programming where you work with generic types.
Cheers
‎2010 Jul 13 6:17 AM
Joe,
Please do a F1 on those keywords that will bring you documentation.
Thanks
Bala Duvvuri
‎2010 Jul 14 8:59 AM