SAP FI_TEXTS_CREDM Function Module for









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

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



Function FI_TEXTS_CREDM 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_CREDM'"
EXPORTING
* I_AKTYP = ' ' "
* I_CHECK = ' ' "X - only test, whether texts are a
I_KKBER = "
I_KUNNR = "
I_OBJECT = "Text object

IMPORTING
E_UPDATE = "Indicator: change successful?

EXCEPTIONS
NO_TEXTS_FOUND = 1 INCORRECT_OBJECT = 2
.



IMPORTING Parameters details for FI_TEXTS_CREDM

I_AKTYP -

Data type: T020-AKTYP
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_KKBER -

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

I_KUNNR -

Data type: KNA1-KUNNR
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)

EXPORTING Parameters details for FI_TEXTS_CREDM

E_UPDATE - Indicator: change successful?

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

EXCEPTIONS details

NO_TEXTS_FOUND - No texts are available (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_CREDM 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_aktyp  TYPE T020-AKTYP, "   SPACE
lv_e_update  TYPE RTEXT-UPDKZ, "   
lv_no_texts_found  TYPE RTEXT, "   
lv_i_check  TYPE RF02L-XNEUA, "   SPACE
lv_incorrect_object  TYPE RF02L, "   
lv_i_kkber  TYPE KNKK-KKBER, "   
lv_i_kunnr  TYPE KNA1-KUNNR, "   
lv_i_object  TYPE TTXOB-TDOBJECT. "   

  CALL FUNCTION 'FI_TEXTS_CREDM'  "
    EXPORTING
         I_AKTYP = lv_i_aktyp
         I_CHECK = lv_i_check
         I_KKBER = lv_i_kkber
         I_KUNNR = lv_i_kunnr
         I_OBJECT = lv_i_object
    IMPORTING
         E_UPDATE = lv_e_update
    EXCEPTIONS
        NO_TEXTS_FOUND = 1
        INCORRECT_OBJECT = 2
. " FI_TEXTS_CREDM




ABAP code using 7.40 inline data declarations to call FM FI_TEXTS_CREDM

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 XNEUA FROM RF02L INTO @DATA(ld_i_check).
DATA(ld_i_check) = ' '.
 
 
"SELECT single KKBER FROM KNKK INTO @DATA(ld_i_kkber).
 
"SELECT single KUNNR FROM KNA1 INTO @DATA(ld_i_kunnr).
 
"SELECT single TDOBJECT FROM TTXOB INTO @DATA(ld_i_object).
 


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!