SAP Reports / Programs | Knowledge Management | Knowledge Warehouse(KM-KW) SAP KM

KWSTAT_SCHEDUL_F01 SAP ABAP INCLUDE - KWSTATSCHEDULF01







KWSTAT_SCHEDUL_F01 is a standard ABAP INCLUDE 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 KWSTAT_SCHEDUL_F01 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 KWSTAT_SCHEDUL_F01. "Basic submit
SUBMIT KWSTAT_SCHEDUL_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT KWSTAT_SCHEDUL_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT KWSTAT_SCHEDUL_F01

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:

IW_C_USER_CONTEXT_GET CALL FUNCTION 'IW_C_USER_CONTEXT_GET' EXPORTING area = 'IWBMISC' IMPORTING src_langu = g_src_langu extension = g_ext rel = g_rel TABLES context = g_context EXCEPTIONS no_context_info_found = 1 OTHERS = 2.

IW_C_USER_CONTEXT_SET CALL FUNCTION 'IW_C_USER_CONTEXT_SET' EXPORTING area = 'IWBMISC' TABLES context = g_context_in_tmp.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = g_retfield dynpprog = dynpprog dynpnr = dynpnr dynprofield = g_dynprofield window_title = g_dynprotitl value_org = 'S' multiple_choice = g_multichoice display = 'F' * IMPORTING * user_reset = g_userreset TABLES value_tab = field_tab = return_tab = g_return_tab dynpfld_mapping = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = P_JOB_NAME IMPORTING JOBCOUNT = P_JOBCOUNT EXCEPTIONS CANT_CREATE_JOB = 1 INVALID_JOB_DATA = 2 JOBNAME_MISSING = 3.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING CALENDAR_ID = P_START_DATE-CALENDARID EVENT_ID = P_START_DATE-EVENTID EVENT_PARAM = P_START_DATE-EVENTPARM EVENT_PERIODIC = P_START_DATE-PERIODIC JOBCOUNT = P_JOBCOUNT JOBNAME = P_JOB_NAME LASTSTRTDT = P_START_DATE-LASTSTRTDT LASTSTRTTM = P_START_DATE-LASTSTRTTM PRDDAYS = P_START_DATE-PRDDAYS PRDHOURS = P_START_DATE-PRDHOURS PRDMINS = P_START_DATE-PRDMINS PRDMONTHS = P_START_DATE-PRDMONTHS PRDWEEKS = P_START_DATE-PRDWEEKS PREDJOB_CHECKSTAT = P_START_DATE-CHECKSTAT PRED_JOBCOUNT = P_START_DATE-PREDJOBCNT PRED_JOBNAME = P_START_DATE-PREDJOB SDLSTRTDT = P_START_DATE-SDLSTRTDT SDLSTRTTM = P_START_DATE-SDLSTRTTM STARTDATE_RESTRICTION = P_START_DATE-PRDBEHAV STRTIMMED = P_START_IMMEDIATE TARGETSYSTEM = P_START_DATE-INSTNAME START_ON_WORKDAY_NOT_BEFORE = P_START_DATE-NOTBEFORE START_ON_WORKDAY_NR = P_START_DATE-WDAYNO WORKDAY_COUNT_DIRECTION = P_START_DATE-WDAYCDIR IMPORTING JOB_WAS_RELEASED = P_JOB_RELEASED EXCEPTIONS CANT_START_IMMEDIATE = 1 INVALID_STARTDATE = 2 JOBNAME_MISSING = 3 JOB_CLOSE_FAILED = 4 JOB_NOSTEPS = 5 JOB_NOTEX = 6 LOCK_FAILED = 7.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING JOBCOUNT = P_JOBCOUNT JOBNAME = P_JOB_NAME EXCEPTIONS CANT_DELETE_EVENT_ENTRY = 1 CANT_DELETE_JOB = 2 CANT_DELETE_JOBLOG = 3 CANT_DELETE_STEPS = 4 CANT_DELETE_TIME_ENTRY = 5 CANT_DERELEASE_SUCCESSOR = 6 CANT_ENQ_PREDECESSOR = 7 CANT_ENQ_SUCCESSOR = 8 CANT_ENQ_TBTCO_ENTRY = 9 CANT_UPDATE_PREDECESSOR = 10 CANT_UPDATE_SUCCESSOR = 11 COMMIT_FAILED = 12 JOBCOUNT_MISSING = 13 JOBNAME_MISSING = 14 JOB_DOES_NOT_EXIST = 15 JOB_IS_ALREADY_RUNNING = 16 NO_DELETE_AUTHORITY = 17 OTHERS = 18.

BP_JOB_STATUS_GET CALL FUNCTION 'BP_JOB_STATUS_GET' EXPORTING JOBCOUNT = h_JobCnt JOBNAME = h_JobName IMPORTING STATUS = h_Status EXCEPTIONS JOB_DOESNT_EXIST = 1 UNKNOWN_ERROR = 2 PARENT_CHILD_INCONSISTENCY = 3 OTHERS = 4.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = ICO info = TOOLTIP add_stdinf = ' ' IMPORTING result = ICO_1.



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