SAP KEAT_SHORT_TEXT_SINGLE Function Module for









KEAT_SHORT_TEXT_SINGLE is a standard keat short text single 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 keat short text single FM, simply by entering the name KEAT_SHORT_TEXT_SINGLE into the relevant SAP transaction such as SE37 or SE38.

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



Function KEAT_SHORT_TEXT_SINGLE 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 'KEAT_SHORT_TEXT_SINGLE'"
EXPORTING
APPLCLASS = "
* TABLE = ' ' "
* BUFFER = 'X' "
CHARACTERISTIC = "
CRITERIA = "
* DATE = '00000000' "
* DATE_TO = '00000000' "
I_RKB1X = "
* LANGUAGE_KEY = SY-LANGU "
* MODE = '*' "

IMPORTING
CHARACTERISTIC_TEXT = "
CHARACTERISTIC_TEXT_L = "
DOCU_FLAG = "
TEXT_FLAG = "

EXCEPTIONS
CRITERIA_NOT_FOUND = 1 KEY_NOT_FOUND = 2 TABLE_NOT_FOUND = 3 TKEBF_ENTRY_NOT_FOUND = 4
.



IMPORTING Parameters details for KEAT_SHORT_TEXT_SINGLE

APPLCLASS -

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

TABLE -

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

BUFFER -

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

CHARACTERISTIC -

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

CRITERIA -

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

DATE -

Data type: RKB1T-DATE
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

DATE_TO -

Data type: RKB1T-DATE_TO
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RKB1X -

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

LANGUAGE_KEY -

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

MODE -

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

EXPORTING Parameters details for KEAT_SHORT_TEXT_SINGLE

CHARACTERISTIC_TEXT -

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

CHARACTERISTIC_TEXT_L -

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

DOCU_FLAG -

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

TEXT_FLAG -

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

EXCEPTIONS details

CRITERIA_NOT_FOUND -

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

KEY_NOT_FOUND -

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

TABLE_NOT_FOUND -

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

TKEBF_ENTRY_NOT_FOUND -

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

Copy and paste ABAP code example for KEAT_SHORT_TEXT_SINGLE 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_applclass  TYPE RKB1D-APPLCLASS, "   
lv_criteria_not_found  TYPE RKB1D, "   
lv_characteristic_text  TYPE RKB1D, "   
lv_table  TYPE RKB1D, "   SPACE
lv_buffer  TYPE RKB1D, "   'X'
lv_key_not_found  TYPE RKB1D, "   
lv_characteristic_text_l  TYPE RKB1D, "   
lv_docu_flag  TYPE RKB1T-TFLAG, "   
lv_characteristic  TYPE RKB1T-CHARACTER, "   
lv_table_not_found  TYPE RKB1T, "   
lv_criteria  TYPE RKB1T, "   
lv_text_flag  TYPE RKB1T-TFLAG, "   
lv_tkebf_entry_not_found  TYPE RKB1T, "   
lv_date  TYPE RKB1T-DATE, "   '00000000'
lv_date_to  TYPE RKB1T-DATE_TO, "   '00000000'
lv_i_rkb1x  TYPE RKB1X, "   
lv_language_key  TYPE SY-LANGU, "   SY-LANGU
lv_mode  TYPE SY. "   '*'

  CALL FUNCTION 'KEAT_SHORT_TEXT_SINGLE'  "
    EXPORTING
         APPLCLASS = lv_applclass
         TABLE = lv_table
         BUFFER = lv_buffer
         CHARACTERISTIC = lv_characteristic
         CRITERIA = lv_criteria
         DATE = lv_date
         DATE_TO = lv_date_to
         I_RKB1X = lv_i_rkb1x
         LANGUAGE_KEY = lv_language_key
         MODE = lv_mode
    IMPORTING
         CHARACTERISTIC_TEXT = lv_characteristic_text
         CHARACTERISTIC_TEXT_L = lv_characteristic_text_l
         DOCU_FLAG = lv_docu_flag
         TEXT_FLAG = lv_text_flag
    EXCEPTIONS
        CRITERIA_NOT_FOUND = 1
        KEY_NOT_FOUND = 2
        TABLE_NOT_FOUND = 3
        TKEBF_ENTRY_NOT_FOUND = 4
. " KEAT_SHORT_TEXT_SINGLE




ABAP code using 7.40 inline data declarations to call FM KEAT_SHORT_TEXT_SINGLE

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 APPLCLASS FROM RKB1D INTO @DATA(ld_applclass).
 
 
 
DATA(ld_table) = ' '.
 
DATA(ld_buffer) = 'X'.
 
 
 
"SELECT single TFLAG FROM RKB1T INTO @DATA(ld_docu_flag).
 
"SELECT single CHARACTER FROM RKB1T INTO @DATA(ld_characteristic).
 
 
 
"SELECT single TFLAG FROM RKB1T INTO @DATA(ld_text_flag).
 
 
"SELECT single DATE FROM RKB1T INTO @DATA(ld_date).
DATA(ld_date) = '00000000'.
 
"SELECT single DATE_TO FROM RKB1T INTO @DATA(ld_date_to).
DATA(ld_date_to) = '00000000'.
 
 
"SELECT single LANGU FROM SY INTO @DATA(ld_language_key).
DATA(ld_language_key) = SY-LANGU.
 
DATA(ld_mode) = '*'.
 


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!