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

KW_FOLDER_REPORTS SAP ABAP Report - Evaluation of History Tables







KW_FOLDER_REPORTS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report identifies the transport requests associated with the KW content deletion report (KW_CONTENT_DELETION or transaction KW_IO_DEL)...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 KW_FOLDER_REPORTS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

KW_IO_DEL_TR - Requests for Deleted Contents


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_FOLDER_REPORTS. "Basic submit
SUBMIT KW_FOLDER_REPORTS AND RETURN. "Return to original report after report execution complete
SUBMIT KW_FOLDER_REPORTS 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: COUNTRY = D .
Selection Text: TRAN_REQ = Transport Request
Selection Text: ST_CONT = Standard Context
Selection Text: SAVE = Save
Selection Text: SADE = Save and Delete
Selection Text: RELEASE = Release
Selection Text: M_TEST = Results from Test Mode Only
Selection Text: M_DEL = Results from Delete Mode Only
Selection Text: M_BOTH = Results from Both Modes
Selection Text: LANGUAGE = Language
Selection Text: IND_REL = Enhancement Release
Selection Text: INDUSTRY = Enhancement
Selection Text: FILL = Fill
Selection Text: FILENAMT = File Name
Selection Text: FILENAME = File Name
Selection Text: FILENAM = File Name
Selection Text: ENH_CONT = Enhancement Context
Selection Text: DELE = Delete
Title: Evaluation of History Tables
Text Symbol: 018 = Mode
Text Symbol: 017 = try again later
Text Symbol: 016 = Report already started by user;
Text Symbol: 015 = Transport Request
Text Symbol: 014 = Request
Text Symbol: 013 = Info Objects Without a Tranport Request:
Text Symbol: 012 = Transport Requests Found:
Text Symbol: 011 = Details
Text Symbol: 010 = Results of Deletion Report for KW Contents
Text Symbol: 009 = Enhancement Context
Text Symbol: 008 = Standard Context
Text Symbol: 007 = Context:
Text Symbol: 003 = Fill the Folder Tables with Results from the Reorganization Table:
Text Symbol: 002 = File extension is 'TXT'.
Text Symbol: 001 = Settings:


INCLUDES used within this REPORT KW_FOLDER_REPORTS

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:

IWB_AUTHORITY_CHECK CALL FUNCTION 'IWB_AUTHORITY_CHECK' EXPORTING * area = function = c_auth_support EXCEPTIONS no_authority = 1 OTHERS = 2.

TIWB_TEST_USER_CHECK CALL FUNCTION 'TIWB_TEST_USER_CHECK' EXPORTING FCT_NAME = c_auth_support EXCEPTIONS NO_AUTHORIZATION = 1 FCT_NAME_NOT_FOUND = 2 OTHERS = 3.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = '%_00' p_program = 'RSSYSTDB' TABLES p_exclude = lt_exc_fcode.

ENQUEUE_EKW_REPORTS CALL FUNCTION 'ENQUEUE_EKW_REPORTS' EXPORTING * MODE_TRDIR = 'X' name = lv_rep_name * X_NAME = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

SDOK_LOIOS_PROPERTIES_GET * CALL FUNCTION 'SDOK_LOIOS_PROPERTIES_GET' ** EXPORTING ** X_SUPPRESS_SYS_PROP = ** X_PC_PROPERTIES_ONLY = ** X_EXTERNAL_FORMAT = ** CLIENT = SY-MANDT * TABLES * object_list = lt_loios * properties_request = lt_requested_properties * properties = lt_properties * bad_objects = lt_bad_objects.

IW_C_CLASS_PROPERTIES_GET * CALL FUNCTION 'IW_C_CLASS_PROPERTIES_GET' * EXPORTING * class = lv_class ** IMPORTING ** ERROR_MSG = * TABLES * properties = lt_class_prop.

IW_C_FOLDER_CLASS_GET * CALL FUNCTION 'IW_C_FOLDER_CLASS_GET' * EXPORTING * area = lv_area * IMPORTING * folder_class = lv_folder_class.

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.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'KW_FOLDER_REPORTS' i_internal_tabname = 'GT_OUTTAB' * i_structure_name = 'AUSG' i_client_never_display = 'X' i_inclname = 'KW_FOLDER_REPORTS' i_bypassing_buffer = 'X' i_buffer_active = ' ' CHANGING ct_fieldcat = gt_fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3. "#EC *

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = lv_save CHANGING cs_variant = ls_variant_tmp EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = lv_save CHANGING cs_variant = ls_variant_tmp EXCEPTIONS wrong_input = 1 not_found = 2 OTHERS = 3.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' "#EC * EXPORTING i_dialog = ' ' i_user_specific = 'X' * I_TABNAME_HEADER = C_TABNAME_HEADER * I_TABNAME_ITEM = C_TABNAME_ITEM it_default_fieldcat = gt_fieldcat[] i_layout = gs_layout IMPORTING et_fieldcat = gt_fieldcat[] CHANGING cs_variant = ls_variant es_layout = ls_layout EXCEPTIONS wrong_input = 1 fc_not_complete = 2 not_found = 3 program_error = 4 OTHERS = 5.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * i_buffer_active = p_buffer i_callback_program = 'KW_FOLDER_REPORTS' * i_structure_name = 'SFLIGHT' * i_callback_user_command = 'ALV_USER_COMMAND' * i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE' * i_callback_pf_status_set = 'SET_STATUS' is_layout = gs_layout * it_special_groups = gt_slis_sp_group_alv[] * it_sort = gt_sort[] * it_filter = gt_filter * I_SCREEN_START_COLUMN = 0 "Use coordinates for * I_SCREEN_START_LINE = 0 "display as dialog box * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 it_fieldcat = gt_fieldcat[] it_excluding = gt_extab[] i_save = lv_save is_variant = ls_variant it_events = lt_events[] * IMPORTING * e_exit_caused_by_caller = g_exit_caused_by_caller * es_exit_caused_by_user = gs_exit_caused_by_user TABLES t_outtab = gt_outtab EXCEPTIONS OTHERS = 0.

IO_C_TRANSPORT_KEYS_GET CALL FUNCTION 'IO_C_TRANSPORT_KEYS_GET' TABLES info_objects = pt_objects transport_obj = lt_tr_obj transport_obj_keys = lt_tr_obj_keys.

IWB_FOLDER_IA_SELECT CALL FUNCTION 'IWB_FOLDER_IA_SELECT' * EXPORTING * SEL_ONLY_ONE_ENTRY = ' ' IMPORTING action = lv_action TABLES info_objects = lt_objects * PROPERTIES = selected_folders = pt_folders * CONTEXT = .



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