Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

User Exit Enhancement AIST0002 Step by

Step
created by Isabel Villegas del Ángel on May 30, 2012 7:39 PM, last modified by Isabel Villegas del Ángel on Aug 22, 2012 6:32
PM
Version 7
inShare8

OBJECTIVE: Add a subscreen with custom fields in "General preoperative" tab on the main
screen active transaction (AS01 / AS02 / AS03/AS11/AS91/AS92/AS93/AS94.
TRANSACTION: CMOD, SE80,SE11.
TABLE: ANLU
ENHANCEMENT: AIST0002.
COMPONENTS: EXIT_SAPLAIST_002, EXIT_SAPLAIST_003.
RESULT:

1. 1.-ADD  FIELDS REQUIRED TO TABLE ANLU.


 
- Go to  transaction SE11
 
- Database table ANLU,  select  DISPLAY.
-Double click    INCLUDE  CI_ANLU.
- You'll see a message Create? select YES
 
 Add the fields you want, eg
 
     ZZCODIGOIT CHAR12    
     ZZOPCIONCM CHAR1
     ZZADICIONNR CHAR1
     ZZBLINDAJE CHAR1
     ZZCOMPONE CHAR1
 
-At the end     click   ACTIVATE (CTRL+F3) 
Click   button

Finish  whit the structure  CI_ANLU


 
 
1. 2.- Create  Project  and activate  enhacement  AIST0002
- Go to  transaction CMOD
-  Write name of  Proyect eg.  ZAIST002
-Select  create.
 
- Whrite  Short text

Click on button ENHACEMENT ASSIGNMENTS


-Write  AIST0002 ENTER

Click on COMPONENTS  , You will see  the next screen .


Click on   EXIT_SAPLAIST_002

 Click on  INCLUDE ZXAISU03  .

IMPORTANT: ENTER TO GIVE YOU LEAVE MOVE TO THE NEXT STEP.


Click on   YES.
 
-Writte  ANLU = I_ANLU  
 ACTIVATE

      
RETURN TO SCREEN

Click on EXIT_SAPLAIST_003.
Click on  INCLUDE ZXAISU04
-ENTER
-YES
-WRITE    E_ANLU = ANLU.

ACTIVATE AND RETURN TO   COMPONENTS SCREEN .


- ACTIVATE  PROYECT : CLICK ON IN THIS BOTTON.

We ended the ACTIVATE ENHANCEMENT


 
3.- CREATE  SUB SCREEN 
- Transaction SE80 BROWSER  DE REPOSITORY---> FUNCION GROUP -----> XAIS.
ADD  Dympro 
RIGHT CLICK ON BUTTON
SELECT   CREATE-----> SCREEN.

Screen Number  9000.click on


Short description  U9000
-  SUBSCREEN
- Next screen  9000
CLICK  ON BOTTON     LAYOUT
 
 
-The next  screen select   button  BOX and  draw  .

Now in the top right are three buttons with a green, one red and another one with yellow,
select the red box.
Do the next.

Enter
 
-Select   the fields that you want..
Select

Arrange them as you want to display on screen


 
- Activate

Click on

ACTIVATE ….
 
We ended the ABAP part.
 
 
IS NECESSARY USER KEY   FI      MAKE YOUR SETTINGS .
 
Thanks .
<removed by moderator>

 
6593 Views Categories: ABAP DevelopmentTopics: abap Tags: as01, user_exits, aist0002, exit_saplaist_003, exit_saplaist_002
Average User Rating
(4 ratings)

inShare8

 5 Comments


Osvaldo Lopez Jul 27, 2012 2:56 PM
Great tutorial !!! 
Like (1)

Osvaldo Lopez Jul 27, 2012 3:41 PM
Hello Raman, you should follow and read to Isabel Villegas del Ángel. 
Like (2)

o
Bastin Vinoth Dec 31, 2012 10:45 AM (in response to Osvaldo Lopez)
Hi  isabel,
 
I have added the custom fields under general tab in as01.
 
but its not getting updated while saving ?
 
ie) its not updated in ANLU table.
 
can u help me to get solution ?
Like (0)


Orlando Alanis Apr 22, 2015 12:16 AM
Great job!!, thank you Isabel.
Like (0)


Deanne Nicole Moncada Feb 29, 2016 3:41 PM
Hi, we have an enhancement for the addition of fields in the Asset Master Record. I
have followed all the steps the the screen was successfully added. We checked
transactions AS01/AS02/AS03/AS92 and the fields were added.

 
However, when we are already transporting the changes in the test box, even
thought the transport was moved, but the sub screen created was not reflected. We
have tried explicitly including the subscreen object for the transport, as well as
moving the whole Function Group XAIS, but still the sub screen was not reflected.

 
Hope you could help us with this one.

 
Thanks!

You might also like