SAP EXIT_SAPLAIST_001 Function Module for Exchange Number Range
EXIT_SAPLAIST_001 is a standard exit saplaist 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Exchange Number Range processing and below is the pattern details for this FM, 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 exit saplaist 001 FM, simply by entering the name EXIT_SAPLAIST_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XAIS
Program Name: SAPLXAIS
Main Program:
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLAIST_001 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 'EXIT_SAPLAIST_001'"Exchange Number Range.
EXPORTING
I_ANLA = "Asset Master Data
I_ANLZ = "Time-Dependent Asset Master Data
I_ANKA = "Asset Class
I_TRANSV = "Transfer Variant
IMPORTING
E_NUMKR = "Number Range
E_NO_CHECK_NR = "Do Not Check Number Range Interval
E_ANLN1 = "Main Asset Number
E_ANLN2 = "Asset Subnumber
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.AIST_CALC_SCRAPVALUE_PRCTG
AIST_CHECK_CLOSED_FISCAL_YEARS
AIST_DERIVE_PRCTR_SEGMENT
AIST_DERIVE_PRCTR_SEGMENT_INFO
AIST_WBS_NUMBER_EXCHANGE
AM_ASSET_CLASS_READ
AM_FIELDNAME_TABLE_GET
ASSET_MASTERRECORD_MAINTENANCE
ASSET_MASTERRECORD_REFRESH
ASSET_MASTERRECORD_SWITCH_NUMB
ASSET_MASTERRECORD_UPDATE_DIAL
CREATE_ASSET
CREATE_ASSET_CONFIRM
CREATE_ASSET_FOR_POSTING
CREATE_ASSET_FOR_SETTLEMENT
CREATE_ASSET_FOR_SETTLEMENT_CF
FIELDGRP_MODIFIY
FIELDGRP_VALUE_NEW
FIELD_STATUS_GROUP_GET_NEW
IM_T093_READ
PUT_ANLC_TO_SAPLAIST
PUT_ANXX_TO_SAPLAIST
PUT_MDO_TO_SAPLAIST
READ_ASSET_FROM_SAPLAIST
IMPORTING Parameters details for EXIT_SAPLAIST_001
I_ANLA - Asset Master Data
Data type: ANLAOptional: No
Call by Reference: No ( called with pass by value option)
I_ANLZ - Time-Dependent Asset Master Data
Data type: ANLZOptional: No
Call by Reference: No ( called with pass by value option)
I_ANKA - Asset Class
Data type: ANKAOptional: No
Call by Reference: No ( called with pass by value option)
I_TRANSV - Transfer Variant
Data type: TA1TV-TRANSVOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLAIST_001
E_NUMKR - Number Range
Data type: ANKA-NUMKROptional: No
Call by Reference: No ( called with pass by value option)
E_NO_CHECK_NR - Do Not Check Number Range Interval
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
E_ANLN1 - Main Asset Number
Data type: ANLA-ANLN1Optional: No
Call by Reference: No ( called with pass by value option)
E_ANLN2 - Asset Subnumber
Data type: ANLA-ANLN2Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLAIST_001 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: | ||||
lv_i_anla | TYPE ANLA, " | |||
lv_e_numkr | TYPE ANKA-NUMKR, " | |||
lv_i_anlz | TYPE ANLZ, " | |||
lv_e_no_check_nr | TYPE C, " | |||
lv_i_anka | TYPE ANKA, " | |||
lv_e_anln1 | TYPE ANLA-ANLN1, " | |||
lv_e_anln2 | TYPE ANLA-ANLN2, " | |||
lv_i_transv | TYPE TA1TV-TRANSV. " |
  CALL FUNCTION 'EXIT_SAPLAIST_001' "Exchange Number Range |
EXPORTING | ||
I_ANLA | = lv_i_anla | |
I_ANLZ | = lv_i_anlz | |
I_ANKA | = lv_i_anka | |
I_TRANSV | = lv_i_transv | |
IMPORTING | ||
E_NUMKR | = lv_e_numkr | |
E_NO_CHECK_NR | = lv_e_no_check_nr | |
E_ANLN1 | = lv_e_anln1 | |
E_ANLN2 | = lv_e_anln2 | |
. " EXIT_SAPLAIST_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLAIST_001
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."SELECT single NUMKR FROM ANKA INTO @DATA(ld_e_numkr). | ||||
"SELECT single ANLN1 FROM ANLA INTO @DATA(ld_e_anln1). | ||||
"SELECT single ANLN2 FROM ANLA INTO @DATA(ld_e_anln2). | ||||
"SELECT single TRANSV FROM TA1TV INTO @DATA(ld_i_transv). | ||||
Search for further information about these or an SAP related objects