SAP Reports / Programs

WFMTM_RPT_TOR_CORE_UPLOAD SAP ABAP Report - Import Time Off Request from WFD Core to MS WFD







WFMTM_RPT_TOR_CORE_UPLOAD 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 import time data, which is imported from HCM, from WFD Core...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 WFMTM_RPT_TOR_CORE_UPLOAD 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 WFMTM_RPT_TOR_CORE_UPLOAD. "Basic submit
SUBMIT WFMTM_RPT_TOR_CORE_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT WFMTM_RPT_TOR_CORE_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_AWTYP = WFD Application Category
Selection Text: P_DEL = Delete TimeOff Request
Selection Text: P_ED = End Date
Selection Text: P_SD = Start Date
Selection Text: P_SYS = Source Logical System
Selection Text: P_TEST = Simulate Uploading
Selection Text: P_TZONE = Time Zone of Source System
Selection Text: S_EE = Business Partner
Selection Text: S_HR = HR Status
Selection Text: S_ORG = Organization Unit
Title: Import Time Off Request from WFD Core to MS WFD
Text Symbol: 100 = Selection


INCLUDES used within this REPORT WFMTM_RPT_TOR_CORE_UPLOAD

No INCLUDES are used within this REPORT code!


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:

WFM_ORG_TREE_GETLIST CALL FUNCTION 'WFM_ORG_TREE_GETLIST' EXPORTING iv_org_objid = lv_objid iv_start_date = p_sd iv_end_date = p_ed IMPORTING et_org_tree = lt_org_tree es_return = ls_return.

BUPA_NUMBERS_GET CALL FUNCTION 'BUPA_NUMBERS_GET' EXPORTING iv_partner = ls_ee-partner IMPORTING ev_partner_guid = lv_partner_guid.

WFM_ABSTYP_GETLIST CALL FUNCTION 'WFM_ABSTYP_GETLIST' EXPORTING is_header = ls_absheader IMPORTING et_abstype_names = lt_absname.

WFM_ABSTYP_GETLIST CALL FUNCTION 'WFM_ABSTYP_GETLIST' EXPORTING is_header = ls_absheader IMPORTING et_abstype_names = lt_absname.

WFD_RES_GET_TIMESPEC_IR CALL FUNCTION 'WFD_RES_GET_TIMESPEC_IR' EXPORTING i_logsys = p_sys i_awtyp = p_awtyp i_beg_tstmp = ls_timints-beg_tstmp i_end_tstmp = ls_timints-end_tstmp i_include_worktime = 'X' i_include_capa = 'X' it_resource_key = lt_resource_key it_timespec_types = lt_timespec_tab IMPORTING et_resource_timespec = lt_resource_timespec et_invalid_resources = lt_invalid_resources.

TIMESTAMP_DURATION_DETERMINE CALL FUNCTION 'TIMESTAMP_DURATION_DETERMINE' EXPORTING timestamp1 = ls_timeint_list-beg_tstmp timestamp2 = ls_timeint_list-end_tstmp timezone = p_tzone unit = 'TAG' IMPORTING duration = lv_duration EXCEPTIONS timestamp_error = 1 OTHERS = 2.

TIMESTAMP_DURATION_DETERMINE CALL FUNCTION 'TIMESTAMP_DURATION_DETERMINE' EXPORTING timestamp1 = ls_resource_timespec-valid_from timestamp2 = ls_resource_timespec-valid_to timezone = p_tzone unit = 'H ' IMPORTING duration = ls_timeoffreq-paid_hours EXCEPTIONS timestamp_error = 1 OTHERS = 2.

WFM_TIMEOFFREQ_MODIFY CALL FUNCTION 'WFM_TIMEOFFREQ_MODIFY' EXPORTING it_timeoffreq = lt_timeoffreq_del IMPORTING es_return = ls_return.

WFM_TIMEOFFREQ_MODIFY CALL FUNCTION 'WFM_TIMEOFFREQ_MODIFY' EXPORTING it_timeoffreq = lt_timeoffreq IMPORTING es_return = ls_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 WFMTM_RPT_TOR_CORE_UPLOAD or its description.