Ansicht Dokumentation

Wir wachsen stetig und suchen neue Kollegen (m/w/d)! Schauen Sie sich unsere offenen Position an, um eine passende Herausforderung zu finden!

AISA0001 - Assign Inventory Number

AISA0001 - Assign Inventory Number

PERFORM 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).






General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1782 Date: 20220122 Time: 041603     sap01-206 ( 20 ms )