/FRE/DB_TS_CALENDAR_FUNCTIONS - module concerning calendar funtionalities

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Functionality

The following tables give a complete overview of the possible function combinations and show which parameters you have to transfer.

Starting from an imported date (i_date is filled), you can control single functions or combined functions using the following parameters:

1. Function2. FunctionImported parameter
offset with calendar days  i_target_period = 'D', i_day_type = '1', i_offset_periods
offset with weekdays  i_target_period = 'D', i_day_type = '2', i_offset_periods, i_factory_calendar
offset with working days  i_target_period = 'D', i_day_type = '3', i_offset_periods, i_factory_calendar
i_date no weekday, then search for next weekday i_target_period = 'D', i_day_type = '2', i_prev_next = '+', i_factory_calendar
i_date no working day, then search for next working dayi_target_period = 'D', i_day_type = '3', i_prev_next = '+', i_factory_calendar
determine the week  i_target_period = 'W'
determine the week+ offset weeks i_target_period = 'W', i_offset_periods
determine the month  i_target_period = 'M'
determine the month+ offset months i_target_period = 'M', i_offset_periods

Starting from an imported week (i_week is filled), you can control single functions or combined functions using the following parameters:

1. Function2. FunctionImported parameter
determine first day (Monday) i_target_period = 'D', i_day_type = '1'
determine first day (Monday)+ offset calendar daysi_target_period = 'D', i_day_type = '1', i_offset_periods
determine first day (Monday)+ offset weekdaysi_target_period = 'D', i_day_type = '2', i_offset_periods, i_factory_calendar
determine first day (Monday)+ offset working daysi_target_period = 'D', i_day_type = '3', i_offset_periods, i_factory_calendar
determine first day (Monday)+ next weekdayi_target_period = 'D', i_day_type = '2', i_prev_next_day, i_factory_calendar
determine first day (Monday)+ next working dayi_target_period = 'D', i_day_type = '3', i_prev_next_day, i_factory_calendar
offset with weeks  i_target_period = 'W', i_offset_periods
determine first day (Monday) i_target_period = 'M'
determine first day (Monday)+ offset monthi_target_period = 'M', i_offset_periods

Starting from an imported month (i_month is filled), you can control single functions or combined functions using the following parameters:

1. Function2. FunctionImported parameter
determine first date  i_target_period = 'D', i_day_type = '1'
determine first date+ offset calendar days i_target_period = 'D', i_day_type = '1', i_offset_periods
determine first date+ offset weekdays i_target_period = 'D', i_day_type = '2', i_offset_periods, i_factory_calendar
determine first date+ offset working days i_target_period = 'D', i_day_type = '3', i_offset_periods, i_factory_calendar
determine first date+ next weekday i_target_period = 'D', i_day_type = '2', i_prev_next_day, i_factory_calendar
determine first date+ next working day i_target_period = 'D', i_day_type = '3', i_prev_next_day, i_factory_calendar
determine start week of the month i_target_period = 'W'
determine start week of the month+ offset weeksi_target_period = 'W', i_offset_periods
offset with months  i_target_period = 'M', i_offset_periods

Example

Notes

The system does not support parameter combinations that are not listed here.

Further information


Parameters

E_DATE
E_MONTH
E_WEEK
I_DATE
I_DAY_TYPE
I_MONTH
I_OFFSET_PERIODS
I_PLANNING_CALENDAR
I_PREV_NEXT_DAY
I_TARGET_PERIODICITY
I_TZONE
I_WEEK

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

CPI1466 during Backup   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.


Length: 8041 Date: 20120524 Time: 122534     triton ( 158 ms )