SAP 0ATR_TA1TVB_CHECK Function Module for









0ATR_TA1TVB_CHECK is a standard 0atr ta1tvb 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 check FM, simply by entering the name 0ATR_TA1TVB_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_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_CHECK'"
EXPORTING
* I_BUKRS = "Company Code
I_TRANSV = "Transfer variant
I_BEZTYP = "Company code relationship type
* I_AFAPL = "Chart of Depreciation
* I_XGETIT = "
* I_MESSAGE_STORE = "

TABLES
* T_TA1TVB = "
* T_T093 = "
* T_T093A = "

EXCEPTIONS
ERR_DIFFERENT_BWA = 1 ERR_FALSE_TMETH = 2 ERROR_OCCURRED = 3
.



IMPORTING Parameters details for 0ATR_TA1TVB_CHECK

I_BUKRS - Company Code

Data type: T093C-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TRANSV - Transfer variant

Data type: TA1TVB-TRANSV
Optional: No
Call by Reference: No ( called with pass by value option)

I_BEZTYP - Company code relationship type

Data type: TA1TVB-BEZTYP
Optional: No
Call by Reference: No ( called with pass by value option)

I_AFAPL - Chart of Depreciation

Data type: T093C-AFAPL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_XGETIT -

Data type: T093C-XRUMPF
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MESSAGE_STORE -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for 0ATR_TA1TVB_CHECK

T_TA1TVB -

Data type: TA1TVB
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_T093 -

Data type: T093
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_T093A -

Data type: T093A
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ERR_DIFFERENT_BWA -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERR_FALSE_TMETH -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

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_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_err_different_bwa  TYPE TA1TVB, "   
lt_t_t093  TYPE STANDARD TABLE OF T093, "   
lv_i_transv  TYPE TA1TVB-TRANSV, "   
lv_err_false_tmeth  TYPE TA1TVB, "   
lt_t_t093a  TYPE STANDARD TABLE OF T093A, "   
lv_i_beztyp  TYPE TA1TVB-BEZTYP, "   
lv_error_occurred  TYPE TA1TVB, "   
lv_i_afapl  TYPE T093C-AFAPL, "   
lv_i_xgetit  TYPE T093C-XRUMPF, "   
lv_i_message_store  TYPE T093C. "   

  CALL FUNCTION '0ATR_TA1TVB_CHECK'  "
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_TRANSV = lv_i_transv
         I_BEZTYP = lv_i_beztyp
         I_AFAPL = lv_i_afapl
         I_XGETIT = lv_i_xgetit
         I_MESSAGE_STORE = lv_i_message_store
    TABLES
         T_TA1TVB = lt_t_ta1tvb
         T_T093 = lt_t_t093
         T_T093A = lt_t_t093a
    EXCEPTIONS
        ERR_DIFFERENT_BWA = 1
        ERR_FALSE_TMETH = 2
        ERROR_OCCURRED = 3
. " 0ATR_TA1TVB_CHECK




ABAP code using 7.40 inline data declarations to call FM 0ATR_TA1TVB_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 TRANSV FROM TA1TVB INTO @DATA(ld_i_transv).
 
 
 
"SELECT single BEZTYP FROM TA1TVB INTO @DATA(ld_i_beztyp).
 
 
"SELECT single AFAPL FROM T093C INTO @DATA(ld_i_afapl).
 
"SELECT single XRUMPF FROM T093C INTO @DATA(ld_i_xgetit).
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!