SAP J_3RT_DEPRECIATION_TRANSP_TAX Function Module for Getting transport tax by depreciation method









J_3RT_DEPRECIATION_TRANSP_TAX is a standard j 3rt depreciation transp tax SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Getting transport tax by depreciation method 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 j 3rt depreciation transp tax FM, simply by entering the name J_3RT_DEPRECIATION_TRANSP_TAX into the relevant SAP transaction such as SE37 or SE38.

Function Group: J3RT
Program Name: SAPLJ3RT
Main Program: SAPLJ3RT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function J_3RT_DEPRECIATION_TRANSP_TAX 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 'J_3RT_DEPRECIATION_TRANSP_TAX'"Getting transport tax by depreciation method
EXPORTING
I_AFABE = "Real depreciation area
I_ANLB = "Depreciation terms
I_ANTS = "Substructure of Asset Master Record (ANLA)
I_BEZWRT = "Cumulative acquisition and production costs
I_AFAP = "Struction of AFAR depreciation parameters

IMPORTING
E_AFABTR = "Cumulative acquisition and production costs
E_AKTIV = "

TABLES
T_ANEA = "Asset Line Items for Proportional Values
T_ANEP = "Asset Line Items
T_ANLC = "Asset Value Fields
T_ANLZ = "Time-Dependent Asset Allocations
.



IMPORTING Parameters details for J_3RT_DEPRECIATION_TRANSP_TAX

I_AFABE - Real depreciation area

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

I_ANLB - Depreciation terms

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

I_ANTS - Substructure of Asset Master Record (ANLA)

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

I_BEZWRT - Cumulative acquisition and production costs

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

I_AFAP - Struction of AFAR depreciation parameters

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

EXPORTING Parameters details for J_3RT_DEPRECIATION_TRANSP_TAX

E_AFABTR - Cumulative acquisition and production costs

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

E_AKTIV -

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

TABLES Parameters details for J_3RT_DEPRECIATION_TRANSP_TAX

T_ANEA - Asset Line Items for Proportional Values

Data type: ANEA
Optional: No
Call by Reference: Yes

T_ANEP - Asset Line Items

Data type: ANEP
Optional: No
Call by Reference: Yes

T_ANLC - Asset Value Fields

Data type: ANLC
Optional: No
Call by Reference: Yes

T_ANLZ - Time-Dependent Asset Allocations

Data type: ANLZ
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_3RT_DEPRECIATION_TRANSP_TAX 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_anea  TYPE STANDARD TABLE OF ANEA, "   
lv_i_afabe  TYPE ANLC-AFABE, "   
lv_e_afabtr  TYPE ANLC-KANSW, "   
lv_i_anlb  TYPE ANLB, "   
lt_t_anep  TYPE STANDARD TABLE OF ANEP, "   
lv_e_aktiv  TYPE C, "   
lv_i_ants  TYPE ANTS, "   
lt_t_anlc  TYPE STANDARD TABLE OF ANLC, "   
lt_t_anlz  TYPE STANDARD TABLE OF ANLZ, "   
lv_i_bezwrt  TYPE ANLC-KANSW, "   
lv_i_afap  TYPE LAFAR_AFAP. "   

  CALL FUNCTION 'J_3RT_DEPRECIATION_TRANSP_TAX'  "Getting transport tax by depreciation method
    EXPORTING
         I_AFABE = lv_i_afabe
         I_ANLB = lv_i_anlb
         I_ANTS = lv_i_ants
         I_BEZWRT = lv_i_bezwrt
         I_AFAP = lv_i_afap
    IMPORTING
         E_AFABTR = lv_e_afabtr
         E_AKTIV = lv_e_aktiv
    TABLES
         T_ANEA = lt_t_anea
         T_ANEP = lt_t_anep
         T_ANLC = lt_t_anlc
         T_ANLZ = lt_t_anlz
. " J_3RT_DEPRECIATION_TRANSP_TAX




ABAP code using 7.40 inline data declarations to call FM J_3RT_DEPRECIATION_TRANSP_TAX

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 AFABE FROM ANLC INTO @DATA(ld_i_afabe).
 
"SELECT single KANSW FROM ANLC INTO @DATA(ld_e_afabtr).
 
 
 
 
 
 
 
"SELECT single KANSW FROM ANLC INTO @DATA(ld_i_bezwrt).
 
 


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!