SAP FI_TEXTS_DOCUMENT Function Module for









FI_TEXTS_DOCUMENT is a standard fi texts document 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 fi texts document FM, simply by entering the name FI_TEXTS_DOCUMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_TEXTS_DOCUMENT 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 'FI_TEXTS_DOCUMENT'"
EXPORTING
* I_AKTYP = ' ' "Transaction type
* I_CLEAR_XUPD = ' ' "
I_BELNR = "Number of the financial accounting
* I_BLART = ' ' "
* I_BUKRS = ' ' "Company code
* I_CHECK = ' ' "X - only test, whether texts are a
* I_DYNCL = ' ' "Screen class
I_GJAHR = "Fiscal year
I_OBJECT = "Text object
* I_GIVE_BACK_IDS = "

IMPORTING
E_UPDATE = "

TABLES
* T_TDID = "
* T_ACCDN = "

EXCEPTIONS
NO_TEXTS_FOUND = 1 INCORRECT_OBJECT = 2
.



IMPORTING Parameters details for FI_TEXTS_DOCUMENT

I_AKTYP - Transaction type

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

I_CLEAR_XUPD -

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

I_BELNR - Number of the financial accounting

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

I_BLART -

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

I_BUKRS - Company code

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

I_CHECK - X - only test, whether texts are a

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

I_DYNCL - Screen class

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

I_GJAHR - Fiscal year

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

I_OBJECT - Text object

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

I_GIVE_BACK_IDS -

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

EXPORTING Parameters details for FI_TEXTS_DOCUMENT

E_UPDATE -

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

TABLES Parameters details for FI_TEXTS_DOCUMENT

T_TDID -

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

T_ACCDN -

Data type: ACCDN
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_TEXTS_FOUND - No texts found (only for I_CHECK = 'x')

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

INCORRECT_OBJECT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_TEXTS_DOCUMENT 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_tdid  TYPE STANDARD TABLE OF TTXID, "   
lv_i_aktyp  TYPE T020-AKTYP, "   SPACE
lv_e_update  TYPE RTEXT-UPDKZ, "   
lv_no_texts_found  TYPE RTEXT, "   
lv_i_clear_xupd  TYPE BOOLE-BOOLE, "   SPACE
lv_i_belnr  TYPE BKPF-BELNR, "   
lt_t_accdn  TYPE STANDARD TABLE OF ACCDN, "   
lv_incorrect_object  TYPE ACCDN, "   
lv_i_blart  TYPE BKPF-BLART, "   SPACE
lv_i_bukrs  TYPE T001-BUKRS, "   SPACE
lv_i_check  TYPE RF02L-XNEUA, "   SPACE
lv_i_dyncl  TYPE T020-DYNCL, "   SPACE
lv_i_gjahr  TYPE BKPF-GJAHR, "   
lv_i_object  TYPE TTXOB-TDOBJECT, "   
lv_i_give_back_ids  TYPE BOOLE-BOOLE. "   

  CALL FUNCTION 'FI_TEXTS_DOCUMENT'  "
    EXPORTING
         I_AKTYP = lv_i_aktyp
         I_CLEAR_XUPD = lv_i_clear_xupd
         I_BELNR = lv_i_belnr
         I_BLART = lv_i_blart
         I_BUKRS = lv_i_bukrs
         I_CHECK = lv_i_check
         I_DYNCL = lv_i_dyncl
         I_GJAHR = lv_i_gjahr
         I_OBJECT = lv_i_object
         I_GIVE_BACK_IDS = lv_i_give_back_ids
    IMPORTING
         E_UPDATE = lv_e_update
    TABLES
         T_TDID = lt_t_tdid
         T_ACCDN = lt_t_accdn
    EXCEPTIONS
        NO_TEXTS_FOUND = 1
        INCORRECT_OBJECT = 2
. " FI_TEXTS_DOCUMENT




ABAP code using 7.40 inline data declarations to call FM FI_TEXTS_DOCUMENT

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 AKTYP FROM T020 INTO @DATA(ld_i_aktyp).
DATA(ld_i_aktyp) = ' '.
 
"SELECT single UPDKZ FROM RTEXT INTO @DATA(ld_e_update).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_clear_xupd).
DATA(ld_i_clear_xupd) = ' '.
 
"SELECT single BELNR FROM BKPF INTO @DATA(ld_i_belnr).
 
 
 
"SELECT single BLART FROM BKPF INTO @DATA(ld_i_blart).
DATA(ld_i_blart) = ' '.
 
"SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs).
DATA(ld_i_bukrs) = ' '.
 
"SELECT single XNEUA FROM RF02L INTO @DATA(ld_i_check).
DATA(ld_i_check) = ' '.
 
"SELECT single DYNCL FROM T020 INTO @DATA(ld_i_dyncl).
DATA(ld_i_dyncl) = ' '.
 
"SELECT single GJAHR FROM BKPF INTO @DATA(ld_i_gjahr).
 
"SELECT single TDOBJECT FROM TTXOB INTO @DATA(ld_i_object).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_give_back_ids).
 


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!