Ansicht
Dokumentation

AISA0001 - Assign Inventory Number

AISA0001 - Assign Inventory Number

PERFORM Short Reference   Addresses (Business Address Services)  
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).






PERFORM Short Reference   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1782 Date: 20240420 Time: 121042     sap01-206 ( 18 ms )