SAP J_3RT_TRANSP_VALUE Function Module for Calculate transport tax value in according deprecation parameters









J_3RT_TRANSP_VALUE is a standard j 3rt transp value SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Calculate transport tax value in according deprecation parameters 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 transp value FM, simply by entering the name J_3RT_TRANSP_VALUE 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_TRANSP_VALUE 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_TRANSP_VALUE'"Calculate transport tax value in according deprecation parameters
EXPORTING
P_ANEP = "Asset Line Items
P_ANLC = "Asset Value Fields
P_AFAP = "Struction of AFAR depreciation parameters
P_ANTS = "Substructure of Asset Master Record (ANLA)
P_FIRSTMOVING = "
P_BALANCE = "
P_PERIOD = "

CHANGING
P_MESS_OPEN = "Batch management indicator (internal)
P_AFABTR = "Cumulative acquisition and production costs

EXCEPTIONS
TAX_PARMETERS_IS_EMPTY = 1 OKOF_CODE_IS_EMPTY = 2
.



IMPORTING Parameters details for J_3RT_TRANSP_VALUE

P_ANEP - Asset Line Items

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

P_ANLC - Asset Value Fields

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

P_AFAP - Struction of AFAR depreciation parameters

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

P_ANTS - Substructure of Asset Master Record (ANLA)

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

P_FIRSTMOVING -

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

P_BALANCE -

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

P_PERIOD -

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

CHANGING Parameters details for J_3RT_TRANSP_VALUE

P_MESS_OPEN - Batch management indicator (internal)

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

P_AFABTR - Cumulative acquisition and production costs

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

EXCEPTIONS details

TAX_PARMETERS_IS_EMPTY -

Data type:
Optional: No
Call by Reference: Yes

OKOF_CODE_IS_EMPTY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_3RT_TRANSP_VALUE 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_p_anep  TYPE ANEP, "   
lv_p_mess_open  TYPE XCHAR, "   
lv_tax_parmeters_is_empty  TYPE XCHAR, "   
lv_p_anlc  TYPE ANLC, "   
lv_p_afabtr  TYPE KANSW, "   
lv_okof_code_is_empty  TYPE KANSW, "   
lv_p_afap  TYPE LAFAR_AFAP, "   
lv_p_ants  TYPE ANTS, "   
lv_p_firstmoving  TYPE C, "   
lv_p_balance  TYPE C, "   
lv_p_period  TYPE C. "   

  CALL FUNCTION 'J_3RT_TRANSP_VALUE'  "Calculate transport tax value in according deprecation parameters
    EXPORTING
         P_ANEP = lv_p_anep
         P_ANLC = lv_p_anlc
         P_AFAP = lv_p_afap
         P_ANTS = lv_p_ants
         P_FIRSTMOVING = lv_p_firstmoving
         P_BALANCE = lv_p_balance
         P_PERIOD = lv_p_period
    CHANGING
         P_MESS_OPEN = lv_p_mess_open
         P_AFABTR = lv_p_afabtr
    EXCEPTIONS
        TAX_PARMETERS_IS_EMPTY = 1
        OKOF_CODE_IS_EMPTY = 2
. " J_3RT_TRANSP_VALUE




ABAP code using 7.40 inline data declarations to call FM J_3RT_TRANSP_VALUE

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.

 
 
 
 
 
 
 
 
 
 
 


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!