Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to add costom fields in transaction AS01

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

Hi

It means the variable ANLU is declarated twice: check your program

Max

Former Member
0 Kudos

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[].