SAP LXE_PP_FILE_IMPORT Function Module for Import Proposal pool









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

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



Function LXE_PP_FILE_IMPORT 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_IMPORT'"Import Proposal pool
EXPORTING
S_LANG = "ISO Language ID
* DB_MODE = 'I' "'I'=Insert 'U'=Update 'M'=Mass Insert
T_LANG = "ISO Language ID
FILEPATH = "Unix File Output Path
* DOMANAM = '*' "Domain Name
* MIN_STAT = '01' "Default Status
* MAX_STAT = '99' "
* FL_PP = 'X' "Single-Character Flag
* FL_PPA = 'X' "Single-Character Flag
* FL_PPX = 'X' "Single-Character Flag

IMPORTING
ES_RESULT = "

EXCEPTIONS
CX_LXE_PP = 1
.



IMPORTING Parameters details for LXE_PP_FILE_IMPORT

S_LANG - ISO Language ID

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

DB_MODE - 'I'=Insert 'U'=Update 'M'=Mass Insert

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

T_LANG - ISO Language ID

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

FILEPATH - Unix File Output Path

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

DOMANAM - Domain Name

Data type: LXEDOMANAM
Default: '*'
Optional: Yes
Call by Reference: Yes

MIN_STAT - Default Status

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

MAX_STAT -

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

FL_PP - Single-Character Flag

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

FL_PPA - Single-Character Flag

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

FL_PPX - Single-Character Flag

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

EXPORTING Parameters details for LXE_PP_FILE_IMPORT

ES_RESULT -

Data type: IF_LXE_PP_TRANSPORT=>T_RESULT
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CX_LXE_PP - Proposal Pool

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LXE_PP_FILE_IMPORT 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_cx_lxe_pp  TYPE LXEISOLANG, "   
lv_es_result  TYPE IF_LXE_PP_TRANSPORT=>T_RESULT, "   
lv_db_mode  TYPE LXEFLAG, "   'I'
lv_t_lang  TYPE LXEISOLANG, "   
lv_filepath  TYPE STRING, "   
lv_domanam  TYPE LXEDOMANAM, "   '*'
lv_min_stat  TYPE LXEPP_STAT, "   '01'
lv_max_stat  TYPE LXEPP_STAT, "   '99'
lv_fl_pp  TYPE CHAR1, "   'X'
lv_fl_ppa  TYPE CHAR1, "   'X'
lv_fl_ppx  TYPE CHAR1. "   'X'

  CALL FUNCTION 'LXE_PP_FILE_IMPORT'  "Import Proposal pool
    EXPORTING
         S_LANG = lv_s_lang
         DB_MODE = lv_db_mode
         T_LANG = lv_t_lang
         FILEPATH = lv_filepath
         DOMANAM = lv_domanam
         MIN_STAT = lv_min_stat
         MAX_STAT = lv_max_stat
         FL_PP = lv_fl_pp
         FL_PPA = lv_fl_ppa
         FL_PPX = lv_fl_ppx
    IMPORTING
         ES_RESULT = lv_es_result
    EXCEPTIONS
        CX_LXE_PP = 1
. " LXE_PP_FILE_IMPORT




ABAP code using 7.40 inline data declarations to call FM LXE_PP_FILE_IMPORT

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_db_mode) = 'I'.
 
 
 
DATA(ld_domanam) = '*'.
 
DATA(ld_min_stat) = '01'.
 
DATA(ld_max_stat) = '99'.
 
DATA(ld_fl_pp) = 'X'.
 
DATA(ld_fl_ppa) = 'X'.
 
DATA(ld_fl_ppx) = '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!