SAP LXE_PP_FILE_EXPORT Function Module for Export Proposal pool
LXE_PP_FILE_EXPORT is a standard lxe pp file export SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Export Proposal pool 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 file export FM, simply by entering the name LXE_PP_FILE_EXPORT into the relevant SAP transaction such as SE37 or SE38.
Function Group: LXE_PP1_TRP
Program Name: SAPLLXE_PP1_TRP
Main Program: SAPLLXE_PP1_TRP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LXE_PP_FILE_EXPORT 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_FILE_EXPORT'"Export Proposal pool.
EXPORTING
S_LANG = "ISO Language ID
* FL_PPX = 'X' "Single-Character Flag
* F_NAME = "Creation user
* F_DATE1 = "Create date (from)
* F_DATE2 = "Create date (to)
* L_NAME = "Change user
* L_DATE1 = "Change date (from)
* L_DATE2 = "Change date (to)
* OLD_LANG_KEY = "Old keys
T_LANG = "ISO Language ID
FILEPATH = "Unix File Output Path
* DOMATYP = '*' "Domain Type
* DOMANAM = '*' "Domain Name
* MIN_STAT = '01' "Default Status
* MAX_STAT = '99' "
* FL_PP = 'X' "Single-Character Flag
* FL_PPA = 'X' "Single-Character Flag
IMPORTING
PP_TOTAL = "
PP_EXPORTED = "
PPA_TOTAL = "
PPA_EXPORTED = "
PPX_TOTAL = "
PPX_EXPORTED = "
EXCEPTIONS
INVALID_LANGUAGE = 1 FILE_OPEN_ERROR = 2 CONVERSION_ERROR = 3
IMPORTING Parameters details for LXE_PP_FILE_EXPORT
S_LANG - ISO Language ID
Data type: LXEISOLANGOptional: No
Call by Reference: Yes
FL_PPX - Single-Character Flag
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
F_NAME - Creation user
Data type: UNAMEOptional: Yes
Call by Reference: Yes
F_DATE1 - Create date (from)
Data type: DATUMOptional: Yes
Call by Reference: Yes
F_DATE2 - Create date (to)
Data type: DATUMOptional: Yes
Call by Reference: Yes
L_NAME - Change user
Data type: UNAMEOptional: Yes
Call by Reference: Yes
L_DATE1 - Change date (from)
Data type: DATUMOptional: Yes
Call by Reference: Yes
L_DATE2 - Change date (to)
Data type: DATUMOptional: Yes
Call by Reference: Yes
OLD_LANG_KEY - Old keys
Data type: CHAR1Optional: Yes
Call by Reference: Yes
T_LANG - ISO Language ID
Data type: LXEISOLANGOptional: No
Call by Reference: Yes
FILEPATH - Unix File Output Path
Data type: STRINGOptional: No
Call by Reference: Yes
DOMATYP - Domain Type
Data type: LXEDOMATYPDefault: '*'
Optional: Yes
Call by Reference: Yes
DOMANAM - Domain Name
Data type: LXEDOMANAMDefault: '*'
Optional: Yes
Call by Reference: Yes
MIN_STAT - Default Status
Data type: LXEPP_STATDefault: '01'
Optional: Yes
Call by Reference: Yes
MAX_STAT -
Data type: LXEPP_STATDefault: '99'
Optional: Yes
Call by Reference: Yes
FL_PP - Single-Character Flag
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
FL_PPA - Single-Character Flag
Data type: CHAR1Default: 'X'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for LXE_PP_FILE_EXPORT
PP_TOTAL -
Data type: IOptional: No
Call by Reference: Yes
PP_EXPORTED -
Data type: IOptional: No
Call by Reference: Yes
PPA_TOTAL -
Data type: IOptional: No
Call by Reference: Yes
PPA_EXPORTED -
Data type: IOptional: No
Call by Reference: Yes
PPX_TOTAL -
Data type: IOptional: No
Call by Reference: Yes
PPX_EXPORTED -
Data type: IOptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_LANGUAGE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FILE_OPEN_ERROR -
Data type:Optional: No
Call by Reference: Yes
CONVERSION_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LXE_PP_FILE_EXPORT 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_s_lang | TYPE LXEISOLANG, " | |||
| lv_pp_total | TYPE I, " | |||
| lv_invalid_language | TYPE I, " | |||
| lv_fl_ppx | TYPE CHAR1, " 'X' | |||
| lv_f_name | TYPE UNAME, " | |||
| lv_f_date1 | TYPE DATUM, " | |||
| lv_f_date2 | TYPE DATUM, " | |||
| lv_l_name | TYPE UNAME, " | |||
| lv_l_date1 | TYPE DATUM, " | |||
| lv_l_date2 | TYPE DATUM, " | |||
| lv_old_lang_key | TYPE CHAR1, " | |||
| lv_t_lang | TYPE LXEISOLANG, " | |||
| lv_pp_exported | TYPE I, " | |||
| lv_file_open_error | TYPE I, " | |||
| lv_filepath | TYPE STRING, " | |||
| lv_ppa_total | TYPE I, " | |||
| lv_conversion_error | TYPE I, " | |||
| lv_domatyp | TYPE LXEDOMATYP, " '*' | |||
| lv_ppa_exported | TYPE I, " | |||
| lv_domanam | TYPE LXEDOMANAM, " '*' | |||
| lv_ppx_total | TYPE I, " | |||
| lv_min_stat | TYPE LXEPP_STAT, " '01' | |||
| lv_ppx_exported | TYPE I, " | |||
| lv_max_stat | TYPE LXEPP_STAT, " '99' | |||
| lv_fl_pp | TYPE CHAR1, " 'X' | |||
| lv_fl_ppa | TYPE CHAR1. " 'X' |
|   CALL FUNCTION 'LXE_PP_FILE_EXPORT' "Export Proposal pool |
| EXPORTING | ||
| S_LANG | = lv_s_lang | |
| FL_PPX | = lv_fl_ppx | |
| F_NAME | = lv_f_name | |
| F_DATE1 | = lv_f_date1 | |
| F_DATE2 | = lv_f_date2 | |
| L_NAME | = lv_l_name | |
| L_DATE1 | = lv_l_date1 | |
| L_DATE2 | = lv_l_date2 | |
| OLD_LANG_KEY | = lv_old_lang_key | |
| T_LANG | = lv_t_lang | |
| FILEPATH | = lv_filepath | |
| DOMATYP | = lv_domatyp | |
| DOMANAM | = lv_domanam | |
| MIN_STAT | = lv_min_stat | |
| MAX_STAT | = lv_max_stat | |
| FL_PP | = lv_fl_pp | |
| FL_PPA | = lv_fl_ppa | |
| IMPORTING | ||
| PP_TOTAL | = lv_pp_total | |
| PP_EXPORTED | = lv_pp_exported | |
| PPA_TOTAL | = lv_ppa_total | |
| PPA_EXPORTED | = lv_ppa_exported | |
| PPX_TOTAL | = lv_ppx_total | |
| PPX_EXPORTED | = lv_ppx_exported | |
| EXCEPTIONS | ||
| INVALID_LANGUAGE = 1 | ||
| FILE_OPEN_ERROR = 2 | ||
| CONVERSION_ERROR = 3 | ||
| . " LXE_PP_FILE_EXPORT | ||
ABAP code using 7.40 inline data declarations to call FM LXE_PP_FILE_EXPORT
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_fl_ppx) | = 'X'. | |||
| DATA(ld_domatyp) | = '*'. | |||
| DATA(ld_domanam) | = '*'. | |||
| DATA(ld_min_stat) | = '01'. | |||
| DATA(ld_max_stat) | = '99'. | |||
| DATA(ld_fl_pp) | = 'X'. | |||
| DATA(ld_fl_ppa) | = 'X'. | |||
Search for further information about these or an SAP related objects