Field Adding in AS01 tcode
1 Go to AOLA
Tcode and select SAP – Standard Tab
Layout and click on copy button in tool bar.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr4aDGejdgOvx6jD0Lf9CpHc-Q-ry9gMBDeLuM5Pck2ysr3vwa0GbiaSGCukQFofG8bKz5a8iN8aSlY-65KDsnz6Max9Plavr7PKpzzwbXV_S4nYvffDGJ_p-qdais7fqL2wDyDV19hk3D/s640/hjh.jpg)
Click On New Entries.
Give Required Name and click
on enter and save the layout .
1 Go to AOLK Tcode and select
ASSET Class In, which we need to add custom fields. We need to individually
assign the custom layout to each asset class manually.
S Select asset class
and click on general assignment of layout and in others entry assign your custom created layout in before step
and save the changes. So that new field will appear in AS01 In General Tab
s
1 Create Project For Enhancement AIST0002 in
CMOD
Create Structure
CI_ANLU With required Custom Fields
Implement All
Function Exits and activate Project.
1 Go to SE80 and display Function
Group XAIS
U Under
Screen Tab Create Sub screen with number 9000 as shown in below screenshot
Design Layout with
Required Custom Fields as shown in above screen shot.
Under Includes Tab Create TOP
Include For Declaring Custom Fields.
1 Function Exits in Project
Created in CMOD and in the function group, both are same. We need to implement
our logic in following exits.
EXIT_SAPL1022_001
EXIT_SAPLAIST_002
EXIT_SAPLAIST_003
1 Code in EXIT_SAPL1022_001
This Exit is used
to pass custom field values to standard structure
-----------------------------------------------------------
DATA : ZZREMARKS TYPE CHAR40.
ZZREMARKS = I_ANLU-ZZREMARKS.
------------------------------------------------------------------
ZZREMARKS
Is the Custom Field.
1 Code in EXIT_SAPLAIST_002
---------------------------------------------------
ANLU = I_ANLU.
ZZREMARKS = I_ANLU-ZZREMARKS.
ZZREMARKS = I_ANLU-ZZREMARKS.
1 Code in EXIT_SAPLAIST_003
ANLU-ZZREMARKS = ZZREMARKS.
E_ANLU = ANLU.
E_ANLU = ANLU.
No comments:
Post a Comment