‘Type’ | ‘Like’ |
---|---|
You can assign the data type directly during the declaration of the data object | You can assign the data type of one object to another during the declaration of the data object. The datatype will be indirectly referenced here. |
It is used when user-defined objects connect with SAP system data type | It is used when data objects connect with the other data object |
Type keyword is useful in referring to the data type | Like keyword is useful in copying the existing data object properties |