Ansicht
Dokumentation

/FRE/DB_TS_CHECK_WEEKD_WORKD - checks if date is a weekday resp. a workday

/FRE/DB_TS_CHECK_WEEKD_WORKD - checks if date is a weekday resp. a workday

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module checks whether the imported date is a weekday or a working day.

  • Weekdays are all of those days that are identified as such in the factory calendar (Mon, Tue, Wed, Thu, Fri).
  • Working days are all of the weekdays apart from public holidays. Week days that are also public holidays do not count as working days.

Public holidays are taken from the public holiday calendar that is assigned to the factory calendar.

Example

May 1 may be a weekday, but it is not necessarily a working day (for example, in Germany).

Notes

Further information





Parameters

E_WEEKDAY_INDICATOR
E_WORKDAY_INDICATOR
I_DATE
I_PLANNING_CAL
I_TZONE

Exceptions

/FRE/CX_DB
/FRE/CX_DB_CALENDAR_NOT_FOUND
/FRE/CX_DB_TS_CALL_MODULE
/FRE/CX_DB_TS_WRONG_PARAM
CX_STATIC_CHECK

Function Group

/SAPLDB_TS

BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1116 Date: 20240523 Time: 055152     sap01-206 ( 28 ms )