SAP F4_TR_DTA Function Module for F4 Help for Volume Management - Treasury









F4_TR_DTA is a standard f4 tr dta SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for F4 Help for Volume Management - Treasury 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 f4 tr dta FM, simply by entering the name F4_TR_DTA into the relevant SAP transaction such as SE37 or SE38.

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



Function F4_TR_DTA 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 'F4_TR_DTA'"F4 Help for Volume Management - Treasury
EXPORTING
* F1TYP = 'D' "
* F2NME = 'F110V-LAUFI' "
* DISPLAY_LAUFK = 'X' "
* EXPLAIN_LAUFK = ' ' "

IMPORTING
LAUFD = "
LAUFI = "

TABLES
* LAUFK = "
.



IMPORTING Parameters details for F4_TR_DTA

F1TYP -

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

F2NME -

Data type: C
Default: 'F110V-LAUFI'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISPLAY_LAUFK -

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

EXPLAIN_LAUFK -

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

EXPORTING Parameters details for F4_TR_DTA

LAUFD -

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

LAUFI -

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

TABLES Parameters details for F4_TR_DTA

LAUFK -

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

Copy and paste ABAP code example for F4_TR_DTA 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_f1typ  TYPE C, "   'D'
lv_laufd  TYPE F110V-LAUFD, "   
lt_laufk  TYPE STANDARD TABLE OF ILAUFK, "   
lv_f2nme  TYPE C, "   'F110V-LAUFI'
lv_laufi  TYPE F110V-LAUFI, "   
lv_display_laufk  TYPE C, "   'X'
lv_explain_laufk  TYPE C. "   SPACE

  CALL FUNCTION 'F4_TR_DTA'  "F4 Help for Volume Management - Treasury
    EXPORTING
         F1TYP = lv_f1typ
         F2NME = lv_f2nme
         DISPLAY_LAUFK = lv_display_laufk
         EXPLAIN_LAUFK = lv_explain_laufk
    IMPORTING
         LAUFD = lv_laufd
         LAUFI = lv_laufi
    TABLES
         LAUFK = lt_laufk
. " F4_TR_DTA




ABAP code using 7.40 inline data declarations to call FM F4_TR_DTA

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.

DATA(ld_f1typ) = 'D'.
 
"SELECT single LAUFD FROM F110V INTO @DATA(ld_laufd).
 
 
DATA(ld_f2nme) = 'F110V-LAUFI'.
 
"SELECT single LAUFI FROM F110V INTO @DATA(ld_laufi).
 
DATA(ld_display_laufk) = 'X'.
 
DATA(ld_explain_laufk) = ' '.
 


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!