WFD_TIMESTREAM_SYNC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this program the availability of the resource can be synchronized to the time stream, which is used do performing capacity calculations and scheduling...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 WFD_TIMESTREAM_SYNC into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_FORCE = Force Synchronization
Title: Synchronize Resource Availability to Time stream for Scheduling
Text Symbol: END = end
Text Symbol: HST = Synchronization History
Text Symbol: NCS = No change of synchronization period
Text Symbol: RSC = resources synchronizied
Text Symbol: SPE = synchronization period end
Text Symbol: SPN = New Synchronization Period start
Text Symbol: SPO = Old Synchronization Period start
Text Symbol: SPS = synchronization period start
Text Symbol: STM = synchronization time
Text Symbol: SYN = New synchronization:
Text Symbol: SYO = Old synchronization:
Text Symbol: USR = user
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = g_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.
ENQUEUE_/SAPAPO/ELRPCONF CALL FUNCTION 'ENQUEUE_/SAPAPO/ELRPCONF' EXPORTING mode_/sapapo/lrpdstl = 'E' mandt = sy-mandt * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
WFD_TIMESTREAM_SYNC CALL FUNCTION 'WFD_TIMESTREAM_SYNC' EXPORTING i_logsys = g_logsys i_awtyp = 'LRP' it_resource_key = lt_res_block IMPORTING et_return = gt_return.
WFD_TRANSACTION_COMMIT CALL FUNCTION 'WFD_TRANSACTION_COMMIT' IMPORTING et_return = gt_return EXCEPTIONS transaction_error = 1 OTHERS = 2.
WFD_RES_GET_ALL CALL FUNCTION 'WFD_RES_GET_ALL' EXPORTING i_logsys = g_logsys i_awtyp = 'LRP' i_resource_type = ls_res_type IMPORTING et_resource_keys = lt_res_list et_return = gt_return.
TSTRM_SYNC_PERIOD_HELPER CALL FUNCTION 'TSTRM_SYNC_PERIOD_HELPER' EXPORTING i_tstrm_projfr = ls_tstrm_projfr IMPORTING e_start = e_start e_end = e_end.
BAL_DSP_LOG_DISPLAY * CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' LOOP AT gt_return INTO ls_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WFD_TIMESTREAM_SYNC - Synchronize Resource Availability to Time stream for Scheduling WFD_TIMESTREAM_SYNC - Synchronize Resource Availability to Time stream for Scheduling WFD_TEST_FREE_TIME - Report WFD_TEST_FREE_TIME WFD_TEST_FREE_TIME - Report WFD_TEST_FREE_TIME WFD_TEST_ALERT - Program WFD_TEST_ALERT WFD_TEST_ALERT - Program WFD_TEST_ALERT