SAP LXE_PP_DISPLAY_TREE Function Module for Tree Display









LXE_PP_DISPLAY_TREE is a standard lxe pp display tree SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Tree Display 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 pp display tree FM, simply by entering the name LXE_PP_DISPLAY_TREE into the relevant SAP transaction such as SE37 or SE38.

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



Function LXE_PP_DISPLAY_TREE 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_PP_DISPLAY_TREE'"Tree Display
EXPORTING
T_LANG = "ISO Language ID
S_LANG = "ISO Language ID
DOMANAM = "Domain Name
S_TEXT = "Translation Unit for Short Text (Line)
* T_TEXT = '' "Translation Unit for Short Text (Line)
* UNITMLT = '255' "Maximum Length of Translation Unit
* WINDOW = 'X' "Single-Character Flag
* SHOW_ONLY = 'X' "Single-Character Flag
* EXCLUDE_DELETED = 'X' "Single-Character Flag

IMPORTING
E_COMMAND = "Not More Closely Defined Area, Possibly Used for Patchlevels
E_SEL_DOMANAM = "Domain Name
E_SEL_TEXT = "Translation Unit for Short Text (Line)
E_SEL_A_TEXT = "Translation Unit for Short Text (Line)
E_QSTATUS = "Default Status

EXCEPTIONS
INTERNAL_ERROR = 1
.



IMPORTING Parameters details for LXE_PP_DISPLAY_TREE

T_LANG - ISO Language ID

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

S_LANG - ISO Language ID

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

DOMANAM - Domain Name

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

S_TEXT - Translation Unit for Short Text (Line)

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

T_TEXT - Translation Unit for Short Text (Line)

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

UNITMLT - Maximum Length of Translation Unit

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

WINDOW - Single-Character Flag

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

SHOW_ONLY - Single-Character Flag

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

EXCLUDE_DELETED - Single-Character Flag

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

EXPORTING Parameters details for LXE_PP_DISPLAY_TREE

E_COMMAND - Not More Closely Defined Area, Possibly Used for Patchlevels

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

E_SEL_DOMANAM - Domain Name

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

E_SEL_TEXT - Translation Unit for Short Text (Line)

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

E_SEL_A_TEXT - Translation Unit for Short Text (Line)

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

E_QSTATUS - Default Status

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

EXCEPTIONS details

INTERNAL_ERROR -

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

Copy and paste ABAP code example for LXE_PP_DISPLAY_TREE 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_t_lang  TYPE LXEISOLANG, "   
lv_e_command  TYPE CHAR4, "   
lv_internal_error  TYPE CHAR4, "   
lv_s_lang  TYPE LXEISOLANG, "   
lv_e_sel_domanam  TYPE LXEDOMANAM, "   
lv_domanam  TYPE LXEDOMANAM, "   
lv_e_sel_text  TYPE LXEUNITLIN, "   
lv_s_text  TYPE LXEUNITLIN, "   
lv_e_sel_a_text  TYPE LXEUNITLIN, "   
lv_t_text  TYPE LXEUNITLIN, "   ''
lv_e_qstatus  TYPE LXEPP_STAT, "   
lv_unitmlt  TYPE LXEUNITMLT, "   '255'
lv_window  TYPE CHAR1, "   'X'
lv_show_only  TYPE CHAR1, "   'X'
lv_exclude_deleted  TYPE CHAR1. "   'X'

  CALL FUNCTION 'LXE_PP_DISPLAY_TREE'  "Tree Display
    EXPORTING
         T_LANG = lv_t_lang
         S_LANG = lv_s_lang
         DOMANAM = lv_domanam
         S_TEXT = lv_s_text
         T_TEXT = lv_t_text
         UNITMLT = lv_unitmlt
         WINDOW = lv_window
         SHOW_ONLY = lv_show_only
         EXCLUDE_DELETED = lv_exclude_deleted
    IMPORTING
         E_COMMAND = lv_e_command
         E_SEL_DOMANAM = lv_e_sel_domanam
         E_SEL_TEXT = lv_e_sel_text
         E_SEL_A_TEXT = lv_e_sel_a_text
         E_QSTATUS = lv_e_qstatus
    EXCEPTIONS
        INTERNAL_ERROR = 1
. " LXE_PP_DISPLAY_TREE




ABAP code using 7.40 inline data declarations to call FM LXE_PP_DISPLAY_TREE

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_t_text) = ''.
 
 
DATA(ld_unitmlt) = '255'.
 
DATA(ld_window) = 'X'.
 
DATA(ld_show_only) = 'X'.
 
DATA(ld_exclude_deleted) = '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!