SAP Function Module LAST_FACTORYDATE_GET

Calendar function: Return last factory date for a factory calendar

The Function Module LAST_FACTORYDATE_GET (Calendar function: Return last factory date for a factory calendar) is a standard Function Module in SAP ERP and is part of the function group SCAL within the package SZC.

Technical Information

Function Module LAST_FACTORYDATE_GET
Short Text Calendar function: Return last factory date for a factory calendar
Function Group SCAL
Package SZC
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FACTORY_CALENDAR_ID LIKE SCAL-FCALID Factory calendar ID

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DATE LIKE SCAL-DATE Date of factory date
FACTORYDATE LIKE SCAL-FACDATE No. of workdays in specified calendar

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
CALENDAR_BUFFER_NOT_LOADABLE Factory calendar could not be buffered
FACTORY_CALENDAR_ID_MISSING Factory calendar ID was transferred with SPACE
FACTORY_CALENDAR_NOT_FOUND Factory calendar is not in buffer