SAP Reports / Programs

WFM_SCHED_CORE_CHECK SAP ABAP Report - Consistency Check for Core Integration







WFM_SCHED_CORE_CHECK 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 WFM_SCHED_CORE_CHECK 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 WFM_SCHED_CORE_CHECK. "Basic submit
SUBMIT WFM_SCHED_CORE_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT WFM_SCHED_CORE_CHECK 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_GUID =
Title: Consistency Check for Core Integration
Text Symbol: A13 = Resource key
Text Symbol: A12 = Name
Text Symbol: A11 = Partner
Text Symbol: A10 = Org.
Text Symbol: A09 = Demand String
Text Symbol: A08 = Volume
Text Symbol: A07 = Time To
Text Symbol: A06 = Date To
Text Symbol: A05 = Time From
Text Symbol: A04 = Date From
Text Symbol: A03 = ID
Text Symbol: A02 = Description
Text Symbol: A01 = Type
Text Symbol: 025 = There are resources missing in WFD Server
Text Symbol: 024 = All resources exist in WFD Server
Text Symbol: 023 = Resource does not exist in WFD Server
Text Symbol: 022 = Check Resources (WFD Server)
Text Symbol: 021 = No schedule found for selection criteria
Text Symbol: 020 = No matching SHIFT_SG2 entry found for assignment
Text Symbol: 019 = Invalid demand key
Text Symbol: 018 = Invalid assignment key
Text Symbol: 017 = Invalid timespec key
Text Symbol: 016 = Exception
Text Symbol: 015 = Times in SHIFT_SG2
Text Symbol: 014 = Discrepancy
Text Symbol: 010 = Demand String
Text Symbol: 009 = to
Text Symbol: 008 = WFD Server Demand
Text Symbol: 007 = Organization
Text Symbol: 006 = Assignment
Text Symbol: 005 = Get Demand from WFD Server by:
Text Symbol: 004 = Timespec
Text Symbol: 003 = Demand-ID
Text Symbol: 002 = Schedule-ID
Text Symbol: 001 = Get Timespecs (Assignments) from WFD Server by:


INCLUDES used within this REPORT WFM_SCHED_CORE_CHECK

INCLUDE WFM_SCHED_CORE_CHECKTOP.




INCLUDE WFM_SCHED_CORE_CHECKF01.


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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

WFD_TIMESPCS_GET_DT CALL FUNCTION 'WFD_TIMESPCS_GET_DT' EXPORTING i_logsys = lv_logsys i_awtyp = lv_awtyp it_timespec_key = lt_timespec IMPORTING et_timespec = lt_result et_invalid_timespecs = lt_invalid et_return = lt_return.

WFD_ASSIGNMENT_GET_DETAIL CALL FUNCTION 'WFD_ASSIGNMENT_GET_DETAIL' EXPORTING i_logsys = lv_logsys i_awtyp = lv_awtyp it_assignment_key = lt_asgnmt IMPORTING et_assignment_detail = lt_asgnmt_r et_invalid_key = lt_inv_key et_return = lt_return.

WFD_DEMAND_GET_DETAIL CALL FUNCTION 'WFD_DEMAND_GET_DETAIL' EXPORTING i_logsys = lv_logsys i_awtyp = lv_awtyp i_demand_key = lv_demand IMPORTING et_demand_data = lt_demand et_invalid_demand_keys = lt_invalid et_return = lt_return.

TIMESTAMP_DURATION_DETERMINE CALL FUNCTION 'TIMESTAMP_DURATION_DETERMINE' EXPORTING timestamp1 = -start_validity timestamp2 = ls_capa-beg_tstmp timezone = 'UTC' unit = 'S' IMPORTING duration = lv_startqtr. "returns in second

WFD_DEMAND_GET_DETAIL CALL FUNCTION 'WFD_DEMAND_GET_DETAIL' EXPORTING i_logsys = lv_logsys i_awtyp = lv_awtyp i_demand_key = -demand_id IMPORTING et_demand_data = lt_demand et_invalid_demand_keys = lt_invalid et_return = lt_return.

TIMESTAMP_DURATION_DETERMINE CALL FUNCTION 'TIMESTAMP_DURATION_DETERMINE' EXPORTING timestamp1 = -start_validity timestamp2 = ls_capa-beg_tstmp timezone = 'UTC' unit = 'S' IMPORTING duration = lv_startqtr. "returns in second

BAPI_BUPA_GET_NUMBERS CALL FUNCTION 'BAPI_BUPA_GET_NUMBERS' EXPORTING businesspartner = lv_partner IMPORTING businesspartnerguidout = ls_alv-id TABLES return = lt_return.

BUPA_CENTRAL_GET_DETAIL CALL FUNCTION 'BUPA_CENTRAL_GET_DETAIL' EXPORTING iv_partner = lv_partner IMPORTING es_data_person = lv_partner_i.

WFD_RESOURCE_CHECK CALL FUNCTION 'WFD_RESOURCE_CHECK' EXPORTING i_logsys = lv_logsys i_awtyp = lv_awtyp it_resource = lt_guid IMPORTING et_invalid_resources = lt_guid_inv et_return = lt_return.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = 'WFM_SCHED_CORE_CHECK' "#EC NOTEXT i_callback_user_command = 'USER_COMMAND' "#EC NOTEXT is_layout = ls_layout it_fieldcat = lt_fc TABLES t_outtab = lt_alv EXCEPTIONS program_error = 1 OTHERS = 2.



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