SAP ASSET_MASTER_RECORD_GETNUMBERS Function Module for
ASSET_MASTER_RECORD_GETNUMBERS is a standard asset master record getnumbers SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for asset master record getnumbers FM, simply by entering the name ASSET_MASTER_RECORD_GETNUMBERS into the relevant SAP transaction such as SE37 or SE38.
Function Group: AISA
Program Name: SAPLAISA
Main Program: SAPLAISA
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ASSET_MASTER_RECORD_GETNUMBERS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ASSET_MASTER_RECORD_GETNUMBERS'".
EXPORTING
* I_ASSET_KEY = "ANLA Key
TABLES
T_ANLB_GES = "
T_ANEP_GES = "
T_ANEA_GES = "
T_ANLI_GES = "
T_ANLT_GES = "
T_ANEA_OLD = "
T_ANEK_OLD = "
T_ANEP_OLD = "
T_ANLC_OLD = "
T_ANLV_OLD = "
T_ANLZ_OLD = "
* T_ANLBZA_GES = "
T_ANLB_OLD = "
* T_ANLBZA_OLD = "
T_ANLA_OLD = "
T_ANLI_OLD = "
T_ANLT_OLD = "
T_ANLH_OLD = "
WORK_TAB = "
T_ANLA_GES = "
T_ANLC_GES = "
T_ANLH_GES = "
T_ANLZ_GES = "
T_ANLV_GES = "
T_ANLU_GES = "
T_ANEK_GES = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLAISA_001 Assign Inventory Number
IMPORTING Parameters details for ASSET_MASTER_RECORD_GETNUMBERS
I_ASSET_KEY - ANLA Key
Data type: ANLA_KEYOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ASSET_MASTER_RECORD_GETNUMBERS
T_ANLB_GES -
Data type: RANLBOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEP_GES -
Data type: RANEPOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEA_GES -
Data type: RANEAOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLI_GES -
Data type: RANLIOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLT_GES -
Data type: RANLTOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEA_OLD -
Data type: RANEAOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEK_OLD -
Data type: RANEKOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEP_OLD -
Data type: RANEPOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLC_OLD -
Data type: RANLCOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLV_OLD -
Data type: RANLVOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLZ_OLD -
Data type: RANLZOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLBZA_GES -
Data type: RANLBZAOptional: Yes
Call by Reference: Yes
T_ANLB_OLD -
Data type: RANLBOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLBZA_OLD -
Data type: RANLBZAOptional: Yes
Call by Reference: Yes
T_ANLA_OLD -
Data type: RANLAOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLI_OLD -
Data type: RANLIOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLT_OLD -
Data type: RANLTOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLH_OLD -
Data type: RANLHOptional: No
Call by Reference: No ( called with pass by value option)
WORK_TAB -
Data type: RAIST03Optional: No
Call by Reference: No ( called with pass by value option)
T_ANLA_GES -
Data type: RANLAOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLC_GES -
Data type: RANLCOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLH_GES -
Data type: RANLHOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLZ_GES -
Data type: RANLZOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLV_GES -
Data type: RANLVOptional: No
Call by Reference: No ( called with pass by value option)
T_ANLU_GES -
Data type: RANLUOptional: No
Call by Reference: No ( called with pass by value option)
T_ANEK_GES -
Data type: RANEKOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ASSET_MASTER_RECORD_GETNUMBERS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_t_anlb_ges | TYPE STANDARD TABLE OF RANLB, " | |||
| lv_i_asset_key | TYPE ANLA_KEY, " | |||
| lt_t_anep_ges | TYPE STANDARD TABLE OF RANEP, " | |||
| lt_t_anea_ges | TYPE STANDARD TABLE OF RANEA, " | |||
| lt_t_anli_ges | TYPE STANDARD TABLE OF RANLI, " | |||
| lt_t_anlt_ges | TYPE STANDARD TABLE OF RANLT, " | |||
| lt_t_anea_old | TYPE STANDARD TABLE OF RANEA, " | |||
| lt_t_anek_old | TYPE STANDARD TABLE OF RANEK, " | |||
| lt_t_anep_old | TYPE STANDARD TABLE OF RANEP, " | |||
| lt_t_anlc_old | TYPE STANDARD TABLE OF RANLC, " | |||
| lt_t_anlv_old | TYPE STANDARD TABLE OF RANLV, " | |||
| lt_t_anlz_old | TYPE STANDARD TABLE OF RANLZ, " | |||
| lt_t_anlbza_ges | TYPE STANDARD TABLE OF RANLBZA, " | |||
| lt_t_anlb_old | TYPE STANDARD TABLE OF RANLB, " | |||
| lt_t_anlbza_old | TYPE STANDARD TABLE OF RANLBZA, " | |||
| lt_t_anla_old | TYPE STANDARD TABLE OF RANLA, " | |||
| lt_t_anli_old | TYPE STANDARD TABLE OF RANLI, " | |||
| lt_t_anlt_old | TYPE STANDARD TABLE OF RANLT, " | |||
| lt_t_anlh_old | TYPE STANDARD TABLE OF RANLH, " | |||
| lt_work_tab | TYPE STANDARD TABLE OF RAIST03, " | |||
| lt_t_anla_ges | TYPE STANDARD TABLE OF RANLA, " | |||
| lt_t_anlc_ges | TYPE STANDARD TABLE OF RANLC, " | |||
| lt_t_anlh_ges | TYPE STANDARD TABLE OF RANLH, " | |||
| lt_t_anlz_ges | TYPE STANDARD TABLE OF RANLZ, " | |||
| lt_t_anlv_ges | TYPE STANDARD TABLE OF RANLV, " | |||
| lt_t_anlu_ges | TYPE STANDARD TABLE OF RANLU, " | |||
| lt_t_anek_ges | TYPE STANDARD TABLE OF RANEK. " |
|   CALL FUNCTION 'ASSET_MASTER_RECORD_GETNUMBERS' " |
| EXPORTING | ||
| I_ASSET_KEY | = lv_i_asset_key | |
| TABLES | ||
| T_ANLB_GES | = lt_t_anlb_ges | |
| T_ANEP_GES | = lt_t_anep_ges | |
| T_ANEA_GES | = lt_t_anea_ges | |
| T_ANLI_GES | = lt_t_anli_ges | |
| T_ANLT_GES | = lt_t_anlt_ges | |
| T_ANEA_OLD | = lt_t_anea_old | |
| T_ANEK_OLD | = lt_t_anek_old | |
| T_ANEP_OLD | = lt_t_anep_old | |
| T_ANLC_OLD | = lt_t_anlc_old | |
| T_ANLV_OLD | = lt_t_anlt_old | |
| T_ANLZ_OLD | = lt_t_anlz_old | |
| T_ANLBZA_GES | = lt_t_anlbza_ges | |
| T_ANLB_OLD | = lt_t_anlb_old | |
| T_ANLBZA_OLD | = lt_t_anlbza_old | |
| T_ANLA_OLD | = lt_t_anla_old | |
| T_ANLI_OLD | = lt_t_anli_old | |
| T_ANLT_OLD | = lt_t_anlt_old | |
| T_ANLH_OLD | = lt_t_anlh_old | |
| WORK_TAB | = lt_work_tab | |
| T_ANLA_GES | = lt_t_anla_ges | |
| T_ANLC_GES | = lt_t_anlc_ges | |
| T_ANLH_GES | = lt_t_anlh_ges | |
| T_ANLZ_GES | = lt_t_anlz_ges | |
| T_ANLV_GES | = lt_t_anlt_ges | |
| T_ANLU_GES | = lt_t_anlu_ges | |
| T_ANEK_GES | = lt_t_anek_ges | |
| . " ASSET_MASTER_RECORD_GETNUMBERS | ||
ABAP code using 7.40 inline data declarations to call FM ASSET_MASTER_RECORD_GETNUMBERS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects