User Exit Enhancement AIST0002 Step by Step
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.-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
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.
Click on
ACTIVATE ….
We ended the ABAP part.
IS NECESSARY USER KEY FI MAKE YOUR SETTINGS .
Thanks .
<removed by moderator>
Great tutorial !!! 😛
Hello Raman, you should follow and read to Isabel Villegas del Ángel. 😛
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 ?
Great job!!, thank you Isabel.
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!
Hi all ;
You can benefit from this blog for customizing --> https://blogs.sap.com/2013/03/11/adding-z-fields-to-asset-master-screen-aist0002-t-codes-as01as02as03/
Regards.
M.Ozgur Unal