Documentation View

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

BADA0002 - Customer-specific asset number

BADA0002 - Customer-specific asset number

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Central data retrieval and formatting of data for assets takes place in the logical database ADA of the Asset Accounting (FI-AA) component. One of the data fields is the field ANLN0 (12 characters). This field contains the main asset number.

However, you can change this using this SAP enhancement. For example, you could have the system list the inventory number, rather than the main asset number, in all standard reports that use the logical database.

Follow these steps:

  1. Modify function module EXIT_SAPDBADA_002. Enter your own code in the included program ZXBADU02.
  2. Activate a customer project using SAP enhancement BADA0002 (transaction CMOD).

The asset master data (I_ANLAV) is available as transfer parameter to function module EXIT_SAPDBADA_002.

The expected return value (E_CUSANLN1) is the replacement value for the main asset number. This value is then transferred to the appropriate report.

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1036 Date: 20211129 Time: 004539     sap01-206 ( 26 ms )