Menu

SAP Function Module CALENDAR_VISUAL_PRESENTATION

visual calendar display (like calendar page)

The Function Module CALENDAR_VISUAL_PRESENTATION (visual calendar display (like calendar page)) is a standard Function Module in SAP ERP and is part of the function group SCA2 within the package SZC.

Technical Information

Function Module CALENDAR_VISUAL_PRESENTATION
Short Text visual calendar display (like calendar page)
Function Group SCA2
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
ACTUAL_DATE LIKE SCA2-DATUM SY-DATUM Current date
COLOR_OF_FREEDAYS LIKE CALCOLOR '6X ' Color of non-working days
DISPLAY_MODE LIKE SCA2-MODE SPACE Display mode - Fullscreen (' ') or Popup ('X')
FACTORY_CALENDAR LIKE SCA2-FACID SPACE Factory calendar ID
HOLIDAY_CALENDAR LIKE SCA2-HOCID SPACE Public holiday calendar ID
HOTSPOT_FOR_DAY LIKE SCA2-FLAG SPACE Output days as HOTSPOT flag
HOTSPOT_FOR_MONTH LIKE SCA2-FLAG SPACE Output month names as HOTSPOT flag
HOTSPOT_FOR_WEEK LIKE SCA2-FLAG SPACE Output weeks as HOTSPOT flag
LAYOUT_MODE LIKE SCA2-LAYOUT '1' Monthly overview display mode
NUMBER_OF_MONTHS LIKE SCA2-NBR_MONAT 1 Number of months to display
PROCESS_FUNCTION LIKE SCA2-FUNCTION SPACE Edit application data FM name
SET_STATUS_FUNCTION LIKE SCA2-FUNCTION SPACE Set application status FM name
WRITE_FUNCTION LIKE SCA2-FUNCTION SPACE Write application data FM

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE LIKE SY-XCODE Calendar visualization OK 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
ATTRLIST LIKE IATTRLIST Output attribute table

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
DATE_INVALID current date is not plausible
DATE_WRONG_FORMAT current date has invalid format
DISPLAY_MODE_INVALID Invalid display mode
FACTORY_CALENDAR_NOT_FOUND Factory calendar is not in buffer
FUNCTION_NOT_FOUND at least one application FM does not exist
HOLIDAY_CALENDAR_NOT_FOUND Holiday calendar is not in buffer
NUMBER_OF_MONTH_NOT_FOUND Number of months to be displayed is invalid