SAP Reports / Programs

WFATM_RPT_TIMEDATA_FILE_GET SAP ABAP Report - Program WFMTM_RPT_TIMEDATA_FILE_GET







WFATM_RPT_TIMEDATA_FILE_GET is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to get time data from flat file, which can be download from HCM using report H00RSM_CLASS_TIMEDATA_DOWNLOAD...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


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 WFATM_RPT_TIMEDATA_FILE_GET. "Basic submit
SUBMIT WFATM_RPT_TIMEDATA_FILE_GET AND RETURN. "Return to original report after report execution complete
SUBMIT WFATM_RPT_TIMEDATA_FILE_GET 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_DELI = Delimiter
Selection Text: P_DIALOG = Open File Select Dialog Window
Selection Text: P_FILE = File Name
Selection Text: P_HEADNO = Number of Header Line
Title: Program WFMTM_RPT_TIMEDATA_FILE_GET
Text Symbol: 100 = Open dialog window when uploading file manually
Text Symbol: 101 = or Supress dialog window when uploading file in background
Text Symbol: 102 = File Format
Text Symbol: 103 = Evaluated time data has been processed. Double click to check application log.


INCLUDES used within this REPORT WFATM_RPT_TIMEDATA_FILE_GET

INCLUDE WFATM_RPT_TIMEDATA_FILE_GETF01.


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:

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_file_name filetype = 'ASC' has_field_separator = 'X' TABLES data_tab = lt_line 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.

CONVERT_DATE_TO_INTERNAL CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL' EXPORTING date_external = lv_date IMPORTING date_internal = ls_tim-validitydate EXCEPTIONS date_external_is_invalid = 1 OTHERS = 2.

WFA_ACTUAL_SEGMENT_IMPORT CALL FUNCTION 'WFA_ACTUAL_SEGMENT_IMPORT' EXPORTING is_header = ls_header it_actual_shift_seg = lt_actual_shift_seg it_actual_benefits = lt_actual_benefits iv_actualpayroll = '' it_actual_summary = lt_actual_summary iv_simulate_flag = '' IMPORTING et_return = lt_return.



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 WFATM_RPT_TIMEDATA_FILE_GET or its description.