Click here to load reader
Upload
mohd-irfan
View
77
Download
5
Embed Size (px)
DESCRIPTION
SAP Asset Master Enhancement
Citation preview
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 EXIT_SAPLAIST_003.
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.
Limitations
- It is not possible to enter default values in the asset class for user-defined fields.
- 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
______________________________________________________________SAP AG 1
SAP System______________________________________________________________
- Reference asset
- Main asset number
- Sending asset
In function module EXIT_SAPLAIST_002, you can completely or partially delete or change the
transferred values.
- User-defined fields cannot be substituted or validated.
______________________________________________________________SAP AG 2
SAP System______________________________________________________________