What is the factory calendar? The factory calendar is an adaptation that determines the working days of the workplace and the days on vacation determined regionally, you can see this adaptation by entering the SCAL t-code.
If we give examples from Turkey’s religious feast, let us assume that the work of the establishments on public holidays, they ask you to take them out of the calculation date,
Example: The date you have is April 22, 2020 and you added 3 days, it was April 23 and the weekend, because it is a holiday, the function will return you the date of Monday, April 27, 2020.
cl_reca_date=>calculate_business_date( EXPORTING id_date_source = sy-datum id_business_days = CONV int4( 7 ) id_factory_calendar = 'TR' id_direction = '+' id_calc_context = 'CDCF' IMPORTING ed_date_target = gs_popup_alv-atott ) .
Result: