SAP 0ATR_TA1TVB_COMPLETE_CHECK Function Module for
0ATR_TA1TVB_COMPLETE_CHECK is a standard 0atr ta1tvb complete 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 0atr ta1tvb complete check FM, simply by entering the name 0ATR_TA1TVB_COMPLETE_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: 0ATR
Program Name: SAPL0ATR
Main Program: SAPL0ATR
Appliation area: A
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function 0ATR_TA1TVB_COMPLETE_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 '0ATR_TA1TVB_COMPLETE_CHECK'".
EXPORTING
* I_BUKRS = "Company Code
* I_AFAPL = "Chart of Depreciation
* I_MESSAGE_STORE = 'X' "
* I_INIT_MESS_HANDLER = "
* I_TEST = 'X' "
TABLES
* T_TA1TVB = "
* T_TA1TV = "
* T_T093 = "
* T_T093A = "
* T_T096 = "
EXCEPTIONS
ERROR_OCCURRED = 1
IMPORTING Parameters details for 0ATR_TA1TVB_COMPLETE_CHECK
I_BUKRS - Company Code
Data type: T093C-BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AFAPL - Chart of Depreciation
Data type: T093C-AFAPLOptional: Yes
Call by Reference: No ( called with pass by value option)
I_MESSAGE_STORE -
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_INIT_MESS_HANDLER -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TEST -
Data type: ANLA-ANUPDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for 0ATR_TA1TVB_COMPLETE_CHECK
T_TA1TVB -
Data type: TA1TVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_TA1TV -
Data type: TA1TVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_T093 -
Data type: T093Optional: Yes
Call by Reference: No ( called with pass by value option)
T_T093A -
Data type: T093AOptional: Yes
Call by Reference: No ( called with pass by value option)
T_T096 -
Data type: T096Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_OCCURRED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for 0ATR_TA1TVB_COMPLETE_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: | ||||
lv_i_bukrs | TYPE T093C-BUKRS, " | |||
lt_t_ta1tvb | TYPE STANDARD TABLE OF TA1TVB, " | |||
lv_error_occurred | TYPE TA1TVB, " | |||
lv_i_afapl | TYPE T093C-AFAPL, " | |||
lt_t_ta1tv | TYPE STANDARD TABLE OF TA1TV, " | |||
lt_t_t093 | TYPE STANDARD TABLE OF T093, " | |||
lv_i_message_store | TYPE T093, " 'X' | |||
lt_t_t093a | TYPE STANDARD TABLE OF T093A, " | |||
lv_i_init_mess_handler | TYPE T093A, " | |||
lv_i_test | TYPE ANLA-ANUPD, " 'X' | |||
lt_t_t096 | TYPE STANDARD TABLE OF T096. " |
  CALL FUNCTION '0ATR_TA1TVB_COMPLETE_CHECK' " |
EXPORTING | ||
I_BUKRS | = lv_i_bukrs | |
I_AFAPL | = lv_i_afapl | |
I_MESSAGE_STORE | = lv_i_message_store | |
I_INIT_MESS_HANDLER | = lv_i_init_mess_handler | |
I_TEST | = lv_i_test | |
TABLES | ||
T_TA1TVB | = lt_t_ta1tvb | |
T_TA1TV | = lt_t_ta1tv | |
T_T093 | = lt_t_t093 | |
T_T093A | = lt_t_t093a | |
T_T096 | = lt_t_t096 | |
EXCEPTIONS | ||
ERROR_OCCURRED = 1 | ||
. " 0ATR_TA1TVB_COMPLETE_CHECK |
ABAP code using 7.40 inline data declarations to call FM 0ATR_TA1TVB_COMPLETE_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 BUKRS FROM T093C INTO @DATA(ld_i_bukrs). | ||||
"SELECT single AFAPL FROM T093C INTO @DATA(ld_i_afapl). | ||||
DATA(ld_i_message_store) | = 'X'. | |||
"SELECT single ANUPD FROM ANLA INTO @DATA(ld_i_test). | ||||
DATA(ld_i_test) | = 'X'. | |||
Search for further information about these or an SAP related objects