Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Transformation Start Routine

When declaring variables in a transformation as below:

DATA: BEGIN OF ls_1,

crm1 TYPE /BI0/OICRM_MKTELM,

END OF ls_1,

lt_1 LIKE TABLE OF ls_1

I get the error

E:Within classes and interfaces, you can only use "TYPE" to refer to ABAP

Dictionary types (not "LIKE" or "STRUCTURE").

I have copied the definition from a 3.5 update rule start routine

Why do I get the error and how can I overcome? Thanks

replied

instead of Like table of

use Type table of

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question