Menu

SAP Function Module WEEKDAY_GET

Calendar: Get day of the week

The Function Module WEEKDAY_GET (Calendar: Get day of the week) is a standard Function Module in SAP ERP and is part of the function group SCA6 within the package SZC.

Technical Information

Function Module WEEKDAY_GET
Short Text Calendar: Get day of the week
Function Group SCA6
Package SZC
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
LANGUAGE LIKE SY-LANGU SY-LANGU Language

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE LIKE SY-SUBRC Return Code

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
WEEKDAY LIKE T246 Week number

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
WEEKDAY_NOT_FOUND