Saturday, February 16, 2019

Field Adding in AS01 tcode



1       Go to AOLA Tcode and select SAP – Standard Tab Layout and click on copy button in tool bar.























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.





1   Code in EXIT_SAPLAIST_003

ANLU-ZZREMARKS ZZREMARKS.
E_ANLU 
ANLU.





No comments:

Post a Comment

Create Dynamic Internal Table & Dynamic FIELD CATALOG Introduction: This document explains how to create dynamic internal table ...