Menu

SAP Function Module WEEK_GET_NR_OF_WORKDAYS

alte Version --> 'WLB3_GET_NUMBER_OF_WORKDAYS' verwenden!!!!!!!

The Function Module WEEK_GET_NR_OF_WORKDAYS (alte Version --> 'WLB3_GET_NUMBER_OF_WORKDAYS' verwenden!!!!!!!) is a standard Function Module in SAP ERP and is part of the function group WLB2 within the package WVLB.

Technical Information

Function Module WEEK_GET_NR_OF_WORKDAYS
Short Text alte Version --> 'WLB3_GET_NUMBER_OF_WORKDAYS' verwenden!!!!!!!
Function Group WLB2
Package WVLB
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DAY LIKE SY-DATLO Tag, für den #Arbtage/Wo bestimmt werden
FABKL LIKE T001W-FABKL Fabrikkalender des Werkes nutzen
REST_OF_WEEK LIKE T163K-TAXIK Nur Tage bis Ende der Woche
WEEK LIKE SCAL-WEEK Woche, für die #Arbtage/Wo bestimmt werde

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NR_OF_WORKDAYS LIKE MDCAL-ANZFD #Arbeitstage pro Woche bzw. bis Wochenend

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DAY_INVALID Tag wurde fehlerhaft angegeben
FABKL_EMPTY Leerer Fabrikkalender
FABKL_INVALID falscher Fabrikkalender
WEEK_INVALID Woche wurde fehlerhaft angegeben