Ansicht
Dokumentation

GET_BASELINE_DATE - Get baseline date based on payment terms in the customer record

GET_BASELINE_DATE - Get baseline date based on payment terms in the customer record

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This function module determines the baseline date from

the payment terms in the customer master record. The system reads the customer

master record (knb1) to find the payment terms, and selects payment

terms from table T052 to determine how the user has

configured the baseline date. Based on the configuration, the

baseline date is defaulted to the posting date, doc date, entry date.

If the configuration indicates no default, the date defaults to the

system date. If the configuration indicates a fixed day or additional

months, the system calculates the baseline date using these parameters.





Parameters

E_ADD_MONTHS
E_BASEDATE
E_FIXED_DAY
E_PAYTERMS
I_COMPANY
I_CUST
I_DOCDATE
I_JVFUNC
I_POSTDATE
I_VEND

Exceptions

CUST_NOT_FOUND
DATE_INVALID
NO_DEFAULT
NO_PAYMENT_TERMS
VEND_NOT_FOUND

Function Group

GJVV

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1174 Date: 20240523 Time: 090126     sap01-206 ( 21 ms )