Menu

SAP Function Module FI_FIND_PAYMENT_CONDITIONS

Determine cash discount using ZTERM and document, posting, CPU, base date

The Function Module FI_FIND_PAYMENT_CONDITIONS (Determine cash discount using ZTERM and document, posting, CPU, base date) is a standard Function Module in SAP ERP and is part of the function group F061 within the package FBAS.

Technical Information

Function Module FI_FIND_PAYMENT_CONDITIONS
Short Text Determine cash discount using ZTERM and document, posting, CPU, base date
Function Group F061
Package FBAS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_BLDAT LIKE BKPF-BLDAT Document date
I_BUDAT LIKE BKPF-BUDAT Posting date
I_BUKRS LIKE BKPF-BUKRS Buchungskreis
I_CPUDT LIKE BKPF-CPUDT SY-DATLO System date
I_FUNCL LIKE T020-FUNCL SPACE Function class from transaction control
I_LIFNR LIKE BSEG-LIFNR Kontonummer des Lieferanten bzw. Kreditors
I_PPA_EX_IND LIKE BSEG-PPA_EX_IND Exklusiv / Inklusiv Flag
I_REINDAT LIKE BKPF-REINDAT Rechnungseingangdatum
I_ZFBDT LIKE BSEG-ZFBDT 0 Base date (optional) default 00000000
I_ZTERM LIKE T052-ZTERM Terms of payment key

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_SKLIN LIKE SKLIN Cash discount
E_T052 LIKE T052 Payment terms work area
E_ZFBDT LIKE BSEG-ZFBDT Calculated base date

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
NO_DATE_ENTERED No import parameters defined
NO_DAY_LIMIT_FOUND Taggrenze nicht gefunden
TERMS_INCORRECT Cash discount line invalid
TERMS_NOT_FOUND Key not found in T052