We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

AISA0001 - Assign Inventory Number

AISA0001 - Assign Inventory Number

ABAP Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

In Release 4.5A, you can assign an inventory number automatically when creating an asset master record.

Carry out the following steps:

  • Modify function module EXIT_SAPLAISA_001 to meet your own requirements (see example).
  • Activate SAP enhancement AISA0001 using the function Project Management of SAP Enhancements (CMOD).

Function module EXIT_SAPLAISA_001 provides the following parameter for user-defined inventory number assignment:

  • I_ANLA - Master data of the asset being created

An inventory number (E_INVNR) should be returned.

Include ZXAISU02 is already provided in this function module. You have to create this included report yourself and provide the code required for your inventory number allocation.

The following is a simple example of how function module EXIT_SAPLAISA_001 can be implemented:


*---------------------------------------------------------------------*
*   INCLUDE ZXAISU02                                                  *
*---------------------------------------------------------------------*
* Inventory number allocation dependends on the last 8 digits of the
* main asset number and is preceded by prefix I-
  E_INVNR+0(2) = 'I-'
  E_INVNR+2(8) = I_ANLA-ANLN1+4(8).






ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1782 Date: 20200919 Time: 020906     sap01-206 ( 43 ms )