Ansicht
Dokumentation

AIST0002 - Customer fields in asset master

AIST0002 - Customer fields in asset master

PERFORM Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this enhancement to enter fields you define yourself in the asset master record. Proceed as follows:

  • 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.
  • Create include ZXAISU03 in function group XAIS and 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.
  • 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 make the fields available to the global ANLU structure that you defined in the previous step, or make any other fields available, from which you then derive values for the ANLU fields.
  • 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.
  • Create a customer enhancement project, which is related to SAP enhancement AIST0002, and activate this project (transaction CMOD).
  • 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 variants. 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 field group (for example, field 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.

Constraints

  • 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, or

  • A target asset for an intercompany transfer

The user-defined fields are transferred from
  • The reference asset

  • The main asset number, or

  • The 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.





ROGBILLS - Synchronize billing plans   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4184 Date: 20240426 Time: 120453     sap01-206 ( 85 ms )