SAP Reports / Programs

WFCS_SYNTH_HDATA_GENERATE SAP ABAP Report - Sales Forecast: Create Test Data for WFCS_WRFT







WFCS_SYNTH_HDATA_GENERATE 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 WFCS_SYNTH_HDATA_GENERATE 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 WFCS_SYNTH_HDATA_GENERATE. "Basic submit
SUBMIT WFCS_SYNTH_HDATA_GENERATE AND RETURN. "Return to original report after report execution complete
SUBMIT WFCS_SYNTH_HDATA_GENERATE 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: SEL_WERK = D .
Selection Text: SEL_PKZ = D .
Selection Text: SEL_PIV = D .
Selection Text: SEL_MAT = D .
Selection Text: SELMATKL = D .
Selection Text: SEL_SIMU = Simulation mode
Selection Text: SEL_SCT = Additional dispersion
Selection Text: SEL_PRD = Period
Selection Text: SEL_PDAT = Last time series date
Selection Text: SEL_NUM = No. of time series values
Selection Text: SEL_NREL = Noise (% of total signal)
Selection Text: SEL_NMAX = Maximum number
Selection Text: SEL_NABS = Absolute noise
Selection Text: SEL_GRAD = Increase
Selection Text: SEL_DSP = Display time series
Selection Text: SEL_AMP = Amplitude
Selection Text: SELHCOPY = Forecast value = consum. value
Selection Text: SELCONST = Constant
Title: Sales Forecast: Create Test Data for WFCS_WRFT
Text Symbol: PLD = Time series: period settings
Text Symbol: PL2 = Time series: signal parameters
Text Symbol: BLD = Delete forecasting results
Text Symbol: BL9 = Technical settings
Text Symbol: BL5 = Control Parameters
Text Symbol: BL3 = Forecasting worklist: forecasting master data
Text Symbol: BL2 = Log functions
Text Symbol: BL1 = Last forecasting date
Text Symbol: BL0 = Forecasting worklist: material master data
Text Symbol: 002 = Do you want to save?
Text Symbol: 001 = Do you want to proceed?


INCLUDES used within this REPORT WFCS_SYNTH_HDATA_GENERATE

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:

WFCS_CHECK_MANDT CALL FUNCTION 'WFCS_CHECK_MANDT' CHANGING pe_is_productive_mandt = g_flag EXCEPTIONS error_t000_read = 1 OTHERS = 2.

WFCS_WLOAD_WERKS_VALID_GET_M CALL FUNCTION 'WFCS_WLOAD_WERKS_VALID_GET_M' TABLES ti_sel_werks = sel_werk te_werks = gt_pre15.

WFCS_WLOAD_GET_FOR_WERKS_M CALL FUNCTION 'WFCS_WLOAD_GET_FOR_WERKS_M' EXPORTING pi_werks = g_werks TABLES ti_sel_matnr = sel_mat ti_sel_perkz = gt_sel_perkz ti_sel_periv = gt_sel_periv ti_sel_matkl = selmatkl te_pre01 = gt_pre012 EXCEPTIONS no_key = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_buffer_active = wfcst_ctrue i_callback_program = g_repid i_structure_name = 'PRE01' TABLES t_outtab = gt_pre01 EXCEPTIONS program_error = 1 OTHERS = 2.

WFCS_POPUP_YES_NO CALL FUNCTION 'WFCS_POPUP_YES_NO' EXPORTING pi_ui_popup_text = g_popup_text CHANGING pe_answer = g_answer EXCEPTIONS error_using_popup = 0 OTHERS = 0.

WFCS_TIMSER_BUFFER_GET_M_ABS CALL FUNCTION 'WFCS_TIMSER_BUFFER_GET_M_ABS' EXPORTING pi_dat_from = sel_pdat pi_peran = g_peran * PI_OFFSET = 0 * PI_DIRECTION = 'H' pi_perkz = sel_pkz pi_periv = sel_piv pi_fabkl = g_fabkl TABLES te_timebucket = gt_timebucket EXCEPTIONS error_buffer_get = 1 periv_invalid = 2 perkz_invalid = 3 date_invalid = 4 fabkl_invalid = 5 unspecified_error = 6 OTHERS = 7.

WFCS_SIGNAL_GENERATE CALL FUNCTION 'WFCS_SIGNAL_GENERATE' EXPORTING pi_number = sel_num pi_constant = selconst pi_gradient = sel_grad pi_amplitude = sel_amp pi_period = sel_prd pi_period_offset = 0 pi_noise_relative = sel_nrel pi_noise_absolut = sel_nabs pi_scatter = sel_sct pi_display = sel_dsp TABLES ti_timebucket = gt_timebucket te_q_series = gt_q_series.

WFCS_POPUP_YES_NO CALL FUNCTION 'WFCS_POPUP_YES_NO' EXPORTING pi_ui_popup_text = g_popup_text CHANGING pe_answer = g_answer EXCEPTIONS error_using_popup = 0 OTHERS = 0.



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