Skip to Content
0
Former Member
Feb 11, 2011 at 10:58 PM

Error in Expert Routine

174 Views

Hello Please I need help, I applied expert routine in my transformation in BI 7.0 and i get error, this is the code i used

Data : wa_SOURCE_PACKAGE type tys_SC_1.

data : wa_RESULT_PACKAGE type tys_TG_1.

loop at SOURCE_PACKAGE into wa_SOURCE_PACKAGE .

move wa_SOURCE_PACKAGE-/BIC/ER_ENUM to wa_RESULT_PACKAGE-/BIC/ER_ENUM.

move wa_SOURCE_PACKAGE-/BIC/ER_EAGE to wa_RESULT_PACKAGE-/BIC/ER_EAGE.

move wa_SOURCE_PACKAGE-/BIC/ER_ENAME to wa_RESULT_PACKAGE-/BIC/ER_ENAME.

move wa_SOURCE_PACKAGE-/BIC/ER_ESEX to wa_RESULT_PACKAGE-/BIC/ER_ESEX.

wa_RESULT_PACKAGE-/BIC/ER_ESAL = '2000'.

append RESULT_PACKAGE to wa_RESULT_PACKAGE.

endloop.

Error Message that i get :

E:"WA_RESULT_PACKAGE" is not an internal table - the "OCCURS n"

specification is missing.

Please can someone assist me with a solution to this.