WFAFC_HIST_SAMPLE_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program will delete Actual Historical Data from WFM Forecasting...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 WFAFC_HIST_SAMPLE_DELETE 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_LOC = D .
Title: WFM: Delete Sample Actual Historical Data
Text Symbol: 001 = Archiving Object CA_WFA_FCA exists, do you still want to continue with the delete?
Text Symbol: 002 = Yes
Text Symbol: 003 = No
Text Symbol: T01 = Delete Sample Historical Data
Text Symbol: T02 = Start Date (UTC)
INCLUDE WFA_SH_WFA_ERMS_LOCATION.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM . call function 'POPUP_TO_CONFIRM'
RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_plvar EXCEPTIONS no_active_plvar = 0 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WFAFC_HIST_SAMPLE_DELETE - WFM: Delete Sample Actual Historical Data WFAFC_HIST_SAMPLE_DELETE - WFM: Delete Sample Actual Historical Data WFAFC_FORPERIOD_READBYINDEX - Forecast Period Data WFAFC_FORPERIOD_READBYINDEX - Forecast Period Data WFAFC_FORPERIOD_ARCH_WRITE - Program WFAFC_FOR_ARCH_WRITE WFAFC_FORPERIOD_ARCH_WRITE - Program WFAFC_FOR_ARCH_WRITE