SAP Reports / Programs | Treasury(TR) SAP TR

FTR_TRCUT_CAL_UPLOAD SAP ABAP Report - Calendar Upload







FTR_TRCUT_CAL_UPLOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FTR_TRCUT_CAL_UPLOAD into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

TRCUT_CALUPL - Calendar Upload


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FTR_TRCUT_CAL_UPLOAD. "Basic submit
SUBMIT FTR_TRCUT_CAL_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT FTR_TRCUT_CAL_UPLOAD VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_FILE = File Name
Selection Text: P_GRPN = D .
Selection Text: P_MAXT = D .
Selection Text: P_PARA = With Parallel Processing
Selection Text: P_TEST = Test Run
Selection Text: P_UPLOAD = New Calendar Data
Selection Text: P_WPS = D .
Selection Text: P_WRKDAY = Working Weekends
Title: Calendar Upload
Text Symbol: 001 = Input File
Text Symbol: 002 = Upload Mode
Text Symbol: 003 = Parallel Processing


INCLUDES used within this REPORT FTR_TRCUT_CAL_UPLOAD

INCLUDE FTR_TRCUT_CAL_UPLOAD_TOP.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'SELECTION' EXCEPTIONS OTHERS = 0.

ENQUEUE_ESSCAL CALL FUNCTION 'ENQUEUE_ESSCAL' EXPORTING tcode = 'SCAL' EXCEPTIONS foreign_lock = 1 system_failure = 2.

TEXT_CONVERT_XLS_TO_SAP CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP' EXPORTING i_line_header = gc_xtrue i_tab_raw_data = gt_raw_data i_filename = p_file TABLES i_tab_converted_data = gt_cal_data EXCEPTIONS conversion_failed = 1 OTHERS = 2.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = gv_filename filetype = 'ASC' has_field_separator = 'X' TABLES data_tab = gt_raw_data EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

TEXT_CONVERT_TEX_TO_SAP CALL FUNCTION 'TEXT_CONVERT_TEX_TO_SAP' EXPORTING i_field_seperator = ',' i_line_header = gc_xtrue i_tab_raw_data = gt_raw_data i_filename = p_file TABLES i_tab_converted_data = gt_cal_data EXCEPTIONS conversion_failed = 1 OTHERS = 2.

TB_PROGRESS_INDICATOR CALL FUNCTION 'TB_PROGRESS_INDICATOR' EXPORTING id = 'WORK' EXCEPTIONS OTHERS = 0.

FTR_UTILS_CALUPL_PROCESS CALL FUNCTION 'FTR_UTILS_CALUPL_PROCESS' EXPORTING im_tab_cal_data = gt_cal_data im_upload_flag = p_upload im_test_run = p_test im_log_handle = gv_log_handle im_client_role = gv_client_role IMPORTING ex_tab_log_handle = gt_tab_log_handle.

FTR_UTILS_CALUPL_PROCESS CALL FUNCTION 'FTR_UTILS_CALUPL_PROCESS' STARTING NEW TASK gv_taskname DESTINATION IN GROUP gv_groupname PERFORMING recieve_results ON END OF TASK EXPORTING im_tab_cal_data = gt_cal_data_wp im_upload_flag = p_upload im_test_run = p_test im_log_handle = gv_log_handle im_client_role = gv_client_role EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 OTHERS = 4.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FTR_TRCUT_CAL_UPLOAD or its description.