FI Function module Used the same way in S/4HANA

FI_TERMS_OF_PAYMENT_PROPOSE Propose Terms of Payment

Calculates and proposes the baseline date, cash discount days and percentages, payment method and installment indicator for a payment terms key based on the document and posting date. It is used in upload programs that fill due date data before creating FI or SD documents and in reports that simulate due dates. Always pass the document and posting date; if the payment terms are not defined the TERMS_NOT_FOUND exception is raised.

Function group
FACS
Remote-enabled (RFC)
No
Type
Function module

Importing parameters

ParameterTypeDescriptionRequired
I_ZTERMT052-ZTERMTerms of payment keyYes
I_BLDATSY-DATLODocument dateYes
I_BUDATSY-DATLOPosting dateYes
I_ZFBDTSY-DATLOBaseline date—

Exporting parameters

ParameterTypeDescription
E_ZFBDTBSEG-ZFBDTProposed baseline date
E_ZBD1TBSEG-ZBD1TCash discount days 1
E_ZBD1PBSEG-ZBD1PCash discount percentage 1
E_ZBD2TBSEG-ZBD2TCash discount days 2
E_ZBD2PBSEG-ZBD2PCash discount percentage 2
E_ZBD3TBSEG-ZBD3TNet payment terms period (days)
E_ZLSCHT052-ZLSCHPayment method
E_ZSCHFT052-ZSCHFPayment block key
E_SPLITT052-XSPLTInstallment payment indicator
E_T052T052Terms of payment definition

Exceptions

  • TERMS_NOT_FOUND — Terms of payment not found

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'FI_TERMS_OF_PAYMENT_PROPOSE'
  EXPORTING
    i_zterm = lv_i_zterm
    i_bldat = lv_i_bldat
    i_budat = lv_i_budat
  IMPORTING
    e_zfbdt = lv_e_zfbdt
    e_zbd1t = lv_e_zbd1t
    e_zbd1p = lv_e_zbd1p
    e_zbd2t = lv_e_zbd2t
    e_zbd2p = lv_e_zbd2p
    e_zbd3t = lv_e_zbd3t
    e_zlsch = lv_e_zlsch
    e_zschf = lv_e_zschf
    e_split = lv_e_split
    e_t052 = lv_e_t052
  EXCEPTIONS
    terms_not_found = 1
    OTHERS = 2.

Related tables

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report