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

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

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

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.


Length: 1040 Date: 20120524 Time: 122606     triton ( 81 ms )