SAP LXE_OBJ_DEMO_CREATE_TOP_TEXT Function Module for Object









LXE_OBJ_DEMO_CREATE_TOP_TEXT is a standard lxe obj demo create top text SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Object 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 lxe obj demo create top text FM, simply by entering the name LXE_OBJ_DEMO_CREATE_TOP_TEXT into the relevant SAP transaction such as SE37 or SE38.

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



Function LXE_OBJ_DEMO_CREATE_TOP_TEXT 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 'LXE_OBJ_DEMO_CREATE_TOP_TEXT'"Object
EXPORTING
OBJNAME = "Name of Translation Object
* DIALOG = 'X' "Single-Character Flag
* MAX_LINE = '49' "Predefined Type
* NEW_FLAG = 'X' "Single-Character Flag
* MOD_FLAG = 'X' "Single-Character Flag
* TRA_FLAG = 'X' "Single-Character Flag
* NO_NORM = '' "Single-Character Flag
* SLEX_FLAG = '' "Single-Character Flag
* DESCRIPT = '' "Translation Unit for Short Text (Line)
S_LANG = "Translation Language
T_LANG = "Translation Language
* MIN_STATUS = '00' "Numeric Quality Status
* MAX_STATUS = '99' "Numeric Quality Status
* MIN_FREQ = '10' "Predefined Type
* NO_APPL = 'X' "Single-Character Flag
* NO_OBJT = 'X' "Single-Character Flag

TABLES
IN_COLOB = "Object Lists
* EX_COLOB = "Object Lists
.



IMPORTING Parameters details for LXE_OBJ_DEMO_CREATE_TOP_TEXT

OBJNAME - Name of Translation Object

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

DIALOG - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

MAX_LINE - Predefined Type

Data type: I
Default: '49'
Optional: Yes
Call by Reference: Yes

NEW_FLAG - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

MOD_FLAG - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

TRA_FLAG - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

NO_NORM - Single-Character Flag

Data type: CHAR1
Default: ''
Optional: Yes
Call by Reference: Yes

SLEX_FLAG - Single-Character Flag

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

DESCRIPT - Translation Unit for Short Text (Line)

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

S_LANG - Translation Language

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

T_LANG - Translation Language

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

MIN_STATUS - Numeric Quality Status

Data type: LXEPP_STAT
Default: '00'
Optional: Yes
Call by Reference: Yes

MAX_STATUS - Numeric Quality Status

Data type: LXEPP_STAT
Default: '99'
Optional: Yes
Call by Reference: Yes

MIN_FREQ - Predefined Type

Data type: I
Default: '10'
Optional: Yes
Call by Reference: Yes

NO_APPL - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

NO_OBJT - Single-Character Flag

Data type: CHAR1
Default: 'X'
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for LXE_OBJ_DEMO_CREATE_TOP_TEXT

IN_COLOB - Object Lists

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

EX_COLOB - Object Lists

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

Copy and paste ABAP code example for LXE_OBJ_DEMO_CREATE_TOP_TEXT 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_objname  TYPE LXEOBJNAME, "   
lt_in_colob  TYPE STANDARD TABLE OF LXE_COLOB, "   
lv_dialog  TYPE CHAR1, "   'X'
lv_max_line  TYPE I, "   '49'
lv_new_flag  TYPE CHAR1, "   'X'
lv_mod_flag  TYPE CHAR1, "   'X'
lv_tra_flag  TYPE CHAR1, "   'X'
lv_no_norm  TYPE CHAR1, "   ''
lv_slex_flag  TYPE CHAR1, "   ''
lv_descript  TYPE LXEUNITLIN, "   ''
lt_ex_colob  TYPE STANDARD TABLE OF LXE_COLOB, "   
lv_s_lang  TYPE LXEISOLANG, "   
lv_t_lang  TYPE LXEISOLANG, "   
lv_min_status  TYPE LXEPP_STAT, "   '00'
lv_max_status  TYPE LXEPP_STAT, "   '99'
lv_min_freq  TYPE I, "   '10'
lv_no_appl  TYPE CHAR1, "   'X'
lv_no_objt  TYPE CHAR1. "   'X'

  CALL FUNCTION 'LXE_OBJ_DEMO_CREATE_TOP_TEXT'  "Object
    EXPORTING
         OBJNAME = lv_objname
         DIALOG = lv_dialog
         MAX_LINE = lv_max_line
         NEW_FLAG = lv_new_flag
         MOD_FLAG = lv_mod_flag
         TRA_FLAG = lv_tra_flag
         NO_NORM = lv_no_norm
         SLEX_FLAG = lv_slex_flag
         DESCRIPT = lv_descript
         S_LANG = lv_s_lang
         T_LANG = lv_t_lang
         MIN_STATUS = lv_min_status
         MAX_STATUS = lv_max_status
         MIN_FREQ = lv_min_freq
         NO_APPL = lv_no_appl
         NO_OBJT = lv_no_objt
    TABLES
         IN_COLOB = lt_in_colob
         EX_COLOB = lt_ex_colob
. " LXE_OBJ_DEMO_CREATE_TOP_TEXT




ABAP code using 7.40 inline data declarations to call FM LXE_OBJ_DEMO_CREATE_TOP_TEXT

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_dialog) = 'X'.
 
DATA(ld_max_line) = '49'.
 
DATA(ld_new_flag) = 'X'.
 
DATA(ld_mod_flag) = 'X'.
 
DATA(ld_tra_flag) = 'X'.
 
DATA(ld_no_norm) = ''.
 
DATA(ld_slex_flag) = ''.
 
DATA(ld_descript) = ''.
 
 
 
 
DATA(ld_min_status) = '00'.
 
DATA(ld_max_status) = '99'.
 
DATA(ld_min_freq) = '10'.
 
DATA(ld_no_appl) = 'X'.
 
DATA(ld_no_objt) = 'X'.
 


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!