Ansicht
Dokumentation
ME_DELIVERY_TIME_VARIANCE - NOTRANSL: Ermitteln der Lieferzeitabweichung beim Wareneingang
ABAP Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
This function module calculates the variance between the GR date and the statistical delivery date from
the purchasing document. The statistical delivery date can be specified in the PO as a day, a week, or a month. This results in the following logic for determining the delivery date variance:
a) Day: The variance reflects the difference between the GR
date and the statistical delivery date.
b) Week: The variance reflects the difference between the GR
date and the date of the first day of the week in which
the statistical delivery date falls if the GR date lies
before this first day.
The variance reflects the difference between the GR
date and the date of the last day of the week in which
the statistical delivery date falls if the GR date lies
after the last day of this week.
If the GR date lies within the specified week, the
variance is zero.
c) Month: The logic corresponds to case b) except that the first
or last day of the relevant month is taken for
comparison purposes.
Example
Notes
Further information
Parameters
GR_DATEML_CALENDAR
PERIOD_ID
PO_DATE
VARIANCE
Exceptions
NO_ACTIVITYFunction Group
EINSCL_GUI_FRONTEND_SERVICES - Frontend Services BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 1681 Date: 20240523 Time: 070301 sap01-206 ( 26 ms )