SAP ALTD_FIELD_INPUT_CHECK Function Module for
ALTD_FIELD_INPUT_CHECK is a standard altd field input check 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 altd field input check FM, simply by entering the name ALTD_FIELD_INPUT_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: ALTD
Program Name: SAPLALTD
Main Program: SAPLALTD
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ALTD_FIELD_INPUT_CHECK 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 'ALTD_FIELD_INPUT_CHECK'".
EXPORTING
* I_TRTYP = "
* I_TCODE = "Transaction Code
* I_KUMUL = "
* I_TABA = "
* I_ANZAHL = "
* I_UNTERJ = "
* I_OPVW = "Asset under construct. with line item settlement
* IS_T093C = "Company codes in Asset Accounting
* I_DYNNR = "Internal Tables, Current Row Index
* I_BWASL = "Asset Transaction Type
TABLES
* T_ANLB = "Depreciation Terms
* T_ITAB = "Parameter asset legacy data transfer
* T_RT093 = "Internal Table for Tables 093, 093A 093B and 093T
EXCEPTIONS
T_ANLB_FEHLT = 1 T_ITAB_FEHLT = 2 T_RT093_FEHLT = 3
IMPORTING Parameters details for ALTD_FIELD_INPUT_CHECK
I_TRTYP -
Data type: ANLA-EIGKZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TCODE - Transaction Code
Data type: ANEK-TCODEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KUMUL -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_TABA -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_ANZAHL -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_UNTERJ -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
I_OPVW - Asset under construct. with line item settlement
Data type: ANLA-XOPVWOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_T093C - Company codes in Asset Accounting
Data type: T093COptional: Yes
Call by Reference: No ( called with pass by value option)
I_DYNNR - Internal Tables, Current Row Index
Data type: SY-DYNNROptional: Yes
Call by Reference: No ( called with pass by value option)
I_BWASL - Asset Transaction Type
Data type: ANEP-BWASLOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ALTD_FIELD_INPUT_CHECK
T_ANLB - Depreciation Terms
Data type: ANLBOptional: Yes
Call by Reference: Yes
T_ITAB - Parameter asset legacy data transfer
Data type: R093UOptional: Yes
Call by Reference: Yes
T_RT093 - Internal Table for Tables 093, 093A 093B and 093T
Data type: RT093Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
T_ANLB_FEHLT -
Data type:Optional: No
Call by Reference: Yes
T_ITAB_FEHLT -
Data type:Optional: No
Call by Reference: Yes
T_RT093_FEHLT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ALTD_FIELD_INPUT_CHECK 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 | TYPE STANDARD TABLE OF ANLB, " | |||
| lv_i_trtyp | TYPE ANLA-EIGKZ, " | |||
| lv_t_anlb_fehlt | TYPE ANLA, " | |||
| lv_i_tcode | TYPE ANEK-TCODE, " | |||
| lt_t_itab | TYPE STANDARD TABLE OF R093U, " | |||
| lv_i_kumul | TYPE C, " | |||
| lv_t_itab_fehlt | TYPE C, " | |||
| lv_i_taba | TYPE C, " | |||
| lt_t_rt093 | TYPE STANDARD TABLE OF RT093, " | |||
| lv_t_rt093_fehlt | TYPE RT093, " | |||
| lv_i_anzahl | TYPE C, " | |||
| lv_i_unterj | TYPE C, " | |||
| lv_i_opvw | TYPE ANLA-XOPVW, " | |||
| lv_is_t093c | TYPE T093C, " | |||
| lv_i_dynnr | TYPE SY-DYNNR, " | |||
| lv_i_bwasl | TYPE ANEP-BWASL. " |
|   CALL FUNCTION 'ALTD_FIELD_INPUT_CHECK' " |
| EXPORTING | ||
| I_TRTYP | = lv_i_trtyp | |
| I_TCODE | = lv_i_tcode | |
| I_KUMUL | = lv_i_kumul | |
| I_TABA | = lv_i_taba | |
| I_ANZAHL | = lv_i_anzahl | |
| I_UNTERJ | = lv_i_unterj | |
| I_OPVW | = lv_i_opvw | |
| IS_T093C | = lv_is_t093c | |
| I_DYNNR | = lv_i_dynnr | |
| I_BWASL | = lv_i_bwasl | |
| TABLES | ||
| T_ANLB | = lt_t_anlb | |
| T_ITAB | = lt_t_itab | |
| T_RT093 | = lt_t_rt093 | |
| EXCEPTIONS | ||
| T_ANLB_FEHLT = 1 | ||
| T_ITAB_FEHLT = 2 | ||
| T_RT093_FEHLT = 3 | ||
| . " ALTD_FIELD_INPUT_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM ALTD_FIELD_INPUT_CHECK
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 EIGKZ FROM ANLA INTO @DATA(ld_i_trtyp). | ||||
| "SELECT single TCODE FROM ANEK INTO @DATA(ld_i_tcode). | ||||
| "SELECT single XOPVW FROM ANLA INTO @DATA(ld_i_opvw). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_i_dynnr). | ||||
| "SELECT single BWASL FROM ANEP INTO @DATA(ld_i_bwasl). | ||||
Search for further information about these or an SAP related objects