11-01-2010 6:24 PM
Hi,
i am trying to add a custom fields in transaction AS01. For this i implemented one enhancement AIST0002 . In this enhancement i implemented one function exit EXIT_SAPLAIST_002. In this exit i maintained some code in include ZXAISU03.In this the data trasfering in parameter i_anlu to a screen. when i am activating this include i am getting 'ANLU has already declared'.
Can any one please suggest me how can i solve this problem.
Regards ,
Swathi.
11-01-2010 6:29 PM
Hi
It means the variable ANLU is declarated twice: check your program
Max
11-01-2010 8:48 PM
Did you notice the sample code provided, you may need to have something similar at the end of your exit code.
*----------------------------------------------------------------------*
* INCLUDE LXAISF03 *
*----------------------------------------------------------------------*
* move parameters of function module EXIT_SAPLAIST_002 to global
* variables
ANLA = I_ANLA.
ANLV = I_ANLV.
ANLU = I_ANLU.
GD_MODE = I_MODE.
GD_XSUBNO = I_XSUBNO.
GT_ANLZ[] = T_ANLZ[].
GT_ANLB[] = T_ANLB[].