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

KW_CONTENT_DELETION_F01 SAP ABAP INCLUDE - KWCONTENTDELETIONF01







KW_CONTENT_DELETION_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 KW_CONTENT_DELETION_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 KW_CONTENT_DELETION_F01. "Basic submit
SUBMIT KW_CONTENT_DELETION_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT KW_CONTENT_DELETION_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 KW_CONTENT_DELETION_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:

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = sy-dynnr TABLES fieldvalues = lt_fieldvalues.

RS_SELECTIONSCREEN_READ CALL FUNCTION 'RS_SELECTIONSCREEN_READ' EXPORTING program = sy-repid dynnr = sy-dynnr TABLES fieldvalues = lt_fieldvalues.

BP_START_DATE_EDITOR CALL FUNCTION 'BP_START_DATE_EDITOR' EXPORTING stdt_dialog = btc_yes stdt_input = p_start_date stdt_opcode = btc_edit_startdate IMPORTING stdt_modify_type = h_stdt_modify_type stdt_output = p_start_date EXCEPTIONS fcal_id_not_defined = 1 incomplete_last_startdate = 2 incomplete_startdate = 3 invalid_dialog_type = 4 invalid_eventid = 5 invalid_opcode = 6 invalid_opmode_name = 7 invalid_periodbehaviour = 8 invalid_predecessor_jobname = 9 last_startdate_in_the_past = 10 no_period_data_given = 11 no_startdate_given = 12 period_and_predjob_no_way = 13 period_too_small_for_limit = 14 predecessor_jobname_not_unique = 15 startdate_interval_too_large = 16 startdate_in_the_past = 17 startdate_is_a_holiday = 18 startdate_out_of_fcal_range = 19 stdt_before_holiday_in_past = 20 unknown_fcal_error_occured = 21 no_workday_nr_given = 22 invalid_workday_countdir = 23 invalid_workday_nr = 24 notbefore_stdt_missing = 25 workday_starttime_missing = 26 OTHERS = 27.

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.

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.

IWB_ENTRY_GET CALL FUNCTION 'IWB_ENTRY_GET' IMPORTING entry = ls_object.

INFO_OBJECTS_FOLDER_GET CALL FUNCTION 'INFO_OBJECTS_FOLDER_GET' TABLES info_objects = lt_objects[] result = lt_io_folders.

IW_C_MACROTEMPLATE_FOLDER_GET CALL FUNCTION 'IW_C_MACROTEMPLATE_FOLDER_GET' IMPORTING folder = ls_object.

INFO_OBJECT_QUERY CALL FUNCTION 'INFO_OBJECT_QUERY' EXPORTING area = p_area * SUPPRESS_AUTHORITY_CHECK = 'X' TABLES context = pt_context query = lt_query result = lt_objects[].

INFO_OBJECTS_FOLDER_GET CALL FUNCTION 'INFO_OBJECTS_FOLDER_GET' TABLES info_objects = lt_objects[] result = lt_io_folders.

IW_C_TEMPLATE_FOLDER_GET CALL FUNCTION 'IW_C_TEMPLATE_FOLDER_GET' EXPORTING area = p_area IMPORTING folder = ls_object.

ENQUEUE_READ CALL FUNCTION 'ENQUEUE_READ' EXPORTING * GCLIENT = SY-MANDT gname = 'TRDIR' garg = pv_report_name guname = lv_name * LOCAL = ' ' * FAST = ' ' IMPORTING * NUMBER = subrc = lv_subrc TABLES enq = lt_enq EXCEPTIONS communication_failure = 1 system_failure = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = p_titlebar * DIAGNOSE_OBJECT = ' ' text_question = p_question text_button_1 = p_button1 * ICON_BUTTON_1 = ' ' text_button_2 = p_button2 * ICON_BUTTON_2 = ' ' default_button = p_def_button display_cancel_button = p_cancel_button * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = iv_quickinfo_button_1 = p_quickinfo_button1 iv_quickinfo_button_2 = p_quickinfo_button2 IMPORTING answer = p_answer * TABLES * PARAMETER = EXCEPTIONS text_not_found = 1 OTHERS = 2.

DEQUEUE_EKW_REPORTS CALL FUNCTION 'DEQUEUE_EKW_REPORTS' EXPORTING * MODE_TRDIR = 'X' name = lv_rep_name * X_NAME = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .

SDOK_LOIOS_PROPERTIES_GET CALL FUNCTION 'SDOK_LOIOS_PROPERTIES_GET' TABLES object_list = it_exc_folders[] PROPERTIES_REQUEST = lt_req_PROPERTIES[] properties = lt_PROPERTIES[].



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