Skip to Content
author's profile photo Former Member
Former Member

Custom field to Asset Master

Can anyone help me??? Problem still not confirmed??

Hi SDN's

I need to add a custom field to the Asset Master --> General Data tab.

I found the enhancement AIST0002, Can anyone confirm is it the right one or not?

And please let me know the steps to be followed for this?

And also any customistaion setting to be done, plz tell me.

It would be nice if you mention in sequence of steps

<b><u>Points for sure for correct answers</u></b>



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Aug 20, 2007 at 11:39 AM

    Hi Pratyusha,

    Enhancement AIST0002 is Correct. I have given the detailed document for activating this exit.

    You can use this enhancement to enter fields you define yourself in the

    asset master record. Follow these steps:

    1. Create structure CI_ANLU in the ABAP Dictionary, and define the

    fields that you want to have in the asset master record in addition

    to the standard fields. The master record data of these fields will

    later be stored in the separate table ANLU.

    2. Create include ZXAISU03 in function group XAIS. Enter program code

    there in order to transfer the asset master data to global

    variables. The asset master data referred to here is the data that

    is transferred using function module EXIT_SAPLAIST_002, and which

    you need later for checking the field contents of the fields that

    you have defined. At the least, you should transfer the values

    transferred in parameter I_ANLU to a global structure.

    3. In function group XAIS, define one or more subscreens that you want

    to integrate into the maintenance interface of the asset master

    record. On these subscreens, you can either

    a) Make the fields available to the global ANLU structure that you

    defined in the previous step

    b) Make any other fields available, from which you then derive

    values for the ANLU fields.

    4. Create include ZXAISU04 in function group XAIS. Enter code there in

    order to assign the ANLU structure that was returned to asset master

    data maintenance by parameter E_ANLU of function module


    5. Create a customer enhancement project, which is related to SAP

    enhancement AIST0002, and activate this project (transaction CMOD).

    6. Define master data tab layouts that use the subscreens (group boxes)

    you have defined. Assign asset classes to these tab layouts.

    Once you define your own user-defined fields, you can include them in

    Asset Accounting reporting. You can use your user-defined fields when

    defining sort versions. They are also available when you use dynamic

    selection for selecting assets. To be able to use your user-defined fields in this way, you only have to create your own selection view for

    the logical database ADA and assign the user-defined fields to a

    functional group (for example, functional group 10 for general data).

    If you want your user-defined fields to be displayed in reports, in

    addition to being used for sorting and selection, you have to create

    your own report or your own query. The system makes the user-defined

    fields available at the time of GET ANLAV via logical database ADA in

    the ANLAV structure. Therefore you do not need to program your own data

    retrieval program.


    o It is not possible to enter default values in the asset class for

    user-defined fields.

    o User-defined fields are not integrated in the screen layout control

    of Asset Accounting. However, you can program your own field control

    that is dependent on the asset class and/or company code (in the

    EXIT_SAPLAIST_002 function module). This field control can also

    distinguish between main number and subnumber master records.

    When you create

    - An asset using a reference

    - A subnumber

    - A target asset for an intercompany transfer

    then the system transfers the user-defined fields from the

    - Reference asset

    - Main asset number

    - Sending asset

    In function module EXIT_SAPLAIST_002, you can completely or

    partially delete or change the transferred values.

    o User-defined fields cannot be substituted or validated.

    Hope this will help u. If u have any queries ping me.

    With Wishes


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 21, 2007 at 01:17 AM

    It is a well documented Enhancement.

    Go to SMOD transaction and Check the Documentation.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.