SAP EXIT_SAPLF0PR_001 Function Module for FM Account Determination









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

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



Function EXIT_SAPLF0PR_001 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 'EXIT_SAPLF0PR_001'"FM Account Determination
EXPORTING
I_GJHID = "
I_BUKFM = "
I_ACIND = "
* I_FIPOS = "
* I_GEBER = "
* I_FISTL = "
* I_PSOTY = ' ' "

IMPORTING
E_SAKNR = "

EXCEPTIONS
ACCOUNT_NOT_FOUND = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
FI_DOCUMENT_PP_READ
FI_DOCUMENT_READ1
FI_FM_ACCOUNT_DETERMINE
FI_FM_ACCOUNT_DETERMINE_HLP
FI_HEADER_UPDATE
FI_PAYMENT_REQUEST_PP_CHECK
FI_POSTING_KEY_DETERMINE
FI_PP_CHANGE_DOC_WRITE
FI_PP_CHECK
FI_PP_DELETE
FI_PP_HEADER_UPDATE
FI_PP_NUMBER
FI_PP_POST
FI_PP_READ
FI_PP_TAX_LINE_CLEAR
FI_PP_TAX_LINE_GENERATE
FI_PP_TOTAL_DET
FI_PP_WF_CHANGED
FI_PP_WRITE
FI_PSO_MASTER_DESCRIPTION
FI_PSO_USER_DETERMINE
FI_PSO_USER_DETERMINE_DISPLAY
FI_PSO_USER_DISPLAY
FI_TAX_ACCOUNT_CHECK
FM_ACCOUNT_DETERMINE_OLD
FM_FI_MM_HEADER_UPDATE
FM_FI_MM_PP_POST
FM_FI_MM_PP_READ
FM_PSO_BALANCE_AMOUNT_CHECK
FM_PSO_GET_ASSET_4RETIREMENT
FM_PSO_IBAN_UPDATE

IMPORTING Parameters details for EXIT_SAPLF0PR_001

I_GJHID -

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

I_BUKFM -

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

I_ACIND -

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

I_FIPOS -

Data type: PAYAC01-FIPEX
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_GEBER -

Data type: PAYAC01-GEBER
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FISTL -

Data type: PAYAC01-FISTL
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PSOTY -

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

EXPORTING Parameters details for EXIT_SAPLF0PR_001

E_SAKNR -

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

EXCEPTIONS details

ACCOUNT_NOT_FOUND -

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

Copy and paste ABAP code example for EXIT_SAPLF0PR_001 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_e_saknr  TYPE PAYAC01-SAKNR, "   
lv_i_gjhid  TYPE PAYAC01-GJHID, "   
lv_account_not_found  TYPE PAYAC01, "   
lv_i_bukfm  TYPE PAYAC01-BUKFM, "   
lv_i_acind  TYPE PAYAC01-ACIND, "   
lv_i_fipos  TYPE PAYAC01-FIPEX, "   
lv_i_geber  TYPE PAYAC01-GEBER, "   
lv_i_fistl  TYPE PAYAC01-FISTL, "   
lv_i_psoty  TYPE PAYAC01-PSOTY. "   SPACE

  CALL FUNCTION 'EXIT_SAPLF0PR_001'  "FM Account Determination
    EXPORTING
         I_GJHID = lv_i_gjhid
         I_BUKFM = lv_i_bukfm
         I_ACIND = lv_i_acind
         I_FIPOS = lv_i_fipos
         I_GEBER = lv_i_geber
         I_FISTL = lv_i_fistl
         I_PSOTY = lv_i_psoty
    IMPORTING
         E_SAKNR = lv_e_saknr
    EXCEPTIONS
        ACCOUNT_NOT_FOUND = 1
. " EXIT_SAPLF0PR_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLF0PR_001

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 SAKNR FROM PAYAC01 INTO @DATA(ld_e_saknr).
 
"SELECT single GJHID FROM PAYAC01 INTO @DATA(ld_i_gjhid).
 
 
"SELECT single BUKFM FROM PAYAC01 INTO @DATA(ld_i_bukfm).
 
"SELECT single ACIND FROM PAYAC01 INTO @DATA(ld_i_acind).
 
"SELECT single FIPEX FROM PAYAC01 INTO @DATA(ld_i_fipos).
 
"SELECT single GEBER FROM PAYAC01 INTO @DATA(ld_i_geber).
 
"SELECT single FISTL FROM PAYAC01 INTO @DATA(ld_i_fistl).
 
"SELECT single PSOTY FROM PAYAC01 INTO @DATA(ld_i_psoty).
DATA(ld_i_psoty) = ' '.
 


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!